/[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.1 - (show annotations) (download)
Thu Jul 27 23:48:43 2006 UTC (17 years, 10 months ago) by jmc
Branch: MAIN
add optfile for ACES intel-v9 compiler with open-mp multi-threading options

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifc+mpi_itrda,v 1.7 2006/07/14 19:17:25 heimbach Exp $
4 #
5 # needs to load intel compiler version 9:
6 # > module load ifc/9.0.021 icc/9.0.021 intel/9.0
7 # and set for 2 threads:
8 # > export OMP_NUM_THREADS=2 (sh,bash)
9 # or:
10 # > setenv OMP_NUM_THREADS 2 (csh,tcsh)
11
12 FC='ifort'
13 CC='icc'
14 LINK='ifort'
15 INCLUDES='-I/usr/local/pkg/ifc/ifc-9.0.021/include'
16 LIBS='-L/usr/local/pkg/ifc/ifc-9.0.021/lib'
17
18 DEFINES='-DWORDLENGTH=4 -DUSE_OMP_THREADING'
19 CPP='cpp -traditional -P'
20
21 NOOPTFLAGS='-O0'
22 NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F'
23
24 if test "x$IEEE" = x ; then
25 FOPTIM='-O3 -align'
26 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -openmp -convert big_endian -assume byterecl'
27 else
28 FOPTIM='-O0 -noalign'
29 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -openmp -pc64 -xW -convert big_endian -assume byterecl'
30 fi
31
32 NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F'
33 NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F'

  ViewVC Help
Powered by ViewVC 1.1.22