7 |
# Build options for the intel 8.0 fortran compiler |
# Build options for the intel 8.0 fortran compiler |
8 |
# the compiler is now called ifort (not ifc) and it appears to |
# the compiler is now called ifort (not ifc) and it appears to |
9 |
# need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have. |
# need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have. |
10 |
|
# ph: use ifort compiler options -convert big_endian -assume byterecl |
11 |
|
|
12 |
FC=ifort |
FC=ifort |
13 |
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=1' |
DEFINES='-DWORDLENGTH=4' |
14 |
LINK='ifort -static' |
LINK='ifort -static' |
15 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
16 |
INCLUDES='-I/usr/include/netcdf' |
INCLUDES='-I/usr/include/netcdf' |
21 |
FOPTIM='-O3 -align' |
FOPTIM='-O3 -align' |
22 |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
23 |
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
24 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
25 |
else |
else |
26 |
FOPTIM='-O0 -noalign' |
FOPTIM='-O0 -noalign' |
27 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64' |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64' |