/[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.4 - (show annotations) (download)
Wed Nov 22 22:39:57 2006 UTC (17 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, mitgcm_mapl_00, checkpoint58x_post, checkpoint58y_post, checkpoint58v_post, checkpoint58w_post, checkpoint58t_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61l, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint58u_post, checkpoint60, checkpoint61
Changes since 1.3: +10 -2 lines
change comments

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

  ViewVC Help
Powered by ViewVC 1.1.22