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

Annotation of /MITgcm/tools/build_options/sp4+mpi_edvir1

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


Revision 1.5 - (hide annotations) (download)
Thu Feb 18 17:03:58 2010 UTC (14 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
move (some) old optfiles from tools/build_options/ to tools/build_options/unsupported/

1 mlosch 1.1 #!/bin/bash
2     #
3 jmc 1.5 # $Header: /u/gcmpack/MITgcm/tools/build_options/sp4+mpi_edvir1,v 1.4 2008/01/10 08:00:51 mlosch Exp $
4 mlosch 1.2 # $Name: $
5 mlosch 1.1 #
6     # tested on edvir1.awi-bremerhaven.de
7     # uname -a: AIX edvir1 2 5 0010117A4C00
8     #
9    
10     S64='$(TOOLSDIR)/set64bitConst.sh'
11     MAKEDEPEND=makedepend
12 mlosch 1.2 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 mlosch 1.1
17 mlosch 1.2 MPI='true'
18 mlosch 1.1 INCLUDES='-I/usr/lpp/ppe.poe/include/thread64 -I/edvir1/soft/netcdf-3.5.1/64/include'
19     CPP='/lib/cpp -P'
20     CC='mpcc_r -q64'
21     FC='mpxlf95_r -q64'
22     LINK='mpxlf95_r -q64'
23     LIBS='-L/export/soft/mass/4.1/aix5/lib -lmass -L/edvir1/soft/netcdf-3.5.1/64/lib -lnetcdf'
24 mlosch 1.2
25 mlosch 1.4 # 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 mlosch 1.1 if test "x$IEEE" = x ; then
30     # No need for IEEE-754
31 mlosch 1.4 FOPTIM='-O4 -qmaxmem=-1'
32     # if the above takes too long use a slightly less aggressive optimization
33     #FOPTIM='-O3 -qhot -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
34     # for some unknown reason, the -qhot option (part of -O4 is not so hot
35     # with these files (compilation takes forever), therefore we overwrite it
36     # here
37     NOOPTFILES='ini_curvilinear_grid.F mon_stats_rs.F'
38     NOOPTFLAGS=${FOPTIM}' -qnohot'
39 mlosch 1.1 else
40     # Try to follow IEEE-754
41 mlosch 1.4 FOPTIM='-O3 -qstrict -qstrictieeemod -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
42 mlosch 1.1 fi
43     FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
44    

  ViewVC Help
Powered by ViewVC 1.1.22