/[MITgcm]/MITgcm/tools/build_options/darwin_ia32_pgf95_trane
ViewVC logotype

Contents of /MITgcm/tools/build_options/darwin_ia32_pgf95_trane

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


Revision 1.2 - (show annotations) (download)
Tue Sep 13 19:41:40 2011 UTC (12 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63c, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, 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, HEAD
Changes since 1.1: +32 -16 lines
merge darwin_ia32_pgf95+mpich2-mx_trane into this optfile

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/darwin_ia32_pgf95_trane,v 1.1 2010/04/08 12:34:09 mlosch Exp $
4 # $Name: $
5
6 # build options files for trane (with or without MPI)
7 # uname -a
8 # Darwin trane.evsc.virginia.edu 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
9 #
10 # without MPI: genmake2 -of darwin_ia32_pgf95_trane
11 # with MPI: genmake2 -of darwin_ia32_pgf95_trane -mpi
12
13 if test "x$MPI" = xtrue ; then
14 CC='mpicc'
15 FC='mpif90'
16 LINK='mpif90'
17 else
18 CC='pgcc'
19 FC='pgf95'
20 LINK='pgf90'
21 fi
22
23 DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR'
24 CPP='/usr/bin/cpp -traditional -P'
25 # make clean removes also these files
26 RMFILES='*.oo'
27 EXTENDED_SRC_FLAG='-Mextend'
28
29 FFLAGS="$FFLAGS -byteswapio"
30
31 if test "x$IEEE" = x ; then
32 # No need for IEEE-754
33 FOPTIM='-fast -Mipa=fast,inline,safe'
34 else
35 # Try to follow IEEE-754
36 FFLAGS="$FFLAGS -Mnodclchk -Ktrap=fp -Kieee"
37 FOPTIM=
38 fi
39 CFLAGS='-fast -Mipa=fast,inline,safe'
40
41 # specific location for trane:
42 MPI_INC_DIR="/common/mpich2-mx-1.1.1p1..5/src/include"
43 if test "x$MPI" = xtrue ; then
44 INCLUDES="$INCLUDES -I$MPI_INC_DIR"
45 fi
46
47 NETCDF_INCDIR="/common/usr/local/include"
48 INCLUDES="$INCLUDES -I$NETCDF_INCDIR"
49 LIBS="-L/common/usr/local/lib"

  ViewVC Help
Powered by ViewVC 1.1.22