1 |
heimbach |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
|
|
# Ed Hill |
4 |
|
|
# |
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 |
6 |
|
|
# |
7 |
|
|
# adapted to GFDL's Itanium cluster |
8 |
|
|
# heimbach@mit.edu |
9 |
|
|
|
10 |
|
|
CPP='/lib/cpp -traditional -P' |
11 |
|
|
|
12 |
|
|
# the '-convert big_endian' is crucial on this platform |
13 |
|
|
# -D_BYTESWAPIO doesn't work |
14 |
|
|
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian' |
15 |
|
|
|
16 |
|
|
FOPTIM='-O3 -align' |
17 |
|
|
#P3 FOPTIM = ( $FOPTIM '-tpp6 -xWKM' ) |
18 |
|
|
#P4 FOPTIM = ( $FOPTIM '-tpp7 -xWKM' ) |
19 |
|
|
LIBS='-L/opt/ifort/8.0.044/lib -lmpi' |
20 |
|
|
|
21 |
|
|
FC=ifort |
22 |
|
|
|
23 |
|
|
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
24 |
|
|
|
25 |
|
|
# These paths will likely change to newer versions of ifort |
26 |
heimbach |
1.2 |
INCLUDES='-I/opt/ifort/8.0.044/include -I/opt/mpt/1.0-0/include/' |
27 |
|
|
INCLUDEDIRS='/opt/mpt/1.0-0/include/' |
28 |
heimbach |
1.3 |
MPIINCLUDEDIR='/opt/mpt/1.0-0/include/' |
29 |
|
|
MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h' |
30 |
|
|
MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h' |
31 |
|
|
|