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

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

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


Revision 1.1 - (show annotations) (download)
Tue Jun 27 11:23:43 2006 UTC (17 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint58l_post, mitgcm_mapl_00, checkpoint58u_post, checkpoint58w_post, checkpoint58r_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58q_post, checkpoint59p, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58o_post, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint58p_post, checkpoint58m_post
Adding Constantinos optfile for SP5 (NCAR bluevista)
but comment out -lhpm -lpapi since not available

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sp4+mpi,v 1.3 2005/12/22 01:38:05 ce107 Exp $
4 #
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
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 FC='mpxlf95_r -q64'
21 LINK='mpxlf95_r -q64'
22 LIBS='-lmass -L/usr/local/lib64/r4i4 -L/usr/local/lib64 -L/usr/local/lib'
23 FFLAGS='-qfixed=132'
24 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 #
34 # useful for netcdf
35 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
36 #
37 # useful for parallel DIVA
38 MPI_HEADER_FILES='mpif.h'
39 MPI_HEADER_FILES_INC='./mpi_headers/mpif.h'
40 MPIINCLUDEDIR='/usr/lpp/ppe.poe/include/thread64'
41 #
42 # usful for timing, but not all libs availale on bv
43 #HPMTINC='-I/usr/local/include'
44 #HPMTLIB='-L/usr/local/lib -lhpm -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