/[MITgcm]/MITgcm_contrib/ESMF/mytools/comp_profile.blackforest_stdlib
ViewVC logotype

Contents of /MITgcm_contrib/ESMF/mytools/comp_profile.blackforest_stdlib

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Mar 26 22:36:49 2004 UTC (21 years, 3 months ago) by cnh
Branch: MAIN
CVS Tags: adoption_1_0_pre_A, HEAD
Things that got lost in the blackforest fiasco

1 # $Id: comp_profile.blackforest,v 1.6 2004/03/01 14:31:03 cnh Exp $
2 # $Name: $
3 #
4 # Compiler and linker options for blackforest using ESMF standard
5 # library build and options.
6 #
7 # ESMF settings to select version, compile mode etc...
8 #
9 set MYESMF_VER = "ESMF_1_0_4"
10 set MYESMF_VER = "ESMF_1_0_5"
11 #set MYESMF_VER = "LAST_STABLE"
12 set MYESMF_ROOT = "/fs/projects/css/nancy/basedir"
13 set MYESMF_PLAT = "AIX.default.64.default"
14 set MYESMF_OPT = "g"
15 set MYESMF_FC = "mpxlf90_r"
16 set MYESMF_CC = "mpcc_r"
17 set MYESMF_FCFLAGS = "-q64"
18 set MYESMF_CCFLAGS = "-q64"
19 set MYESMF_LIB_DIR = ${MYESMF_ROOT}/${MYESMF_VER}/lib/lib${MYESMF_OPT}/${MYESMF_PLAT}/
20 set MYESMF_MOD_DIR = ${MYESMF_ROOT}/${MYESMF_VER}/mod/mod${MYESMF_OPT}/${MYESMF_PLAT}/
21
22 # MITgcm genmake2 settings
23 set gm2optfile = "-optfile=${BUILDROOT}/../../tools/build_options/sp4"
24
25 # ar command
26 set arcommand = "ar"
27 set aropts = "-X64 -s -rc"
28
29 # C compiler
30 set cccommand = "cc"
31 set cccommand = "${MYESMF_CC}"
32 set ccopts = "${MYESMF_CCFLAGS} -c"
33
34 # Fortran compiler
35 set comp = mpxlf95_r
36 set comp = "${MYESMF_FC}"
37 set comp_defs = "-WF,-DE_1_0_5,-DE_REGRID_IS_BROKEN"
38 set comp_defs = "-WF,-DE_1_0_5"
39 set compopts_def = ( ${comp_defs} \
40 -qfixed=132 -g \
41 -qmaxmem=-1 -bmaxdata:0x80000000 \
42 -brtl -lC -qautodbl ${MYESMF_FCFLAGS} )
43 set compopts_num = ( ${comp_defs} \
44 -qfixed=132 -O3 \
45 -qmaxmem=-1 -bmaxdata:0x80000000 \
46 -brtl -lC -qautodbl ${MYESMF_FCFLAGS} )
47 set compopts = ( ${compopts_def} )
48
49 # Link settings
50 set linkcomm = ( ${MYESMF_FC} -g )
51 set complibs = ( -L${MYESMF_LIB_DIR} -lesmf )
52 set compinc = ( -I${MYESMF_MOD_DIR} )
53 set compinc = ( ${compinc} -I${BUILDROOT}/esmf_top )

  ViewVC Help
Powered by ViewVC 1.1.22