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

Contents 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.2 - (show annotations) (download)
Tue Aug 15 16:11:19 2006 UTC (17 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58o_post
Changes since 1.1: +5 -6 lines
- change INCLUDES (no warnings in make depend step)
- update comments

1 #!/bin/bash
2 #
3 # $Header: $
4 # $Name: $
5 #
6 # tested on hugo (FC.4), eddy (FC.5): 20060119
7 #
8 # Build options for the intel 9.0 fortran compiler
9 # 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 INCLUDES='-I/usr/local/pkg/netcdf/netcdf-3.5.1/include'
20
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 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

  ViewVC Help
Powered by ViewVC 1.1.22