/[MITgcm]/MITgcm/tools/build_options/unsupported/linux_ia32_open64.trapuv
ViewVC logotype

Contents of /MITgcm/tools/build_options/unsupported/linux_ia32_open64.trapuv

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


Revision 1.1 - (show annotations) (download)
Thu Sep 29 16:15:42 2011 UTC (12 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
move to unsupported/ (has been merged into linux_ia32_open64)

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_open64.trapuv,v 1.4 2011/07/28 22:22:50 jmc Exp $
4 # $Name: $
5 #
6 # Build options for Fedore Core 4 i686 Pentium4
7 # tested on ACES, (Linux a54-1727-072 2.6.11.7smp-perfctr-tty #5 SMP Fri Apr 22 15:07:50 EDT 2005 i686 i686 i386 GNU/Linux) system 20071213
8 #
9 # Please note the appropriate module command:
10 # module add open64
11 #
12 # Set environment variable 'GSL_IEEE_MODE' if using "-gsl" option:
13 # sh,bash:
14 # export GSL_IEEE_MODE=double-precision,mask-underflow,mask-denormalized
15 # csh/tcsh:
16 # setenv GSL_IEEE_MODE double-precision,mask-underflow,mask-denormalized
17
18 CC=opencc
19 FC=openf90
20 LD=openf90
21 # due to Pb in version 4.0 of the compiler with option "-byteswapio" (or "-convert big_endian")
22 # use the MITgcm local version of bytes swapping:
23 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4'
24 #DEFINES='-DWORDLENGTH=4'
25 CPP='cpp -traditional -P'
26 MAKEDEPEND=/usr/X11R6/bin/makedepend
27 GET_FC_VERSION="--version"
28
29 NOOPTFLAGS='-O0 -g'
30 NOOPTFILES='ini_vertical_grid.F'
31
32 if test "x$DEVEL" != x ; then
33 FFLAGS='-m32 -fPIC -ffortran-bounds-check -trapuv -g'
34 # FFLAGS='-m32 -convert big_endian -fPIC -ffortran-bounds-check -trapuv -g'
35 else
36 FFLAGS='-m32 -fPIC'
37 # FFLAGS='-m32 -convert big_endian -fPIC'
38 fi
39
40 if test "x$IEEE" = x ; then
41 # No need for IEEE-754
42 FOPTIM='-O2 -LNO:fusion=2 -OPT:roundoff=1:IEEE_arithmetic=3' # -funsafe-math-optimizations'
43 else
44 # full checking options:
45 NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F'
46 FFLAGS='-m32 -fPIC -ffortran-bounds-check -trapuv -g'
47 # Try to follow IEEE-754
48 FOPTIM='-O0 -LNO:fusion=2 -OPT:roundoff=0:IEEE_arithmetic=1 -fmath-errno -fno-fast-math'
49 fi
50
51 F90FLAGS=$FFLAGS
52 F90OPTIM=$FOPTIM
53 CFLAGS='-O2 -m32 -fPIC'
54 GSLLIB='-lgsl -lgslcblas'
55
56 LIBS='-L/usr/local/pkg/netcdf/netcdf-3.5.1/g77/lib '
57 INCLUDES='-I/usr/local/pkg/netcdf/netcdf-3.5.1/g77/include '

  ViewVC Help
Powered by ViewVC 1.1.22