5 |
# tested on orion.jpl.nasa.gov (Linux orion 2.4.21-sgi230r7 #1 SMP Tue Oct 7 22:38:53 PDT 2003 ia64 unknown), 20031029 |
# tested on orion.jpl.nasa.gov (Linux orion 2.4.21-sgi230r7 #1 SMP Tue Oct 7 22:38:53 PDT 2003 ia64 unknown), 20031029 |
6 |
# |
# |
7 |
# adapted to GFDL's Itanium cluster |
# adapted to GFDL's Itanium cluster |
8 |
# heimbach@mit.edu |
# heimbach@mit.edu and baylor@mit.edu |
9 |
|
# |
10 |
|
# Will need to do module_load ifort.9.1.039 mpt-1.14 first |
11 |
|
|
12 |
CPP='/lib/cpp -traditional -P' |
CPP='/lib/cpp -traditional -P' |
13 |
|
|
15 |
# -D_BYTESWAPIO doesn't work |
# -D_BYTESWAPIO doesn't work |
16 |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian' |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian' |
17 |
|
|
18 |
FOPTIM='-O3 -align' |
FOPTIM='-O3 -align -ip' |
19 |
|
NOOPTFILES='ini_curvilinear_grid.F' |
20 |
|
NOOPTFLAGS='-O3' |
21 |
|
|
22 |
#P3 FOPTIM = ( $FOPTIM '-tpp6 -xWKM' ) |
#P3 FOPTIM = ( $FOPTIM '-tpp6 -xWKM' ) |
23 |
#P4 FOPTIM = ( $FOPTIM '-tpp7 -xWKM' ) |
#P4 FOPTIM = ( $FOPTIM '-tpp7 -xWKM' ) |
24 |
LIBS='-L/opt/ifort/8.0.044/lib -lmpi' |
LIBS='-lmpi -lnetcdf' |
25 |
|
|
26 |
FC=ifort |
FC=ifort |
27 |
|
# Using gcc instead of icc since this is how netcdf was compiled |
28 |
|
#CC=icc |
29 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
30 |
|
|
31 |
# These paths will likely change to newer versions of ifort |
#SKIP_NETCDF_CHECK=t |
32 |
INCLUDES='-I/opt/ifort/8.0.044/include -I/opt/mpt/1.0-0/include/' |
#HAVE_NETCDF=t |
|
INCLUDEDIRS='/opt/mpt/1.0-0/include/' |
|
|
MPIINCLUDEDIR='/opt/mpt/1.0-0/include/' |
|
|
MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h' |
|
|
MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h' |
|
33 |
|
|
34 |
|
# These paths will likely change to newer versions of ifort |
35 |
|
cpath=`echo $CPATH | sed 's/:/ -I/g'` |
36 |
|
INCLUDES="-I/usr/local/include -I$cpath" |
37 |
|
cpath=`echo $CPATH | sed 's/:/ /g'` |
38 |
|
INCLUDEDIRS="/usr/local/include $cpath" |
39 |
|
#LIBDIRS='/usr/local/lib' |
40 |
|
#MPIINCLUDEDIR='/opt/mpt/1.14/include' |
41 |
|
#MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h' |
42 |
|
#MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h' |