[MITgcm-support] linux_ia32_ifort
Dimitris Menemenlis
menemenlis at jpl.nasa.gov
Mon Sep 27 14:26:10 EDT 2004
Ed, the following changes appear to be needed in linux_ia32_ifort
for ifort 8.0. Anyone else using ifort 8.0 succesfully with original
linux_ia32_ifort ?
D.
#!/bin/bash
#
# Ed Hill
#
# tested on faulks, 20030818
#
# Build options for the intel 8.0 fortran compiler
# the compiler is now called ifort (not ifc) and it appears to
# need -DWORDLENGTH=1 and not -DWORDLENGTH=4
# (which is what ifc 6.0) used to have.
CPP='/lib/cpp -traditional -P'
# Note that the -mp switch is for ieee "maintain precision" and is
# roughly equivalent to -ieee
if test "x$IEEE" = x ; then
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -assume byterecl'
else
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -assume byterecl'
fi
FOPTIM='-O3 -align'
#P3 FOPTIM = ( $FOPTIM '-tpp6 -xWKM' )
#P4 FOPTIM = ( $FOPTIM '-tpp7 -xWKM' )
FC=ifort
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4'
--
Dimitris Menemenlis <menemenlis at jpl.nasa.gov>
Jet Propulsion Lab, California Institute of Technology
MS 300-323, 4800 Oak Grove Dr, Pasadena CA 91109-8099
tel: 818-354-1656; fax: 818-393-6720
More information about the MITgcm-support
mailing list