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

Annotation 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.5 - (hide annotations) (download)
Thu Sep 29 16:11:59 2011 UTC (12 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
move to unsupported/ (has been merged into linux_ia32_g77)

1 edhill 1.1 #!/bin/bash
2     #
3 jmc 1.5 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_g77+mpi_aces,v 1.4 2010/12/14 21:18:40 jmc Exp $
4 edhill 1.1 # $Name: $
5     #
6 jmc 1.2 # These are the build options used with the GNU compiler for the
7 edhill 1.1 # 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 jmc 1.4
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 edhill 1.1 LIBS='-L/usr/local/pkg/mpich/mpich-gcc/lib '
28    
29     if test "x$IEEE" = x ; then
30     # No need for IEEE-754
31 jmc 1.3 # 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 edhill 1.1 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
44    

  ViewVC Help
Powered by ViewVC 1.1.22