Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/sp4+mpi_jump 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
29913e9288 Mart*0001 #!/bin/bash
                0002 #
                0003 #  tested on jump.fz-juelich.de, mlosch
                0004 #  uname -a: AIX j36 3 5 00223C3B4C00
                0005 #  using the following invocation:
                0006 #    ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/sp4+mpi_jump
                0007 
                0008 S64='$(TOOLSDIR)/set64bitConst.sh'
                0009 MAKEDEPEND=makedepend
                0010 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_AIX -DWORDLENGTH=4 -DNML_TERMINATOR'
                0011 HAVE_CLOC='true'
                0012 HAVE_SETRLSTK='true'
                0013 HAVE_STAT='true'
                0014 MPI='true'
                0015 
                0016 INCLUDES='-I/usr/lpp/ppe.poe/include/thread64 -I/opt/rsct/lapi/include64 -I/usr/lpp/ssp/css/aix52/include64 -I/opt/rsct/lapi/include -I/usr/local/include'
                0017 #INCLUDES='-I/usr/lpp/ppe.poe/include/thread64 -I/usr/local/include'
                0018 CPP='/lib/cpp -P'
                0019 CC='mpcc_r -q64'
                0020 FC='mpxlf95_r -q64'
                0021 LINK='mpxlf95_r -q64'
9702e8be75 Mart*0022 #-- uncomment this line in order to link the mpiP libraries for MPI profiling
                0023 #-- require to do "module load mpiP" before linking
                0024 # MPIPLIBS="-L$MPIP_LIBRTS -lmpiP -lbfd -liberty -lintl -lm"
                0025 LIBS="-lmass $MPIPLIBS"
                0026 #-- according to Constantinos we do no need the esslsmp library
                0027 #LIBS="-lmass -lesslsmp $MPIPLIBS"
6144427bd2 Jean*0028 FFLAGS='-qfixed=132'
29913e9288 Mart*0029 if test "x$IEEE" = x ; then
                0030     #  No need for IEEE-754
                0031     FOPTIM='-O3 -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
                0032     CFLAGS='-O3 -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
                0033 else
                0034     #  Try to follow IEEE-754
                0035     FOPTIM='-O3 -qstrict -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
                0036     CFLAGS='-O3 -qstrict -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
                0037 fi
                0038 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"