Warning, /tools/build_options/unsupported/linux_ia32_g77+mpi_aces is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
8e30829f6f Patr*0001 #!/bin/bash
0002 #
0003 #
9f2139e53d Jean*0004 # These are the build options used with the GNU compiler for the
0f3dc8a567 Ed H*0005 # daily testing on ACES (which are initiated by cron jobs on the "ao"
0006 # head node).
0007 #
0008 # Please note the appropriate module command:
0009 #
0010 # module add mpich/gnu
0011 #
8e30829f6f Patr*0012
6282f53668 Ed H*0013 FC='mpif77'
0014 CC='mpicc'
0015 LINK='mpif77'
7660eaef83 Jean*0016
0017 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_EXTENDED_F77'
0018 CPP='cpp -traditional -P'
0019
0020 NOOPTFLAGS='-O0'
0021 EXTENDED_SRC_FLAG='-ffixed-line-length-132'
0022 GET_FC_VERSION="--version"
0023
6282f53668 Ed H*0024 INCLUDES='-I/usr/local/pkg/mpich/mpich-gcc/include '
7660eaef83 Jean*0025 LIBS='-L/usr/local/pkg/mpich/mpich-gcc/lib '
2555311bc3 Ed H*0026
0027 if test "x$IEEE" = x ; then
0028 # No need for IEEE-754
1700a9544e Jean*0029 # FFLAGS='-Wimplicit -Wunused -Wuninitialized'
0030 # FOPTIM='-O3 -malign-double -funroll-loops'
0031 #- note(jmc):
0032 # -O3 is not always faster than -O2 ; sse & sse2 are faster ;
0033 # Problems with "-funroll-loops" for some set-up, e.g. tutorial_helt_suarez_cs
0034 FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2'
0035 FOPTIM='-O3 -malign-double'
2555311bc3 Ed H*0036 else
0037 # Try to follow IEEE-754
0f3dc8a567 Ed H*0038 # FFLAGS='-Wimplicit -Wunused -ffloat-store'
67b9467e03 Jean*0039 FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2'
2555311bc3 Ed H*0040 FOPTIM='-O0 -malign-double'
0041 fi
0042