/[MITgcm]/MITgcm/tools/build_options/sp5+mpi_nas
ViewVC logotype

Contents of /MITgcm/tools/build_options/sp5+mpi_nas

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


Revision 1.3 - (show annotations) (download)
Mon Jul 22 18:40:45 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64k, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e
Changes since 1.2: +8 -9 lines
- remove MPI_HEADER_FILES_INC setting (no longer used)
- for now, comment out MPI_HEADER_FILES list (let genmake2 find which
   MPI header is needed)

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sp5+mpi_nas,v 1.2 2010/03/21 22:22:53 jmc Exp $
4 # $Name: $
5
6 # tested on bluevista, ce107 Feb 2006
7 # using the following invocation:
8 # ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/sp5+mpi -make=gmake
9 # modified for IBM Power 5+ "Schirra" at NASA/ARC, ce107, heimbach Oct 2007
10
11 S64='$(TOOLSDIR)/set64bitConst.sh'
12 MAKEDEPEND=makedepend
13
14 # NML_TERMINATOR should enable using "&" as terminator, but doesnt work
15 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_AIX -DWORDLENGTH=4 -DNML_TERMINATOR'
16
17 INCLUDES="-I/usr/lpp/ppe.poe/include/thread64 -I${NETCDF}/include"
18 CPP='/lib/cpp -P'
19 # The -q64 is redundant on bluevista, default mode is 64bit
20 CC='mpcc_r -q64'
21 FC='mpxlf_r -q64'
22 LINK='mpxlf_r -q64'
23 LIBS="-lmass -L${NETCDF}/lib"
24 FFLAGS='-qfixed=132'
25 if test "x$IEEE" = x ; then
26 # No need for IEEE-754
27 FOPTIM='-O3 -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
28 CFLAGS='-O3 -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
29 else
30 # Try to follow IEEE-754
31 FOPTIM='-O3 -qstrict -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
32 CFLAGS='-O3 -qstrict -Q -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
33 fi
34
35 #- useful for netcdf
36 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
37
38 #- used for parallel (MPI) DIVA
39 MPIINCLUDEDIR='/usr/lpp/ppe.poe/include/thread64'
40 #MPI_HEADER_FILES='mpif.h'
41
42 #- useful for timing, but not all libs availale on bv
43 HPMTINC=' '
44 HPMTLIB='-lhpm_r -lpmapi'
45 #GSLINC='-I/homebv/evangeli/gsl-1.5/include'
46 #GSLLIB='-L/homebv/evangeli/gsl-1.5/lib64 -lgsl -lgslcblas'
47 #PAPIINC='-I/usr/local/include'
48 #PAPILIB='-L/usr/local/lib -lpapi'

  ViewVC Help
Powered by ViewVC 1.1.22