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

Annotation of /MITgcm/tools/build_options/linux_ia32_ifort+authors_v9

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


Revision 1.4 - (hide annotations) (download)
Thu Apr 16 19:05:08 2009 UTC (15 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
merge linux_amd64_gfortran+mth into linux_amd64_gfortran
merge linux_ia32_ifort.v9+mth & linux_ia32_ifort+authors_v9
      into linux_ia32_ifort+authors
renamed linux_ia32_ifort.aces+mth to linux_ia32_ifort.aces
      and move OpenMP compiler option in OMPFLAG

1 edhill 1.1 #!/bin/bash
2     #
3 jmc 1.4 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort+authors_v9,v 1.3 2006/08/31 13:51:19 jmc Exp $
4 jmc 1.2 # $Name: $
5 edhill 1.1 #
6 jmc 1.2 # tested on hugo (FC.4), eddy (FC.5): 20060119
7 edhill 1.1 #
8 jmc 1.2 # Build options for the intel 9.0 fortran compiler
9 edhill 1.1 # the compiler is now called ifort (not ifc) and it appears to
10     # need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have.
11     # ph: use ifort compiler options -convert big_endian -assume byterecl
12    
13     FC=/usr/local/pkg/intel/intel_fc_90/bin/ifort
14     F90C=/usr/local/pkg/intel/intel_fc_90/bin/ifort
15     F90FIXEDFORMAT='-fixed -Tf'
16     DEFINES='-DWORDLENGTH=4'
17     LINK='/usr/local/pkg/intel/intel_fc_90/bin/ifort -i-static -no-ipo'
18     CPP='cpp -traditional -P'
19 jmc 1.2 INCLUDES='-I/usr/local/pkg/netcdf/netcdf-3.5.1/include'
20 edhill 1.1
21     # Note that the -mp switch is for ieee "maintain precision" and is
22     # roughly equivalent to -ieee
23     if test "x$IEEE" = x ; then
24     FOPTIM='-O3 -align'
25     #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
26     #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
27     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
30 jmc 1.3 FOPTIM='-O0 -noalign -check all'
31 edhill 1.1 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
34    

  ViewVC Help
Powered by ViewVC 1.1.22