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

Diff of /MITgcm/tools/build_options/linux_ia32_open64

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

revision 1.3 by ce107, Mon Jun 22 23:13:30 2009 UTC revision 1.4 by jmc, Fri Aug 14 20:28:19 2009 UTC
# Line 6  Line 6 
6  # Build options for Fedore Core 4 i686 Pentium4  # Build options for Fedore Core 4 i686 Pentium4
7  # tested on (Linux lagoon 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 i686 i386 GNU/Linux) system 20071121  # tested on (Linux lagoon 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 i686 i386 GNU/Linux) system 20071121
8  #  #
9    # Note: use just -O2 optimisation to avoid some wierd problems with -O3
10    #       on aces (open64/4.1 & 4.2) (ideal_2D_ocean)
11    
12  CC=opencc  CC=opencc
13  FC=openf90  FC=openf90
# Line 26  fi Line 28  fi
28    
29  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
30      #  No need for IEEE-754      #  No need for IEEE-754
31      FOPTIM='-O3 -LNO:fusion=2 -OPT:roundoff=1:IEEE_arithmetic=3' # -funsafe-math-optimizations'      FOPTIM='-O2 -LNO:fusion=2 -OPT:roundoff=1:IEEE_arithmetic=3' # -funsafe-math-optimizations'
32  else  else
33      #  Try to follow IEEE-754      #  Try to follow IEEE-754
34      FOPTIM='-O3 -LNO:fusion=2 -OPT:roundoff=0:IEEE_arithmetic=1 -fmath-errno -fno-fast-math'      FOPTIM='-O2 -LNO:fusion=2 -OPT:roundoff=0:IEEE_arithmetic=1 -fmath-errno -fno-fast-math'
35  fi  fi
36    
37  F90FLAGS=$FFLAGS  F90FLAGS=$FFLAGS
38  F90OPTIM=$FOPTIM  F90OPTIM=$FOPTIM
39  CFLAGS='-O3 -m32'  CFLAGS='-O2 -m32'
40  GSLLIB='-lgsl -lgslcblas'  GSLLIB='-lgsl -lgslcblas'
41    
42  if [ "x$NETCDF_ROOT" != x ] ; then  if [ "x$NETCDF_ROOT" != x ] ; then

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22