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

Contents of /MITgcm/tools/build_options/linux_ia32_ifort.aces+mth

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


Revision 1.4 - (show annotations) (download)
Thu Apr 16 19:05:08 2009 UTC (15 years ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
merge linux_amd64_gfortran+mth into linux_amd64_gfortran
merge linux_ia32_ifort.v9+mth & linux_ia32_ifort+authors_v9
      into linux_ia32_ifort+authors
renamed linux_ia32_ifort.aces+mth to linux_ia32_ifort.aces
      and move OpenMP compiler option in OMPFLAG

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort.aces+mth,v 1.3 2006/08/08 01:59:52 jmc Exp $
4 #
5 # get 1 node with 2 cpu : qsub -I -l nodes=1:ppn=2
6 # on computer node:
7 # needs to load intel compiler version 9:
8 # > module load ifc/9.0.021 icc/9.0.021 intel/9.0
9 # and set for 2 threads,
10 # + in many cases, need to increase the stack-size:
11 #- sh,bash:
12 # > export OMP_NUM_THREADS=2
13 # > export KMP_STACKSIZE=400m
14 #- csh,tcsh:
15 # > setenv OMP_NUM_THREADS 2
16 # > setenv KMP_STACKSIZE 400m
17
18 FC='ifort'
19 CC='icc'
20 LINK='ifort'
21 INCLUDES='-I/usr/local/pkg/ifc/ifc-9.0.021/include'
22 LIBS='-L/usr/local/pkg/ifc/ifc-9.0.021/lib'
23
24 DEFINES='-DWORDLENGTH=4 -DUSE_OMP_THREADING'
25 CPP='cpp -traditional -P'
26
27 NOOPTFLAGS='-O0'
28 NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F'
29
30 if test "x$IEEE" = x ; then
31 FOPTIM='-O3 -align'
32 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -openmp -convert big_endian -assume byterecl'
33 else
34 FOPTIM='-O0 -noalign'
35 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -openmp -pc64 -xW -convert big_endian -assume byterecl'
36 fi
37
38 NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F'
39 NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F'

  ViewVC Help
Powered by ViewVC 1.1.22