~ubuntu-branches/ubuntu/trusty/nwchem/trusty-proposed

« back to all changes in this revision

Viewing changes to src/tools/ga-5-1/m4/ga_pario.m4

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Daniel Leidert, Andreas Tille, Michael Banck
  • Date: 2013-07-04 12:14:55 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130704121455-5tvsx2qabor3nrui
Tags: 6.3-1
* New upstream release.
* Fixes anisotropic properties (Closes: #696361).
* New features include:
  + Multi-reference coupled cluster (MRCC) approaches
  + Hybrid DFT calculations with short-range HF 
  + New density-functionals including Minnesota (M08, M11) and HSE hybrid
    functionals
  + X-ray absorption spectroscopy (XAS) with TDDFT
  + Analytical gradients for the COSMO solvation model
  + Transition densities from TDDFT 
  + DFT+U and Electron-Transfer (ET) methods for plane wave calculations
  + Exploitation of space group symmetry in plane wave geometry optimizations
  + Local density of states (LDOS) collective variable added to Metadynamics
  + Various new XC functionals added for plane wave calculations, including
    hybrid and range-corrected ones
  + Electric field gradients with relativistic corrections 
  + Nudged Elastic Band optimization method
  + Updated basis sets and ECPs 

[ Daniel Leidert ]
* debian/watch: Fixed.

[ Andreas Tille ]
* debian/upstream: References

[ Michael Banck ]
* debian/upstream (Name): New field.
* debian/patches/02_makefile_flags.patch: Refreshed.
* debian/patches/06_statfs_kfreebsd.patch: Likewise.
* debian/patches/07_ga_target_force_linux.patch: Likewise.
* debian/patches/05_avoid_inline_assembler.patch: Removed, no longer needed.
* debian/patches/09_backported_6.1.1_fixes.patch: Likewise.
* debian/control (Build-Depends): Added gfortran-4.7 and gcc-4.7.
* debian/patches/10_force_gcc-4.7.patch: New patch, explicitly sets
  gfortran-4.7 and gcc-4.7, fixes test suite hang with gcc-4.8 (Closes:
  #701328, #713262).
* debian/testsuite: Added tests for COSMO analytical gradients and MRCC.
* debian/rules (MRCC_METHODS): New variable, required to enable MRCC methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# ===========================================================================
2
 
#
3
 
# SYNOPSIS
4
 
#
5
 
#   GA_PARIO
6
 
#
7
 
# DESCRIPTION
8
 
#
9
 
#   This macro tries to find out how to compile pario.
10
 
#   This was converted from pario/makefile.h and pario/*/GNUmakefile
11
 
#   Defines the following precious variables
12
 
#   PARIO_CPPFLAGS
13
 
#   PARIO_LDFLAGS
14
 
#   PARIO_CFLAGS
15
 
#   PARIO_FFLAGS
16
 
#
17
 
 
18
 
AC_DEFUN([GA_PARIO], [
19
 
 
20
 
dnl ##########################################################################
21
 
dnl FROM pario/makefile.h
22
 
dnl ##########################################################################
23
 
OSNAME=`uname`
24
 
PARIO_CPPFLAGS=
25
 
if test x$OSNAME = xAIX ; then
26
 
  if /usr/bin/oslevel | awk -F. '{ if ($1 > 5 || ($1 == 5 && $2 > 1)) exit 0 }'
27
 
  then
28
 
    PARIO_CPPFLAGS="$PARIO_CPPFLAGS -DAIX52"
29
 
  fi
30
 
  if /usr/sbin/lsdev -C -l aio0 2>&1 | grep Legacy ; then
31
 
    PARIO_CPPFLAGS="$PARIO_CPPFLAGS -D_AIO_AIX_SOURCE"
32
 
  fi
33
 
fi
34
 
if test x$LARGE_FILES != x ; then
35
 
  if test x$OSNAME = xAIX ; then
36
 
    if /usr/bin/oslevel|awk -F. '{ if ($1 > 4 || ($1 == 4 && $2 > 1)) exit 0 }'
37
 
    then
38
 
      PARIO_CPPFLAGS="$PARIO_CPPFLAGS -D_LARGE_FILES -D_LARGE_FILE_API"
39
 
    fi
40
 
    if /usr/bin/oslevel|awk -F. '{ if ($1 == 4 && $2 == 2 && $3 <= 0 ) exit 0 }'
41
 
    then
42
 
      PARIO_CPPFLAGS="$PARIO_CPPFLAGS -DNOAIO"
43
 
    fi
44
 
  fi
45
 
  if test x$TARGET = xSOLARIS ; then
46
 
    PARIO_CPPFLAGS="$PARIO_CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
47
 
    PARIO_CFLAGS=`getconf LFS_CFLAGS`
48
 
  fi
49
 
  if test x$TARGET = xLINUX ; then
50
 
    PARIO_CPPFLAGS="$PARIO_CPPFLAGS -D_LARGEFILE64_SOURCE"
51
 
    PARIO_CFLAGS=`getconf LFS_CFLAGS`
52
 
  fi
53
 
  if test x$TARGET = xBGL -o x$TARGET = xBGP ; then
54
 
    PARIO_CPPFLAGS="$PARIO_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
55
 
  fi
56
 
  if test x$TARGET = xHPUX ; then
57
 
    PARIO_CPPFLAGS="$PARIO_CPPFLAGS -D_LARGEFILE64_SOURCE"
58
 
    PARIO_CFLAGS=`getconf XBS5_ILP32_OFFBIG_CFLAGS`
59
 
  fi
60
 
  if test x$TARGET = xHPUX64 ; then
61
 
    PARIO_CPPFLAGS="$PARIO_CPPFLAGS -D_LARGEFILE64_SOURCE"
62
 
    PARIO_CFLAGS=`getconf XBS5_LP64_OFF64_CFLAGS`
63
 
  fi
64
 
  PARIO_CPPFLAGS="$PARIO_CPPFLAGS -DLARGE_FILES"
65
 
fi
66
 
if test x$TARGET = xDECOSF ; then
67
 
  PARIO_LDFLAGS="-laio -lpthreads"
68
 
fi
69
 
if test x$USE_LINUXAIO != x ; then
70
 
  PARIO_CPPFLAGS="$PARIO_CPPFLAGS -DLINUXAIO"
71
 
  PARIO_LDFLAGS="$PARIO_LDFLAGS -lrt"
72
 
fi
73
 
 
74
 
dnl ##########################################################################
75
 
dnl FROM pario/elio/GNUmakefile
76
 
dnl ##########################################################################
77
 
 
78
 
dnl on platforms with Posix AIO you can choose not to use it by defining NOAIO
79
 
if test x$NOAIO != x ; then
80
 
  PARIO_CPPFLAGS="$PARIO_CPPFLAGS -DNOAIO"
81
 
fi
82
 
 
83
 
if test x$PABLO != x ; then
84
 
  PARIO_CPPFLAGS="$PARIO_CPPFLAGS -DPABLO"
85
 
fi
86
 
 
87
 
dnl ##########################################################################
88
 
dnl FROM pario/eaf/GNUmakefile
89
 
dnl ##########################################################################
90
 
PARIO_CPPFLAGS="$PARIO_CPPFLAGS -DEAF_STATS"
91
 
if test x$ga_armci_network = xPORTALS ; then
92
 
  PARIO_CPPFLAGS="$PARIO_CPPFLAGS -DCRAY_XT"
93
 
fi
94
 
 
95
 
dnl ##########################################################################
96
 
dnl FROM pario/dra/GNUmakefile
97
 
dnl ##########################################################################
98
 
if test x$F77 = xfrt ; then
99
 
  PARIO_FFLAGS=-O2
100
 
fi
101
 
 
102
 
dnl ##########################################################################
103
 
dnl FROM pario/sf/GNUmakefile
104
 
dnl ##########################################################################
105
 
dnl nothing
106
 
 
107
 
 
108
 
AC_SUBST([PARIO_CPPFLAGS])
109
 
AC_SUBST([PARIO_LDFLAGS])
110
 
AC_SUBST([PARIO_CFLAGS])
111
 
AC_SUBST([PARIO_FFLAGS])
112
 
 
113
 
])dnl GA_PARIO