Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/linux_ia32_ifort9_ocean is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit 21f3180f on 2010-03-21 14:20:45 UTC
3815d8005e Jean*0001 #!/bin/bash
                0002 #
                0003 #  Ed Hill
                0004 #
                0005 #  tested on faulks, 20030818
                0006 #
                0007 #  Build options for the intel 8.0 fortran compiler
                0008 #  the compiler is now called ifort (not ifc) and it appears to
                0009 #  need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have.
                0010 
                0011 
                0012 FC=ifort
                0013 DEFINES='-DWORDLENGTH=4'
                0014 LINK='ifort -static'
                0015 CPP='cpp  -traditional -P'
                0016 INCLUDES='-I/ocean/data4/ce107/netcdf-3.6.0b6/include'
                0017 LIBS='-L/ocean/data4/ce107/netcdf-3.6.0b6/lib -lnetcdf'
                0018 
                0019 #  Note that the -mp switch is for ieee "maintain precision" and is
                0020 #  roughly equivalent to -ieee
                0021 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl -ftrapuv -fpconstant'
                0022 if test "x$IEEE" = x ; then
                0023     FOPTIM='-O3 -align'
                0024 else
                0025     FOPTIM='-O0 -noalign -xN -pc64' 
                0026 fi
                0027