# $Id: comp_profile.blackforest_stdlib,v 1.1 2004/03/26 22:36:49 cnh Exp $ # $Name: $ # # Compiler and linker options for blackforest using ESMF standard # library build and options. # # ESMF settings to select version, compile mode etc... # set MYESMF_VER = "ESMF_1_0_4" set MYESMF_VER = "ESMF_1_0_5" #set MYESMF_VER = "LAST_STABLE" set MYESMF_ROOT = "/fs/projects/css/nancy/basedir" set MYESMF_PLAT = "AIX.default.64.default" set MYESMF_OPT = "g" set MYESMF_FC = "mpxlf90_r" set MYESMF_CC = "mpcc_r" set MYESMF_FCFLAGS = "-q64" set MYESMF_CCFLAGS = "-q64" set MYESMF_LIB_DIR = ${MYESMF_ROOT}/${MYESMF_VER}/lib/lib${MYESMF_OPT}/${MYESMF_PLAT}/ set MYESMF_MOD_DIR = ${MYESMF_ROOT}/${MYESMF_VER}/mod/mod${MYESMF_OPT}/${MYESMF_PLAT}/ # MITgcm genmake2 settings set gm2optfile = "-optfile=${BUILDROOT}/../../tools/build_options/sp4" # ar command set arcommand = "ar" set aropts = "-X64 -s -rc" # C compiler set cccommand = "cc" set cccommand = "${MYESMF_CC}" set ccopts = "${MYESMF_CCFLAGS} -c" # Fortran compiler set comp = mpxlf95_r set comp = "${MYESMF_FC}" set comp_defs = "-WF,-DE_1_0_5,-DE_REGRID_IS_BROKEN" set comp_defs = "-WF,-DE_1_0_5" set compopts_def = ( ${comp_defs} \ -qfixed=132 -g \ -qmaxmem=-1 -bmaxdata:0x80000000 \ -brtl -lC -qautodbl ${MYESMF_FCFLAGS} ) set compopts_num = ( ${comp_defs} \ -qfixed=132 -O3 \ -qmaxmem=-1 -bmaxdata:0x80000000 \ -brtl -lC -qautodbl ${MYESMF_FCFLAGS} ) set compopts = ( ${compopts_def} ) # Link settings set linkcomm = ( ${MYESMF_FC} -g ) set complibs = ( -L${MYESMF_LIB_DIR} -lesmf ) set compinc = ( -I${MYESMF_MOD_DIR} ) set compinc = ( ${compinc} -I${BUILDROOT}/esmf_top )