/[MITgcm]/MITgcm/tools/build_options/linux_ia32_g77+mpi_aces
ViewVC logotype

Contents of /MITgcm/tools/build_options/linux_ia32_g77+mpi_aces

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


Revision 1.3 - (show annotations) (download)
Sat May 17 23:35:04 2008 UTC (15 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint62, checkpoint61l, checkpoint59r, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.2: +8 -3 lines
remove unsafe option "-funroll-loops" (makes tutorial_helt_suarez_cs to blow-up)

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_g77+mpi_aces,v 1.2 2006/07/29 17:24:49 jmc Exp $
4 # $Name: $
5 #
6 # These are the build options used with the GNU compiler for the
7 # daily testing on ACES (which are initiated by cron jobs on the "ao"
8 # head node).
9 #
10 # Please note the appropriate module command:
11 #
12 # module add mpich/gnu
13 #
14
15 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -D_BYTESWAPIO -DWORDLENGTH=4'
16 CPP='cpp -traditional -P'
17
18 FC='mpif77'
19 CC='mpicc'
20 LINK='mpif77'
21 LIBS='-L/usr/local/pkg/mpich/mpich-gcc/lib '
22 INCLUDES='-I/usr/local/pkg/mpich/mpich-gcc/include '
23
24 if test "x$IEEE" = x ; then
25 # No need for IEEE-754
26 # FFLAGS='-Wimplicit -Wunused -Wuninitialized'
27 # FOPTIM='-O3 -malign-double -funroll-loops'
28 #- note(jmc):
29 # -O3 is not always faster than -O2 ; sse & sse2 are faster ;
30 # Problems with "-funroll-loops" for some set-up, e.g. tutorial_helt_suarez_cs
31 FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2'
32 FOPTIM='-O3 -malign-double'
33 else
34 # Try to follow IEEE-754
35 # FFLAGS='-Wimplicit -Wunused -ffloat-store'
36 FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2'
37 FOPTIM='-O0 -malign-double'
38 fi
39 NOOPTFLAGS='-O0'

  ViewVC Help
Powered by ViewVC 1.1.22