/[MITgcm]/MITgcm/tools/build_options/sp4+mpi_jump
ViewVC logotype

Contents of /MITgcm/tools/build_options/sp4+mpi_jump

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


Revision 1.2 - (show annotations) (download)
Wed May 2 19:19:26 2007 UTC (16 years, 11 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint62, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.1: +7 -3 lines
add Constantinos recommendations and stuff to link mpiP

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sp4+mpi_jump,v 1.1 2006/12/11 14:15:36 mlosch Exp $
4 #
5 # tested on jump.fz-juelich.de, mlosch
6 # uname -a: AIX j36 3 5 00223C3B4C00
7 # using the following invocation:
8 # ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/sp4+mpi_jump
9
10 S64='$(TOOLSDIR)/set64bitConst.sh'
11 MAKEDEPEND=makedepend
12 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_AIX -DWORDLENGTH=4 -DNML_TERMINATOR'
13 HAVE_CLOC='true'
14 HAVE_SETRLSTK='true'
15 HAVE_STAT='true'
16 MPI='true'
17
18 INCLUDES='-I/usr/lpp/ppe.poe/include/thread64 -I/opt/rsct/lapi/include64 -I/usr/lpp/ssp/css/aix52/include64 -I/opt/rsct/lapi/include -I/usr/local/include'
19 #INCLUDES='-I/usr/lpp/ppe.poe/include/thread64 -I/usr/local/include'
20 CPP='/lib/cpp -P'
21 CC='mpcc_r -q64'
22 FC='mpxlf95_r -q64'
23 LINK='mpxlf95_r -q64'
24 #-- uncomment this line in order to link the mpiP libraries for MPI profiling
25 #-- require to do "module load mpiP" before linking
26 # MPIPLIBS="-L$MPIP_LIBRTS -lmpiP -lbfd -liberty -lintl -lm"
27 LIBS="-lmass $MPIPLIBS"
28 #-- according to Constantinos we do no need the esslsmp library
29 #LIBS="-lmass -lesslsmp $MPIPLIBS"
30 FFLAGS='-qfixed=132'
31 if test "x$IEEE" = x ; then
32 # No need for IEEE-754
33 FOPTIM='-O3 -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
34 CFLAGS='-O3 -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
35 else
36 # Try to follow IEEE-754
37 FOPTIM='-O3 -qstrict -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
38 CFLAGS='-O3 -qstrict -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
39 fi
40 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"

  ViewVC Help
Powered by ViewVC 1.1.22