/[MITgcm]/MITgcm/tools/build_options/sp6+mpi_iblade
ViewVC logotype

Contents of /MITgcm/tools/build_options/sp6+mpi_iblade

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


Revision 1.2 - (show annotations) (download)
Thu Jun 29 00:23:51 2017 UTC (6 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, HEAD
Changes since 1.1: +2 -2 lines
remove "-DALWAYS_USE_MPI"

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sp6+mpi_iblade,v 1.1 2010/01/16 21:43:53 mlosch Exp $
4 # $Name: $
5 #
6 # tested on iblade1.awi.de
7 # uname -a: AIX iblade1 3 5 0007465AD400
8 #
9
10 S64='$(TOOLSDIR)/set64bitConst.sh'
11 MAKEDEPEND=makedepend
12 DEFINES='-DALLOW_USE_MPI -DTARGET_AIX -DWORDLENGTH=4 -DNML_TERMINATOR'
13 HAVE_CLOC='true'
14 HAVE_SETRLSTK='true'
15 HAVE_STAT='true'
16
17 MPI='true'
18 INCLUDES='-I/usr/lpp/ppe.poe/include/thread64 -I/iblade/soft/netcdf/3.6.3/include'
19 CPP='/lib/cpp -P'
20 CC='mpcc_r -q64'
21 FC='mpxlf95_r -q64'
22 LINK='mpxlf95_r -q64'
23 LIBS='-L/iblade/soft/netcdf/3.6.3/lib -lnetcdf'
24
25 # increase allowed line length
26 FFLAGS='-qfixed=132'
27 # this initializes all reals to NaNQ and all integers to -1
28 #FFLAGS=${FFLAGS}' -qinitauto=FF'
29 if test "x$IEEE" = x ; then
30 # No need for IEEE-754
31 FOPTIM='-O4'
32 #FOPTIM='-O5'
33 # if the above takes too long use a slightly less aggressive optimization
34 #FOPTIM='-O3 -qhot -qarch=auto -qtune=auto'
35 # for some unknown reason, the -qhot option (part of -O4 is not so hot
36 # with these files (compilation takes forever), therefore we overwrite it
37 # here
38 NOOPTFILES='ini_curvilinear_grid.F mon_stats_rs.F'
39 NOOPTFLAGS=${FOPTIM}' -qnohot'
40 else
41 # Try to follow IEEE-754
42 FOPTIM='-O3 -qstrict -qstrictieeemod -qarch=auto -qtune=auto'
43 fi
44 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"

  ViewVC Help
Powered by ViewVC 1.1.22