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

Contents of /MITgcm/tools/build_options/osf1_alpha_g77

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


Revision 1.7 - (show annotations) (download)
Thu Jun 29 00:10:18 2017 UTC (6 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
move some old optfiles (no significant updates for more than 10.yrs)
to "unsupported"

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/osf1_alpha_g77,v 1.6 2010/12/19 22:42:23 jmc Exp $
4 # $Name: $
5 #
6
7
8 FC=g77
9 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_EXTENDED_F77'
10 CPP='/usr/local/bin/cpp -traditional -P'
11 NOOPTFLAGS='-O0'
12 EXTENDED_SRC_FLAG='-ffixed-line-length-132'
13 GET_FC_VERSION="--version"
14 #EH3 Remove the buggy mkdep since the newly included cyrus version
15 #EH3 works much better on machines such as "halem"
16 #EH3 MAKEDEPEND='mkdep -f depend.out'
17
18 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
19
20 # netcdf
21 # DOES NOT (YET) WORK because the netcdf library installed on Halem
22 # was compiled with the "f77" compiler and the library is not
23 # compatible with g77 -- so we need to either build our own lib for
24 # g77 or ask the admins to do so.
25 # INCLUDES="$INCLUDES -I/usr/ulocal/stow/netcdf-3.5.1/include"
26 # LIBS="-L/usr/ulocal/stow/netcdf-3.5.1/lib -lnetcdf"
27
28 # For IEEE, use the "-ffloat-store" option
29 if test "x$IEEE" = x ; then
30 FFLAGS='-Wimplicit -Wunused -Wuninitialized'
31 FOPTIM='-O3 -funroll-loops'
32 else
33 FFLAGS='-Wimplicit -Wunused -ffloat-store'
34 FOPTIM='-O0'
35 fi

  ViewVC Help
Powered by ViewVC 1.1.22