12 |
# |
# |
13 |
# will add /usr/local/pkg/ifc/ifc-8.0.034/lib to LD_LIBRARY_PATH |
# will add /usr/local/pkg/ifc/ifc-8.0.034/lib to LD_LIBRARY_PATH |
14 |
# which is needed by any executables generated with this optfile. |
# which is needed by any executables generated with this optfile. |
15 |
# The PBS -V option for exporting environment variables may also be |
# The PBS -V option for exporting environment variables <== does not work |
16 |
# helpful if you encounter missing-library problems. Or, |
# may also be helpful if you encounter missing-library problems. |
17 |
# alternatively, one may choose to link with one of the intel |
# Or, alternatively, one may choose to link with one of the intel |
18 |
# "-static" or "-i-static" flags. |
# "-static" or "-i-static" flags. |
19 |
|
|
20 |
|
|
27 |
|
|
28 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
29 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
30 |
|
EXTENDED_SRC_FLAG='-132' |
31 |
|
|
32 |
NOOPTFLAGS='-O0' |
NOOPTFLAGS='-O0' |
33 |
NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F' |
NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F' |
38 |
FOPTIM='-O3 -align' |
FOPTIM='-O3 -align' |
39 |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
40 |
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
41 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian' |
FFLAGS='-r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian' |
42 |
else |
else |
43 |
# FOPTIM='-O0 -noalign -CA -CB -CU -CV -CS' |
# FOPTIM='-O0 -noalign -CA -CB -CU -CV -CS' |
44 |
FOPTIM='-O0 -noalign' |
FOPTIM='-O0 -noalign -CB -CU -CV' |
45 |
# FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
FFLAGS='-r8 -i4 -w95 -W0 -WB -pc64 -xW -assume byterecl -convert big_endian' |
46 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -pc64 -xW -assume byterecl -convert big_endian' |
# FLAGS='-mp -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian' |
|
# FLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian' |
|
47 |
fi |
fi |
48 |
F90FLAGS=$FFLAGS |
F90FLAGS=$FFLAGS |
49 |
F90OPTIM=$FOPTIM |
F90OPTIM=$FOPTIM |