#!/bin/bash # # $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/build_options/Attic/linux_ppc64_xlf_ncar+mth,v 1.3 2011/09/29 16:21:44 jmc dead $ # $Name: $ # tested on frost, ce107 Aug 4 2005 # using the following invocation: # ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/linux_ppc64_xlf S64='$(TOOLSDIR)/set64bitConst.sh' MAKEDEPEND=makedepend DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR -DUSE_OMP_THREADING' INCLUDES='-I/contrib/fe_tools/xlc64/netcdf-3.6.0-p1/include' CPP='/lib/cpp -traditional -P' FC='xlf_r -q64' CC='xlc_r -q64' LINK='xlf_r -q64' LIBS='-L/contrib/fe_tools/xlc64/netcdf-3.6.0-p1/lib -lnetcdf' FFLAGS='-qfixed=132' if test "x$IEEE" = x ; then # No need for IEEE-754 FOPTIM='-O5 -qsmp=omp -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1 -qipa=noobject:partition=large:threads' CFLAGS='-O5 -qsmp=omp -qinlglue -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1 -qipa=noobject:partition=large:threads' else FOPTIM='-O3 -qsmp=omp -qstrict -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1' CFLAGS='-O3 -qsmp=omp -qstrict -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1' fi FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"