/[MITgcm]/MITgcm/tools/build_options/linux_ia32_ifort+oad+mpi
ViewVC logotype

Contents of /MITgcm/tools/build_options/linux_ia32_ifort+oad+mpi

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


Revision 1.5 - (show annotations) (download)
Thu Aug 30 20:13:50 2012 UTC (11 years, 8 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, checkpoint63s, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, 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
Changes since 1.4: +14 -16 lines
- no need to put here ALLOW_AUTODIFF_OPENAD in DEFINES list (like in
  other oad optfile)
- move '-g' from non-ieee FOPTIM to ieee FOPTIM ;
- non-ieee: change also optimisation level from -O0 to -O3 (like in
  the non MPI optfile).
- do not set FFLAGS but add flags to it (this is the standard way).

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort+oad+mpi,v 1.4 2010/03/21 18:01:13 jmc Exp $
4 # $Name: $
5
6 # These are the build options used with the Intel compiler together with OpenAD and MPI
7
8 CC='mpicc'
9 FC='mpif77'
10 F90C='mpif90'
11 LINK='mpif90'
12
13 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
14 CPP='cpp -traditional -P'
15 F90FIXEDFORMAT='-fixed -Tf'
16
17 NOOPTFLAGS='-O0'
18 NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F'
19
20 FFLAGS="$FFLAGS -132 -w95 -W0 -WB -convert big_endian -assume byterecl"
21 if test "x$IEEE" = x ; then
22 FOPTIM='-O3 -align'
23 else
24 FOPTIM='-O0 -g -noalign'
25 FFLAGS="$FFLAGS -xW -pc64"
26 fi
27
28 NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F'
29 NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F'
30
31 F90FLAGS=$FFLAGS
32 F90OPTIM=$FOPTIM
33
34 INCLUDES='-I${MPIROOT}/include'
35 LIBS=''

  ViewVC Help
Powered by ViewVC 1.1.22