#!/bin/bash # # $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/build_options/linux_ppc_xlf,v 1.2 2007/09/20 21:11:55 ce107 Exp $ # # tested on frost, ce107 Aug 4 2005 # using the following invocation: # ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/linux_ppc_xlf S64='$(TOOLSDIR)/set64bitConst.sh' MAKEDEPEND=makedepend DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR' INCLUDES='' CPP='/lib/cpp -traditional -P' FC='xlf -q32' CC='xlc -q32' LINK='xlf -q32' LIBS='' FFLAGS='-qfixed=132' if test "x$IEEE" = x ; then # No need for IEEE-754 FOPTIM='-O5 -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1 -qipa=noobject:partition=large:threads' CFLAGS='-O5 -qinlglue -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1 -qipa=noobject:partition=large:threads' else FOPTIM='-O3 -qstrict -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1' CFLAGS='-O3 -qstrict -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1' fi FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"