4 |
# $Name$ |
# $Name$ |
5 |
|
|
6 |
# Used to run the testreport on pleiades with: |
# Used to run the testreport on pleiades with: |
7 |
# module load comp-intel/2012.0.032 mpi-sgi/mpt.2.06rp16 netcdf/4.0 |
# module load comp-intel/2015.0.090 mpi-sgi/mpt.2.11r13 netcdf/4.0 |
8 |
# works on all types of nodes |
# works on all types of nodes |
9 |
|
|
10 |
FC=ifort |
FC=ifort |
17 |
CFLAGS='-fPIC' |
CFLAGS='-fPIC' |
18 |
LDADD='-shared-intel' |
LDADD='-shared-intel' |
19 |
|
|
20 |
LIBS='-L/nasa/sgi/mpt/2.06rp16/lib -lmpi -L/nasa/netcdf/4.0/lib -lnetcdf' |
LIBS='-L/nasa/sgi/mpt/2.11r13/lib -lmpi -L/nasa/netcdf/4.0/lib -lnetcdf' |
21 |
INCLUDES='-I/nasa/sgi/mpt/2.06rp16/include -I/nasa/netcdf/4.0/include' |
INCLUDES='-I/nasa/sgi/mpt/2.11r13/include -I/nasa/netcdf/4.0/include' |
22 |
INCLUDEDIRS='/nasa/sgi/mpt/2.06rp16/include' |
#INCLUDEDIRS='/nasa/sgi/mpt/2.11r13/include' |
23 |
#- used for parallel (MPI) DIVA |
#- used for parallel (MPI) DIVA |
24 |
MPIINCLUDEDIR='/nasa/sgi/mpt/2.06rp16/include' |
#MPIINCLUDEDIR='/nasa/sgi/mpt/2.11r13/include' |
25 |
#MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h' |
#MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h' |
26 |
|
|
27 |
NOOPTFLAGS='-O1 -fp-model precise' |
#NOOPTFLAGS='-O1 -fp-model precise' |
28 |
|
NOOPTFLAGS='-O0' |
29 |
|
|
30 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
31 |
# No need for IEEE-754 |
# No need for IEEE-754 |
32 |
FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl -align" |
FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl -align" |
33 |
FOPTIM='-O2 -ip -fp-model precise -axAVX -xSSE4.1 -traceback -ftz' |
FOPTIM='-O2 -ipo -fp-model precise -axCORE-AVX2 -xSSE4.2 -traceback -ftz' |
34 |
NOOPTFILES='seaice_growth.F calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F' |
NOOPTFILES='seaice_growth.F calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F ini_parms.F' |
35 |
else |
else |
36 |
# Try to follow IEEE-754 |
# Try to follow IEEE-754 |
37 |
FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl -noalign" |
FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl -noalign" |