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

Annotation of /MITgcm/tools/build_options/osf1_alpha_g77

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


Revision 1.7 - (hide 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 edhill 1.1 #!/bin/bash
2     #
3 jmc 1.7 # $Header: /u/gcmpack/MITgcm/tools/build_options/osf1_alpha_g77,v 1.6 2010/12/19 22:42:23 jmc Exp $
4 edhill 1.1 # $Name: $
5     #
6    
7    
8     FC=g77
9 jmc 1.6 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_EXTENDED_F77'
10 edhill 1.5 CPP='/usr/local/bin/cpp -traditional -P'
11 edhill 1.1 NOOPTFLAGS='-O0'
12 jmc 1.6 EXTENDED_SRC_FLAG='-ffixed-line-length-132'
13     GET_FC_VERSION="--version"
14 edhill 1.2 #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 edhill 1.1
18 edhill 1.4 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
19    
20 edhill 1.1 # netcdf
21 edhill 1.3 # DOES NOT (YET) WORK because the netcdf library installed on Halem
22 jmc 1.6 # 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 edhill 1.3 # 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 edhill 1.1
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
36    
37    
38    

  ViewVC Help
Powered by ViewVC 1.1.22