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

Contents of /MITgcm/tools/build_options/unsupported/linux_ia32_ifort+authors

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


Revision 1.1 - (show annotations) (download)
Thu Sep 29 16:13:51 2011 UTC (12 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
move to unsupported/ (has been merged into linux_ia32_ifort)

1 #!/bin/bash
2
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort+authors,v 1.3 2011/08/12 23:09:08 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=$FC
26 LINK="$FC -i-static -no-ipo"
27
28 DEFINES='-DWORDLENGTH=4'
29 CPP='cpp -traditional -P'
30 F90FIXEDFORMAT='-fixed -Tf'
31 EXTENDED_SRC_FLAG='-132'
32 GET_FC_VERSION="--version"
33 OMPFLAG='-openmp'
34
35 INCLUDES='-I/usr/local/pkg/netcdf/netcdf-3.5.1/include'
36
37 # Note that the -mp switch is for ieee "maintain precision" and is
38 # roughly equivalent to -ieee
39 if test "x$IEEE" = x ; then
40 FOPTIM='-O3 -align'
41 #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
42 #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
43 FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl"
44 else
45 FOPTIM='-O0 -noalign -check all'
46 FFLAGS="$FFLAGS -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl"
47 #FFLAGS="$FFLAGS -mp -w95 -W0 -WB"
48 fi
49 #- might want to use '-r8' for fizhi pkg:
50 #FFLAGS="$FFLAGS -r8"
51
52 F90FLAGS=$FFLAGS
53 F90OPTIM=$FOPTIM

  ViewVC Help
Powered by ViewVC 1.1.22