** Warning **
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=MITgcm at /usr/local/share/lxr/lib/LXR/Common.pm line 1224.
Last-Modified: Fri, 28 Nov 2024 06:11:57 GMT
Content-Type: text/html; charset=utf-8
MITgcm/MITgcm/tools/build_options/linux_ia32_absoft
Warning, /tools/build_options/linux_ia32_absoft is written in an unsupported language. File is not indexed.
view on github raw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
a55812cda4 Cons* 0001 #!/bin/bash
0002 #
6144427bd2 Jean* 0003 # To use our namelists please do a
3ba944249c Cons* 0004 # setenv ABSOFT_RT_FLAGS -f90nlexts
a55812cda4 Cons* 0005 FC=af77
0006 F90C=af90
0007 CC=gcc
3ba944249c Cons* 0008 DEFINES='-DWORDLENGTH=4 -D_BYTESWAPIO -DHAVE_ETIME -DHAVE_SYSTEM -DHAVE_FDATE'
a55812cda4 Cons* 0009 CPP='cpp -traditional -P'
3ba944249c Cons* 0010 NOOPTFLAGS='-B108 -YCFRL=1 -YEXT_NAMES=LCS -YVAR_NAMES=LCS -g -m32'
0011 NOOPTFILES='ini_parms.F'
d31bcd9ef7 Cons* 0012 EXTENDED_SRC_FLAG='-W132'
a55812cda4 Cons* 0013
0014 if test "x$DEVEL" != x ; then
0015 FFLAGS='-B108 -YCFRL=1 -YEXT_NAMES=LCS -YVAR_NAMES=LCS -g -trap=INVALID,DIVBYZERO,OVERFLOW -Rb -Rs -Rc'
0016 else
0017 FFLAGS='-B108 -YCFRL=1 -YEXT_NAMES=LCS -YVAR_NAMES=LCS'
0018 fi
0019
0020 if test "x$IEEE" = x ; then
0021 # No need for IEEE-754
d31bcd9ef7 Cons* 0022 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'
3ba944249c Cons* 0023 # FOPTIM='-O3 -m32 -U -cpu:host'
a55812cda4 Cons* 0024 else
0025 # Try to follow IEEE-754
3ba944249c Cons* 0026 FOPTIM='-O0 -m32'
a55812cda4 Cons* 0027 fi
0028 F90FLAGS=$FFLAGS
0029 F90OPTIM=$FOPTIM
3ba944249c Cons* 0030 CFLAGS='-O3 -m32'
a55812cda4 Cons* 0031
0032 if [ "x$NETCDF_ROOT" != x ] ; then
0033 INCLUDEDIR="${NETCDF_ROOT}/include"
0034 INCLUDES="-I${NETCDF_ROOT}/include"
0035 LIBDIR="${NETCDF_ROOT}/lib"
0036 LIBS="-L${NETCDF_ROOT}/lib"
0037 elif [ "x$NETCDF_HOME" != x ]; then
0038 INCLUDEDIR="${NETCDF_HOME}/include"
0039 INCLUDES="-I${NETCDF_HOME}/include"
0040 LIBDIR="${NETCDF_HOME}/lib"
0041 LIBS="-L${NETCDF_HOME}/lib"
0042 elif [ "x$NETCDF_INC" != x -a "x$NETCDF_LIB" != x ]; then
0043 NETCDF_INC=`echo $NETCDF_INC | sed 's/-I//g'`
0044 NETCDF_LIB=`echo $NETCDF_LIB | sed 's/-L//g'`
0045 INCLUDEDIR="${NETCDF_INC}"
0046 INCLUDES="-I${NETCDF_INC}"
0047 LIBDIR="${NETCDF_LIB}"
0048 LIBS="-L${NETCDF_LIB}"
0049 elif [ "x$NETCDF_INCDIR" != x -a "x$NETCDF_LIBDIR" != x ]; then
0050 INCLUDEDIR="${NETCDF_INCDIR}"
0051 INCLUDES="-I${NETCDF_INCDIR}"
0052 LIBDIR="${NETCDF_LIBDIR}"
0053 LIBS="-L${NETCDF_LIBDIR}"
0054 elif test -d /usr/include/netcdf-3 ; then
0055 INCLUDES='-I/usr/include/netcdf-3'
0056 LIBS='-L/usr/lib/netcdf-3 -L/usr/lib64/netcdf-3'
0057 elif test -d /usr/include/netcdf ; then
0058 INCLUDES='-I/usr/include/netcdf'
0059 elif test -d /usr/local/netcdf ; then
0060 INCLUDES='-I/usr/local/netcdf/include'
0061 LIBS='-L/usr/local/netcdf/lib'
0062 elif test -d /usr/local/include/netcdf.inc ; then
0063 INCLUDES='-I/usr/local/include'
0064 LIBS='-L/usr/local/lib64'
0065 fi
0066
0067 LIBS="$LIBS -lU77"