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

Contents of /MITgcm/tools/build_options/osf1_alpha_f77

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


Revision 1.8 - (show annotations) (download)
Mon Sep 12 18:03:26 2011 UTC (12 years, 7 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, 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.7: +25 -16 lines
merge osf1_alpha_f77+mpi into this optfile

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/osf1_alpha_f77,v 1.7 2010/03/21 22:22:53 jmc Exp $
4 # $Name: $
5
6 # confirmed on Halem by eh3, 2003-09-03
7 # netcdf: Tested and works: Wed Jul 21 11:55:34 EDT 2004
8
9 FC='f77'
10 LINK='f77'
11
12 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
13 DEFINES='-DTARGET_DEC -DWORDLENGTH=1'
14 CPP='/usr/local/bin/cpp -traditional -P'
15 S64='$(TOOLSDIR)/set64bitConst.sh'
16 RMFILES='*.p.out'
17 EXTENDED_SRC_FLAG='-extend_source'
18
19 #ph: makedepend not available on some/many DEC Alpha's; use mkdep instead
20 #EH3 Remove the buggy mkdep since the newly included cyrus version
21 #EH3 works much better on machines such as "halem"
22 #EH3 MAKEDEPEND='mkdep -f depend.out'
23
24 NOOPTFLAGS='-O0'
25 NOOPTFILES='barrier.F different_multiple.F external_fields_load.F'
26
27 FFLAGS="$FFLAGS -convert big_endian"
28 #FFLAGS="$FFLAGS -r8"
29
30 FFLAGS="$FFLAGS -fpe2 -automatic -call_shared -notransform_loops -align dcommons"
31 FOPTIM='-O5 -fast -tune host -inline all'
32 #ph: -O5 probably too aggressive in conjunction with adjoint code
33
34 if test "x$MPI" = xtrue ; then
35 INCLUDES="$INCLUDES -I/usr/ulocal/stow/netcdf-3.5.1/include"
36 LIBS="-L/usr/ulocal/stow/netcdf-3.5.1/lib -lnetcdf -lfmpi -lmpi -lkmp_osfp10 -pthread"
37 else
38 INCLUDES="$INCLUDES -I/usr/ulocal/stow/netcdf-3.5.1/include"
39 LIBS="-L/usr/ulocal/stow/netcdf-3.5.1/lib"
40 fi

  ViewVC Help
Powered by ViewVC 1.1.22