Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/sp4_edvir1 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
389c62ee33 Mart*0001 #!/bin/bash
                0002 #
                0003 # 
                0004 # tested on edvir1.awi-bremerhaven.de
                0005 # uname -a: AIX edvir1 2 5 0010117A4C00
                0006 #
                0007 
                0008 S64='$(TOOLSDIR)/set64bitConst.sh'
                0009 MAKEDEPEND=makedepend
                0010 DEFINES='-DTARGET_AIX -DWORDLENGTH=4 -DNML_TERMINATOR'
                0011 
                0012 INCLUDES='-I/edvir1/soft/netcdf-3.5.1/64/include'
                0013 CPP='/lib/cpp -P'
                0014 CC='cc -q64'
                0015 FC='xlf95 -q64'
                0016 LINK='xlf95 -q64'
                0017 LIBS='-L/export/soft/mass/4.1/aix5/lib -lmass -L/edvir1/soft/netcdf-3.5.1/64/lib -lnetcdf'
                0018 
463f21d9ce Mart*0019 # increase allowed line length 
                0020 FFLAGS='-qfixed=132'
                0021 # this initializes all reals to NaNQ and all integers to -1
                0022 #FFLAGS=${FFLAGS}' -qinitauto=FF' 
389c62ee33 Mart*0023 if test "x$IEEE" = x ; then
                0024     #  No need for IEEE-754
463f21d9ce Mart*0025     FOPTIM='-O4 -qmaxmem=-1'
                0026     # if the above takes too long use a slightly less aggressive optimization
                0027     # FOPTIM='-O3 -qhot -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
                0028     # for some unknown reason, the -qhot option (part of -O4 is not so hot 
                0029     # with these files (compilation takes forever), therefore we overwrite it
                0030     # here
                0031     NOOPTFILES='ini_curvilinear_grid.F  mon_stats_rs.F'
                0032     NOOPTFLAGS=${FOPTIM}' -qnohot'
389c62ee33 Mart*0033 else
                0034     #  Try to follow IEEE-754
463f21d9ce Mart*0035     FOPTIM='-O3 -qstrict -qstrictieeemod -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
389c62ee33 Mart*0036 fi
                0037 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
                0038