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

Contents of /MITgcm/tools/build_options/linux_ia32_g77

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


Revision 1.8 - (show annotations) (download)
Sun Aug 29 15:38:33 2004 UTC (19 years, 8 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint54e_post, checkpoint55, checkpoint54f_post
Changes since 1.7: +2 -2 lines
 o g77 cleanup
   - make IEEE more consistent
   - recent g77 versions forbid "-Wuninitialized" with "-O0"

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_g77,v 1.7 2004/07/30 20:53:25 edhill Exp $
4 # $Name: $
5 #
6
7
8 FC=g77
9 CC=gcc
10 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4'
11 CPP='cpp -traditional -P'
12 NOOPTFLAGS='-O0'
13
14 if test "x$IEEE" = x ; then
15 # No need for IEEE-754
16 FFLAGS='-Wimplicit -Wunused -Wuninitialized'
17 FOPTIM='-O3 -malign-double -funroll-loops'
18 else
19 # Try to follow IEEE-754
20 FFLAGS='-Wimplicit -Wunused -ffloat-store'
21 FOPTIM='-O0 -malign-double'
22 fi
23
24 # netcdf
25 # LIBS="-lnetcdf"

  ViewVC Help
Powered by ViewVC 1.1.22