1 |
baylor |
1.2 |
|
2 |
baylor |
1.1 |
#!/bin/bash |
3 |
|
|
# |
4 |
|
|
# Ed Hill |
5 |
|
|
# |
6 |
|
|
# 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 |
7 |
|
|
# |
8 |
|
|
# adapted to GFDL's Itanium cluster |
9 |
|
|
# heimbach@mit.edu |
10 |
|
|
|
11 |
|
|
CPP='/lib/cpp -traditional -P' |
12 |
|
|
|
13 |
|
|
# the '-convert big_endian' is crucial on this platform |
14 |
|
|
# -D_BYTESWAPIO doesn't work |
15 |
|
|
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian' |
16 |
|
|
|
17 |
baylor |
1.2 |
FOPTIM='-O5 -align' |
18 |
|
|
NOOPTFILES='ini_curvilinear_grid.F' |
19 |
|
|
NOOPTFLAGS='-O3' |
20 |
|
|
|
21 |
baylor |
1.1 |
#P3 FOPTIM = ( $FOPTIM '-tpp6 -xWKM' ) |
22 |
|
|
#P4 FOPTIM = ( $FOPTIM '-tpp7 -xWKM' ) |
23 |
baylor |
1.2 |
LIBS='-L/opt/ifort/8.1.026/lib -lmpi -L/home/bfk/fortran/netcdf-3.6.0-p1/ic/lib -lnetcdf' |
24 |
baylor |
1.1 |
|
25 |
baylor |
1.2 |
FC='/opt/ifort/8.1.026/bin/ifort' |
26 |
|
|
CC='/opt/icc/8.1.030/bin/icc' |
27 |
baylor |
1.1 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
28 |
|
|
|
29 |
|
|
# These paths will likely change to newer versions of ifort |
30 |
baylor |
1.2 |
INCLUDES='-I/opt/ifort/8.1.026/include -I/home/bfk/fortran/netcdf-3.6.0-p1/ic/include' |
31 |
|
|
INCLUDEDIRS='/opt/ifort/8.1.026/include' |