/[MITgcm]/MITgcm/tools/build_options/linux_ia32_ifort.v9+mth
ViewVC logotype

Contents of /MITgcm/tools/build_options/linux_ia32_ifort.v9+mth

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, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58o_post
Changes since 1.1: +3 -4 lines
- change INCLUDES (no warnings in make depend step)
- update comments

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort.v9+mth,v 1.1 2006/07/14 18:09:19 jmc Exp $
4 # $Name: $
5 #
6 # jmc: copied from linux_ia32_ifort+authors_v9
7 # and added openmp stuff to run multi-threaded
8 # ( generally, need to increase the stack-size: > export KMP_STACKSIZE=400m )
9 #
10 # tested on hugo (FC.4), eddy (FC.5): 20060713
11 #
12 # Build options for the intel 9.0 fortran compiler
13 # ph: use ifort compiler options -convert big_endian -assume byterecl
14
15 FC=/usr/local/pkg/intel/intel_fc_90/bin/ifort
16 F90C=/usr/local/pkg/intel/intel_fc_90/bin/ifort
17 F90FIXEDFORMAT='-fixed -Tf'
18 DEFINES='-DWORDLENGTH=4 -DUSE_OMP_THREADING'
19 LINK='/usr/local/pkg/intel/intel_fc_90/bin/ifort -i-static -no-ipo'
20 CPP='cpp -traditional -P'
21 INCLUDES='-I/usr/local/pkg/netcdf/netcdf-3.5.1/include'
22
23 # Note that the -mp switch is for ieee "maintain precision" and is
24 # roughly equivalent to -ieee
25 if test "x$IEEE" = x ; then
26 FOPTIM='-O3 -align'
27 #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
28 #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
29 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
30 F90FLAGS='-r8 -i4 -w95 -W0 -WB -openmp -convert big_endian -assume byterecl'
31 else
32 FOPTIM='-O0 -noalign'
33 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -openmp -xN -pc64 -convert big_endian -assume byterecl'
34 #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
35 fi

  ViewVC Help
Powered by ViewVC 1.1.22