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

Annotation of /MITgcm/tools/build_options/sp5+mpi

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


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

  ViewVC Help
Powered by ViewVC 1.1.22