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 meinesz.mit.edu (eaps6) |
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 |
# also switch to -DWORDLENGTH=1 |
15 |
# |
16 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=1' |
17 |
|
18 |
# These paths will likely change to newer versions of ifort |
19 |
# |
20 |
LIBS='-L/opt/intel_fc_80/lib -lmpi' |
21 |
FC=/opt/intel_fc_80/bin/ifort |
22 |
FFLAGS='-extend_source -O2 -tpp2 -ftz -fno-alias -fno-fnalias -convert big_endian' |
23 |
|
24 |
# FOPTIM='-O3 -align' |
25 |
# |
26 |
#P3 FOPTIM = ( $FOPTIM '-tpp6 -xWKM' ) |
27 |
#P4 FOPTIM = ( $FOPTIM '-tpp7 -xWKM' ) |