Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/linux_ia32_pgf77+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
4647ba122e Ed H*0001 #!/bin/bash
                0002 #
                0003 #
0f3dc8a567 Ed H*0004 #  These are the build options used with the PGI compiler for the
                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/pgi
                0011 #
4647ba122e Ed H*0012 
74db38f65a Jean*0013 DEFINES='-DWORDLENGTH=4'
                0014 CPP='cpp  -traditional -P'
                0015 
4647ba122e Ed H*0016 FC='mpif77'
                0017 CC='mpicc'
74db38f65a Jean*0018 if test "x$ALWAYS_USE_F90" = x1 ; then
e1c8b4f60c Jean*0019     FC='mpif90'
74db38f65a Jean*0020 else
                0021     DEFINES="$DEFINES -DNML_EXTENDED_F77"
                0022 fi
d568843b75 Jean*0023 LINK=$FC
                0024 
                0025 EXTENDED_SRC_FLAG='-Mextend'
de8996ff45 Jean*0026 GET_FC_VERSION="-V"
d568843b75 Jean*0027 
                0028 INCLUDES='-I/usr/local/pkg/mpich/mpich-pgi/include -I/usr/local/pkg/pgi/pgi-5.2/linux86/5.2/include'
0f3dc8a567 Ed H*0029 LIBS='-L/usr/local/pkg/mpich/mpich-pgi/lib -L/usr/local/pkg/pgi/pgi-5.2/linux86/5.2/lib'
4647ba122e Ed H*0030 
                0031 if test "x$IEEE" = x ; then
                0032     #  No need for IEEE-754
d568843b75 Jean*0033     FFLAGS="$FFLAGS -byteswapio -Mnodclchk -Mextend"
0f3dc8a567 Ed H*0034     # FOPTIM='-tp p6 -v -O2 -Munroll -Mvect=cachesize:512000,transform'
                0035     FOPTIM='-fastsse -Mvect=cachesize:524288,transform'
4647ba122e Ed H*0036 else
                0037     #  Try to follow IEEE-754
d568843b75 Jean*0038     FFLAGS="$FFLAGS -byteswapio"
6f95814faa Jean*0039     FOPTIM='-O0 -Mscalarsse -Mcache_align -Mnoflushz -Kieee'
4647ba122e Ed H*0040 fi
d568843b75 Jean*0041 #- might want to use '-r8' for fizhi pkg:
                0042 #FFLAGS="$FFLAGS -r8"
4647ba122e Ed H*0043