Back to home page

MITgcm

 
 

    


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

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
1bdb4f561f Patr*0001 #!/bin/bash
                0002 #
                0003 #  Ed Hill
                0004 #
                0005 #  Build options for the intel 9 fortran compiler on MAC OS X
                0006 #  On Mac PoweBookPro OSX 10.4.8 with standard ifort
                0007 
                0008 CC=icc
                0009 FC=ifort
                0010 F90C=ifort
6144427bd2 Jean*0011 F90FIXEDFORMAT='-fixed -Tf'
1bdb4f561f Patr*0012 DEFINES='-DWORDLENGTH=4'
                0013 LINK='ifort'
                0014 CPP='cpp  -traditional -P'
                0015 INCLUDEDIRS='/sw/include'
                0016 INCLUDES='-I/sw/include'
                0017 LIBS='-L/sw/lib -lnetcdf'
                0018 #ph none of these work yet
                0019 #ph probably need to rebuild netcdf under ifort
                0020 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X"
                0021 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
                0022 
                0023 #  Note that the -mp switch is for ieee "maintain precision" and is
                0024 #  roughly equivalent to -ieee
                0025 if test "x$IEEE" = x ; then
                0026     FOPTIM='-O3 -align'
                0027     F90OPTIM='-O3'
                0028 #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
                0029 #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
                0030     FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
                0031     F90FLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
                0032 else
                0033     FOPTIM='-O0 -noalign'
                0034     F90OPTIM='-O0 -g'
                0035     FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
                0036    #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
                0037 fi
                0038 
                0039 
                0040