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

Annotation of /MITgcm/tools/build_options/linux_ia32_g77

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


Revision 1.12 - (hide annotations) (download)
Wed Dec 8 22:11:52 2004 UTC (19 years, 5 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57b_post, checkpoint57c_pre, checkpoint57a_post, checkpoint57a_pre, checkpoint57
Changes since 1.11: +7 -2 lines
 o update for the in-submission Fedora Extras NetCDF RPMs

1 edhill 1.1 #!/bin/bash
2     #
3 edhill 1.12 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_g77,v 1.11 2004/10/13 03:59:02 edhill Exp $
4 edhill 1.4 # $Name: $
5 edhill 1.1 #
6    
7    
8     FC=g77
9 edhill 1.7 CC=gcc
10 edhill 1.1 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4'
11     CPP='cpp -traditional -P'
12     NOOPTFLAGS='-O0'
13 edhill 1.5
14 edhill 1.1 if test "x$IEEE" = x ; then
15 edhill 1.7 # No need for IEEE-754
16 edhill 1.1 FFLAGS='-Wimplicit -Wunused -Wuninitialized'
17     FOPTIM='-O3 -malign-double -funroll-loops'
18     else
19 edhill 1.7 # Try to follow IEEE-754
20 edhill 1.8 FFLAGS='-Wimplicit -Wunused -ffloat-store'
21 edhill 1.1 FOPTIM='-O0 -malign-double'
22     fi
23    
24 edhill 1.12 if test -d /usr/include/netcdf-3 ; then
25     INCLUDES='-I/usr/include/netcdf-3'
26     LIBS='-L/usr/lib/netcdf-3'
27     elif test -d /usr/include/netcdf ; then
28     INCLUDES='-I/usr/include/netcdf'
29     fi
30 edhill 1.1

  ViewVC Help
Powered by ViewVC 1.1.22