Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/sp4+mpi 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
3b1228ead4 Cons*0001 #!/bin/bash
                0002 #
089fd6f9d7 Cons*0003 #  tested on bluesky, ce107 Dec 2005
                0004 #  using the following invocation:
                0005 #    ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/sp4 -make=gmake
3b1228ead4 Cons*0006 
                0007 S64='$(TOOLSDIR)/set64bitConst.sh'
                0008 MAKEDEPEND=makedepend
                0009 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_AIX -DWORDLENGTH=4'
                0010 
089fd6f9d7 Cons*0011 INCLUDES='-I/usr/lpp/ppe.poe/include/thread64 -I/usr/local/include'
3b1228ead4 Cons*0012 CPP='/lib/cpp -P'
                0013 CC='mpcc_r -q64'
10b3d23add Cons*0014 FC='mpxlf95_r -q64'
3b1228ead4 Cons*0015 LINK='mpxlf95_r -q64'
089fd6f9d7 Cons*0016 LIBS='-L/usr/local/apps/mass -lmass -L/usr/local/lib64/r4i4'
6144427bd2 Jean*0017 FFLAGS='-qfixed=132'
10b3d23add Cons*0018 if test "x$IEEE" = x ; then
                0019     #  No need for IEEE-754
089fd6f9d7 Cons*0020     FOPTIM='-O3 -Q -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
                0021     CFLAGS='-O3 -Q -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
10b3d23add Cons*0022 else
                0023     #  Try to follow IEEE-754
089fd6f9d7 Cons*0024     FOPTIM='-O3 -qstrict -Q -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
                0025     CFLAGS='-O3 -qstrict -Q -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
10b3d23add Cons*0026 fi
3b1228ead4 Cons*0027 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"