[MITgcm-support] linux_ia32_ifort

Patrick Heimbach heimbach at MIT.EDU
Tue Sep 28 08:20:46 EDT 2004


Hi,

> -----Original Message-----
> From: mitgcm-support-bounces at mitgcm.org 
> [mailto:mitgcm-support-bounces at mitgcm.org] On Behalf Of Martin Losch
> 
> BTW, I think the -D_BYTESWAPIO could be replaced by a compiler option
> -convert big_endian
> I haven't tried using this with the MITgcm yet, but with other 
> applications. I don't know if that's any faster than the 
> -D_BYTESWAPIO.

That's correct, '-convert big_endian'
is available from ifort 8 onwards and works fine.
(see e.g. linux_ia64_ifort+mpi_altix_gfdl).

-Patrick

> Martin
> 
> On Sep 27, 2004, at 8:26 PM, Dimitris Menemenlis wrote:
> 
> > 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
> > _______________________________________________
> > MITgcm-support mailing list
> > MITgcm-support at mitgcm.org
> > http://dev.mitgcm.org/mailman/listinfo/mitgcm-support
> 
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-support
> 




More information about the MITgcm-support mailing list