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

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

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


Revision 1.1 - (hide annotations) (download)
Wed Apr 15 23:52:07 2009 UTC (15 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62c, checkpoint62b, checkpoint62a, checkpoint61x, checkpoint61y, checkpoint61n, checkpoint61o, checkpoint61m, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint62
merge the 2 optfile: linux_ia32_ifort+authors_v9 and linux_ia32_ifort.v9+mth
 into one file (Note: named without "v9" since it might works also with v10)

1 jmc 1.1 #!/bin/bash
2    
3     # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort.v9+mth,v 1.4 2006/11/22 22:39:57 jmc Exp $
4     # $Name: $
5    
6     # Build options for the intel 9.0 fortran compiler
7     # ph: use ifort compiler options -convert big_endian -assume byterecl
8    
9     # tested on faulks (FC.6)
10     # was also tested on hugo (FC.4, FC.9), eddy (FC.5)
11    
12     # OpenMP : Tested on hugo, eddy and faulks
13     #-------
14     # run with OpenMP: needs to set environment var. OMP_NUM_THREADS
15     # and generally, needs to increase the stack-size:
16     # - sh,bash:
17     # > export OMP_NUM_THREADS=2
18     # > export KMP_STACKSIZE=400m
19     # - csh,tcsh:
20     # > setenv OMP_NUM_THREADS 2
21     # > setenv KMP_STACKSIZE 400m
22     #-------
23    
24     FC=/usr/local/pkg/intel/intel_fc_90/bin/ifort
25     F90C=/usr/local/pkg/intel/intel_fc_90/bin/ifort
26     LINK='/usr/local/pkg/intel/intel_fc_90/bin/ifort -i-static -no-ipo'
27    
28     DEFINES='-DWORDLENGTH=4'
29     CPP='cpp -traditional -P'
30     F90FIXEDFORMAT='-fixed -Tf'
31     EXTENDED_SRC_FLAG='-132'
32     OMPFLAG='-openmp'
33    
34     INCLUDES='-I/usr/local/pkg/netcdf/netcdf-3.5.1/include'
35    
36     # Note that the -mp switch is for ieee "maintain precision" and is
37     # roughly equivalent to -ieee
38     if test "x$IEEE" = x ; then
39     FOPTIM='-O3 -align'
40     #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
41     #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
42     FFLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl'
43     else
44     FOPTIM='-O0 -noalign -check all'
45     FFLAGS='-r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
46     #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
47     fi
48     F90FLAGS=$FFLAGS
49     F90OPTIM=$FOPTIM
50    

  ViewVC Help
Powered by ViewVC 1.1.22