/[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.2 - (show annotations) (download)
Wed Aug 2 20:14:50 2006 UTC (17 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.1: +9 -7 lines
add comment on how to get 1 node with 2 cpu

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort.aces+mth,v 1.1 2006/07/27 23:48:43 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 # > export OMP_NUM_THREADS=2 (sh,bash)
11 # or:
12 # > setenv OMP_NUM_THREADS 2 (csh,tcsh)
13
14 FC='ifort'
15 CC='icc'
16 LINK='ifort'
17 INCLUDES='-I/usr/local/pkg/ifc/ifc-9.0.021/include'
18 LIBS='-L/usr/local/pkg/ifc/ifc-9.0.021/lib'
19
20 DEFINES='-DWORDLENGTH=4 -DUSE_OMP_THREADING'
21 CPP='cpp -traditional -P'
22
23 NOOPTFLAGS='-O0'
24 NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F'
25
26 if test "x$IEEE" = x ; then
27 FOPTIM='-O3 -align'
28 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -openmp -convert big_endian -assume byterecl'
29 else
30 FOPTIM='-O0 -noalign'
31 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -openmp -pc64 -xW -convert big_endian -assume byterecl'
32 fi
33
34 NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F'
35 NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F'

  ViewVC Help
Powered by ViewVC 1.1.22