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

Annotation 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.3 - (hide annotations) (download)
Thu Aug 31 13:51:19 2006 UTC (17 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58r_post, checkpoint58p_post, checkpoint58q_post
Changes since 1.2: +2 -2 lines
for testing (with -ieee): use "-check all"

1 jmc 1.1 #!/bin/bash
2     #
3 jmc 1.3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort.v9+mth,v 1.2 2006/08/15 16:11:19 jmc Exp $
4 jmc 1.1 # $Name: $
5     #
6     # jmc: copied from linux_ia32_ifort+authors_v9
7     # and added openmp stuff to run multi-threaded
8 jmc 1.2 # ( generally, need to increase the stack-size: > export KMP_STACKSIZE=400m )
9 jmc 1.1 #
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 jmc 1.2 INCLUDES='-I/usr/local/pkg/netcdf/netcdf-3.5.1/include'
22 jmc 1.1
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 jmc 1.3 FOPTIM='-O0 -noalign -check all'
33 jmc 1.1 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
36    

  ViewVC Help
Powered by ViewVC 1.1.22