/[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.1 - (show annotations) (download)
Fri Jul 14 18:09:19 2006 UTC (17 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58n_post, checkpoint58m_post
ifort v.9 optfile, for multi-threads with openmp, tested on hugo (FC.4) &
 eddy (FC.5)

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

  ViewVC Help
Powered by ViewVC 1.1.22