/[MITgcm]/MITgcm/tools/build_options/linux_ia32_ifort
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_ia32_ifort

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3 by edhill, Sat Sep 18 16:09:44 2004 UTC revision 1.13 by heimbach, Wed Jun 7 01:20:27 2006 UTC
# Line 7  Line 7 
7  #  Build options for the intel 8.0 fortran compiler  #  Build options for the intel 8.0 fortran compiler
8  #  the compiler is now called ifort (not ifc) and it appears to  #  the compiler is now called ifort (not ifc) and it appears to
9  #  need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have.  #  need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have.
10    #  ph: use ifort compiler options -convert big_endian -assume byterecl
11    
12  FC=ifort  FC=ifort
13  DEFINES='-D_BYTESWAPIO -DWORDLENGTH=1'  F90C=ifort
14    F90FIXEDFORMAT='-fixed -Tf'
15    DEFINES='-DWORDLENGTH=4'
16  LINK='ifort -static'  LINK='ifort -static'
17  CPP='cpp  -traditional -P'  CPP='cpp  -traditional -P'
18    INCLUDES='-I/ocean/data4/ce107/netcdf-3.6.1/Linux-i686-intel8/include'
19    LIBS='-L/ocean/data4/ce107/netcdf-3.6.1/Linux-i686-intel8/lib -lnetcdf'
20    
21  #  Note that the -mp switch is for ieee "maintain precision" and is  #  Note that the -mp switch is for ieee "maintain precision" and is
22  #  roughly equivalent to -ieee  #  roughly equivalent to -ieee
# Line 20  if test "x$IEEE" = x ; then Line 24  if test "x$IEEE" = x ; then
24      FOPTIM='-O3 -align'      FOPTIM='-O3 -align'
25  #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'  #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
26  #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'  #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
27      FFLAGS='-132 -r8 -i4 -w95 -W0 -WB'      FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
28        F90FLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
29  else  else
30      FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'      FOPTIM='-O0 -noalign'
31        FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
32       #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
33  fi  fi
34    
 LIBS='-lnetcdf'  
35    
36    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.22