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

Diff of /MITgcm/tools/build_options/linux_ia32_ifort+oad

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

revision 1.1 by utke, Tue Jun 26 18:02:35 2007 UTC revision 1.7 by jmc, Sun Mar 21 18:01:13 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3    # $Header$
4    # $Name$
5    
6  #  Build options for the intel compiler with OpenAD  #  Build options for the intel compiler with OpenAD
7    
8  FC=ifort  FC=ifort
# Line 8  F90FIXEDFORMAT='-fixed -Tf' Line 11  F90FIXEDFORMAT='-fixed -Tf'
11  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
12  LINK='ifort -static'  LINK='ifort -static'
13  CPP='cpp  -traditional -P'  CPP='cpp  -traditional -P'
14  INCLUDES='-I/usr/local/pkg/netcdf/include'  INCLUDES=''
15  LIBS='-L/usr/local/pkg/netcdf/lib -lnetcdf'  LIBS=''
16    
 #  Note that the -mp switch is for ieee "maintain precision" and is  
 #  roughly equivalent to -ieee  
17  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
18      FOPTIM='-O0 -g'      F90OPTIM='-O3'
19        FOPTIM='-O3 -align'
20      FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'      FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
21  else  else
22      FOPTIM='-O0 -noalign'      F90OPTIM='-O0 -g'
23        FOPTIM='-O0 -g -noalign'
24      FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'      FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
25  fi  fi
26    
27  F90OPTIM=$(FOPTIM)  F90FLAGS=$FFLAGS
 F90FLAGS=$(FFLAGS)  
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22