Warning, /tools/build_options/sp6+mpi_iblade 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
1141929731 Mart*0001 #!/bin/bash
0002 #
0003 #
0004 # tested on iblade1.awi.de
0005 # uname -a: AIX iblade1 3 5 0007465AD400
0006 #
0007
0008 S64='$(TOOLSDIR)/set64bitConst.sh'
0009 MAKEDEPEND=makedepend
7b8f62ab41 Jean*0010 DEFINES='-DALLOW_USE_MPI -DTARGET_AIX -DWORDLENGTH=4 -DNML_TERMINATOR'
1141929731 Mart*0011 HAVE_CLOC='true'
0012 HAVE_SETRLSTK='true'
0013 HAVE_STAT='true'
0014
0015 MPI='true'
0016 INCLUDES='-I/usr/lpp/ppe.poe/include/thread64 -I/iblade/soft/netcdf/3.6.3/include'
0017 CPP='/lib/cpp -P'
0018 CC='mpcc_r -q64'
0019 FC='mpxlf95_r -q64'
0020 LINK='mpxlf95_r -q64'
0021 LIBS='-L/iblade/soft/netcdf/3.6.3/lib -lnetcdf'
0022
0023 # increase allowed line length
0024 FFLAGS='-qfixed=132'
0025 # this initializes all reals to NaNQ and all integers to -1
0026 #FFLAGS=${FFLAGS}' -qinitauto=FF'
0027 if test "x$IEEE" = x ; then
0028 # No need for IEEE-754
0029 FOPTIM='-O4'
0030 #FOPTIM='-O5'
0031 # if the above takes too long use a slightly less aggressive optimization
0032 #FOPTIM='-O3 -qhot -qarch=auto -qtune=auto'
0033 # for some unknown reason, the -qhot option (part of -O4 is not so hot
0034 # with these files (compilation takes forever), therefore we overwrite it
0035 # here
0036 NOOPTFILES='ini_curvilinear_grid.F mon_stats_rs.F'
0037 NOOPTFLAGS=${FOPTIM}' -qnohot'
0038 else
0039 # Try to follow IEEE-754
0040 FOPTIM='-O3 -qstrict -qstrictieeemod -qarch=auto -qtune=auto'
0041 fi
0042 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
0043