/[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.4 - (show annotations) (download)
Tue Dec 14 21:18:40 2010 UTC (13 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.3: +10 -6 lines
add " -DNML_EXTENDED_F77" to the DEFINES list

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_g77+mpi_aces,v 1.3 2008/05/17 23:35:04 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 FC='mpif77'
16 CC='mpicc'
17 LINK='mpif77'
18
19 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_EXTENDED_F77'
20 CPP='cpp -traditional -P'
21
22 NOOPTFLAGS='-O0'
23 EXTENDED_SRC_FLAG='-ffixed-line-length-132'
24 GET_FC_VERSION="--version"
25
26 INCLUDES='-I/usr/local/pkg/mpich/mpich-gcc/include '
27 LIBS='-L/usr/local/pkg/mpich/mpich-gcc/lib '
28
29 if test "x$IEEE" = x ; then
30 # No need for IEEE-754
31 # FFLAGS='-Wimplicit -Wunused -Wuninitialized'
32 # FOPTIM='-O3 -malign-double -funroll-loops'
33 #- note(jmc):
34 # -O3 is not always faster than -O2 ; sse & sse2 are faster ;
35 # Problems with "-funroll-loops" for some set-up, e.g. tutorial_helt_suarez_cs
36 FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2'
37 FOPTIM='-O3 -malign-double'
38 else
39 # Try to follow IEEE-754
40 # FFLAGS='-Wimplicit -Wunused -ffloat-store'
41 FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2'
42 FOPTIM='-O0 -malign-double'
43 fi

  ViewVC Help
Powered by ViewVC 1.1.22