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

Annotation of /MITgcm/tools/build_options/linux_ia32_absoft

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


Revision 1.4 - (hide annotations) (download)
Sun Mar 21 22:22:52 2010 UTC (14 years, 2 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, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, 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, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, HEAD
Changes since 1.3: +4 -1 lines
add cvs Name and Header (if missing)

1 ce107 1.1 #!/bin/bash
2     #
3 jmc 1.4 # $Header: $
4     # $Name: $
5    
6     # To use our namelists please do a
7 ce107 1.2 # setenv ABSOFT_RT_FLAGS -f90nlexts
8 ce107 1.1 FC=af77
9     F90C=af90
10     CC=gcc
11 ce107 1.2 DEFINES='-DWORDLENGTH=4 -D_BYTESWAPIO -DHAVE_ETIME -DHAVE_SYSTEM -DHAVE_FDATE'
12 ce107 1.1 CPP='cpp -traditional -P'
13 ce107 1.2 NOOPTFLAGS='-B108 -YCFRL=1 -YEXT_NAMES=LCS -YVAR_NAMES=LCS -g -m32'
14     NOOPTFILES='ini_parms.F'
15 ce107 1.3 EXTENDED_SRC_FLAG='-W132'
16 ce107 1.1
17     if test "x$DEVEL" != x ; then
18     FFLAGS='-B108 -YCFRL=1 -YEXT_NAMES=LCS -YVAR_NAMES=LCS -g -trap=INVALID,DIVBYZERO,OVERFLOW -Rb -Rs -Rc'
19     else
20     FFLAGS='-B108 -YCFRL=1 -YEXT_NAMES=LCS -YVAR_NAMES=LCS'
21     fi
22    
23     if test "x$IEEE" = x ; then
24     # No need for IEEE-754
25 ce107 1.3 FOPTIM='-Ofast -m32 -fPIC -speed_math=9 -WOPT:if_conv=off -LNO:fu=9:full_unroll_size=7000 -cpu:host -TARG:sse2=on -TENV:simd_imask,simd_dmask,simd_zmask,simd_omask'
26 ce107 1.2 # FOPTIM='-O3 -m32 -U -cpu:host'
27 ce107 1.1 else
28     # Try to follow IEEE-754
29 ce107 1.2 FOPTIM='-O0 -m32'
30 ce107 1.1 fi
31     F90FLAGS=$FFLAGS
32     F90OPTIM=$FOPTIM
33 ce107 1.2 CFLAGS='-O3 -m32'
34 ce107 1.1
35     if [ "x$NETCDF_ROOT" != x ] ; then
36     INCLUDEDIR="${NETCDF_ROOT}/include"
37     INCLUDES="-I${NETCDF_ROOT}/include"
38     LIBDIR="${NETCDF_ROOT}/lib"
39     LIBS="-L${NETCDF_ROOT}/lib"
40     elif [ "x$NETCDF_HOME" != x ]; then
41     INCLUDEDIR="${NETCDF_HOME}/include"
42     INCLUDES="-I${NETCDF_HOME}/include"
43     LIBDIR="${NETCDF_HOME}/lib"
44     LIBS="-L${NETCDF_HOME}/lib"
45     elif [ "x$NETCDF_INC" != x -a "x$NETCDF_LIB" != x ]; then
46     NETCDF_INC=`echo $NETCDF_INC | sed 's/-I//g'`
47     NETCDF_LIB=`echo $NETCDF_LIB | sed 's/-L//g'`
48     INCLUDEDIR="${NETCDF_INC}"
49     INCLUDES="-I${NETCDF_INC}"
50     LIBDIR="${NETCDF_LIB}"
51     LIBS="-L${NETCDF_LIB}"
52     elif [ "x$NETCDF_INCDIR" != x -a "x$NETCDF_LIBDIR" != x ]; then
53     INCLUDEDIR="${NETCDF_INCDIR}"
54     INCLUDES="-I${NETCDF_INCDIR}"
55     LIBDIR="${NETCDF_LIBDIR}"
56     LIBS="-L${NETCDF_LIBDIR}"
57     elif test -d /usr/include/netcdf-3 ; then
58     INCLUDES='-I/usr/include/netcdf-3'
59     LIBS='-L/usr/lib/netcdf-3 -L/usr/lib64/netcdf-3'
60     elif test -d /usr/include/netcdf ; then
61     INCLUDES='-I/usr/include/netcdf'
62     elif test -d /usr/local/netcdf ; then
63     INCLUDES='-I/usr/local/netcdf/include'
64     LIBS='-L/usr/local/netcdf/lib'
65     elif test -d /usr/local/include/netcdf.inc ; then
66     INCLUDES='-I/usr/local/include'
67     LIBS='-L/usr/local/lib64'
68     fi
69    
70     LIBS="$LIBS -lU77"

  ViewVC Help
Powered by ViewVC 1.1.22