12 |
# the '-convert big_endian' is crucial on this platform |
# the '-convert big_endian' is crucial on this platform |
13 |
# -D_BYTESWAPIO doesn't work |
# -D_BYTESWAPIO doesn't work |
14 |
# also switch to -DWORDLENGTH=1 |
# also switch to -DWORDLENGTH=1 |
15 |
|
# replace WORDLENGTH=1 by assume byterecl |
16 |
# |
# |
17 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=1' |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
18 |
|
|
19 |
# These paths will likely change to newer versions of ifort |
# These paths will likely change to newer versions of ifort |
20 |
# |
# |
21 |
LIBS='-L/opt/intel_fc_80/lib -lmpi' |
LIBS='-L/opt/intel_fc_80/lib -lmpi' |
22 |
FC=/opt/intel_fc_80/bin/ifort |
FC=/opt/intel_fc_80/bin/ifort |
23 |
FFLAGS='-extend_source -O2 -tpp2 -ftz -fno-alias -fno-fnalias -convert big_endian' |
|
24 |
|
#ph( |
25 |
|
#ph o switching to columbia flags |
26 |
|
#ph o use ifort options -convert big_endian -assume byterecl |
27 |
|
#ph o add -Wl,-ldl flag to (temporarily?) resolve glibc(?) problem |
28 |
|
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -Wl,-ldl -convert big_endian -assume byterecl' |
29 |
|
###FFLAGS='-extend_source -O2 -tpp2 -ftz -fno-alias -fno-fnalias -convert big_endian -assume byterecl' |
30 |
|
|
31 |
# FOPTIM='-O3 -align' |
# FOPTIM='-O3 -align' |
32 |
# |
# |