/[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.2 by edhill, Mon Aug 9 03:04:24 2004 UTC revision 1.9 by heimbach, Thu Oct 13 18:56:59 2005 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
13  CPP='/lib/cpp  -traditional -P'  F90C=ifort
14    DEFINES='-DWORDLENGTH=4'
15    LINK='ifort -static'
16    CPP='cpp  -traditional -P'
17    INCLUDES='-I/usr/include/netcdf'
18    
19  #  Note that the -mp switch is for ieee "maintain precision" and is  #  Note that the -mp switch is for ieee "maintain precision" and is
20  #  roughly equivalent to -ieee  #  roughly equivalent to -ieee
21  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
22      FFLAGS='-132 -r8 -i4 -w95 -W0 -WB'      FOPTIM='-O3 -align'
23    #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
24    #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
25        FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
26  else  else
27      FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'      FOPTIM='-O0 -noalign'
28        FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
29       #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
30  fi  fi
31    
 FOPTIM='-O3 -align'  
 #P3  FOPTIM     = ( $FOPTIM '-tpp6 -xWKM' )  
 #P4  FOPTIM     = ( $FOPTIM '-tpp7 -xWKM' )  
   
 FC=ifort  
 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=1'  
 LINK='ifort -static'  
 LIBS='-lnetcdf'  
32    
33    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.22