/[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.4 - (hide annotations) (download)
Thu Mar 3 22:53:03 2005 UTC (19 years, 2 months ago) by edhill
Branch: MAIN
Changes since 1.3: +3 -1 lines
 o add FC_NAMEMANGLE() macro for halem w/ g77

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

  ViewVC Help
Powered by ViewVC 1.1.22