--- MITgcm/tools/build_options/linux_ia32_ifort 2004/09/21 19:51:10 1.4 +++ MITgcm/tools/build_options/linux_ia32_ifort 2006/06/07 01:20:27 1.13 @@ -7,12 +7,16 @@ # 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. - +# ph: use ifort compiler options -convert big_endian -assume byterecl FC=ifort -DEFINES='-D_BYTESWAPIO -DWORDLENGTH=1' +F90C=ifort +F90FIXEDFORMAT='-fixed -Tf' +DEFINES='-DWORDLENGTH=4' LINK='ifort -static' CPP='cpp -traditional -P' +INCLUDES='-I/ocean/data4/ce107/netcdf-3.6.1/Linux-i686-intel8/include' +LIBS='-L/ocean/data4/ce107/netcdf-3.6.1/Linux-i686-intel8/lib -lnetcdf' # Note that the -mp switch is for ieee "maintain precision" and is # roughly equivalent to -ieee @@ -20,9 +24,12 @@ FOPTIM='-O3 -align' #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' - FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' + FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' + F90FLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' else - FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' + FOPTIM='-O0 -noalign' + FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl' + #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' fi