9 |
# need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have. |
# need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have. |
10 |
# ph: use ifort compiler options -convert big_endian -assume byterecl |
# ph: use ifort compiler options -convert big_endian -assume byterecl |
11 |
|
|
12 |
FC=ifort |
FC=mpif90 |
13 |
F90C=ifort |
F90C=mpif90 |
14 |
DEFINES='-DWORDLENGTH=4' |
DEFINES='-DWORDLENGTH=4' |
15 |
LINK='ifort' |
LINK='ifort' |
16 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
17 |
#INCLUDES='-I/usr/include/netcdf' |
#INCLUDES='-I/usr/include/netcdf' |
18 |
|
|
19 |
INCLUDES='-I/opt/netcdf-3.6.0-p1/include -I/opt/mpich-1.2.7/include' |
INCLUDES='-I/opt/netcdf-3.6.0-p1/include -I/usr/local/topspin/mpi/mpich/include' |
20 |
LIBS='-L/opt/netcdf-3.6.0-p1/lib -L/opt/mpich-1.2.7/lib -L/usr/local/topspin/lib64 -lmpich -lvapi -lmtl_common -lmosal -lmpga' |
LIBS='-L/opt/netcdf-3.6.0-p1/lib -L/usr/local/topspin/mpi/mpich/lib64 -lmpich_i -lpthread' |
21 |
|
|
22 |
# Note that the -mp switch is for ieee "maintain precision" and is |
# Note that the -mp switch is for ieee "maintain precision" and is |
23 |
# roughly equivalent to -ieee |
# roughly equivalent to -ieee |
26 |
FOPTIM= |
FOPTIM= |
27 |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
28 |
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
29 |
FFLAGS='-132 -r8 -i4 -w95 -g -convert big_endian -assume byterecl' |
FFLAGS='-132 -r8 -i4 -w95 -convert big_endian -assume byterecl' |
30 |
else |
else |
31 |
FOPTIM='-O0 -noalign' |
FOPTIM='-O0 -noalign' |
32 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl' |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl' |
33 |
#FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
#FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
34 |
fi |
fi |
35 |
|
|
|
|
|
|
|
|
|
#if test "x$IEEE" = x ; then |
|
|
# FFLAGS='-Wimplicit -Wunused -Wuninitialized -fno-second-underscore' |
|
|
# FOPTIM='-O3 -funroll-loops' |
|
|
#else |
|
|
# FFLAGS='-Wimplicit -Wunused -ffloat-store' |
|
|
# FOPTIM='-O0 ' |
|
|
#fi |
|
|
|
|