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

Diff of /MITgcm/tools/build_options/linux_ia32_g77

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

revision 1.16 by edhill, Mon Jan 31 16:41:10 2005 UTC revision 1.22 by edhill, Thu Feb 9 20:21:54 2006 UTC
# Line 19  else Line 19  else
19      #  Try to follow IEEE-754      #  Try to follow IEEE-754
20      has_sse2=f      has_sse2=f
21      grep flags /proc/cpuinfo | grep sse2 > /dev/null 2>&1  &&  has_sse2=t      grep flags /proc/cpuinfo | grep sse2 > /dev/null 2>&1  &&  has_sse2=t
22    
23        # older OS on sea.mit.edu does not support sse
24        if [ `uname -n` = "sea" ]; then has_sse2=f; fi
25    
26      if test "x$has_sse2" = xt ; then      if test "x$has_sse2" = xt ; then
27          FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2'          FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2'
28      else      else
# Line 30  fi Line 34  fi
34    
35  if test -d /usr/include/netcdf-3 ; then  if test -d /usr/include/netcdf-3 ; then
36      INCLUDES='-I/usr/include/netcdf-3'      INCLUDES='-I/usr/include/netcdf-3'
37      LIBS='-L/usr/lib/netcdf-3'      if test -d /usr/lib/netcdf-3 ; then
38            if test -f /usr/lib/netcdf-3/libnetcdf_g77.a ; then
39                LIBS='-L/usr/lib/netcdf-3 -lnetcdf_g77'
40            else
41                LIBS='-L/usr/lib/netcdf-3'
42            fi
43        fi
44  elif test -d /usr/include/netcdf ; then  elif test -d /usr/include/netcdf ; then
45      INCLUDES='-I/usr/include/netcdf'      INCLUDES='-I/usr/include/netcdf'
46    elif test -d /usr/local/netcdf ; then
47        INCLUDES='-I/usr/local/netcdf/include'
48        LIBS='-L/usr/local/netcdf/lib'
49  fi  fi
50    GSLINC=''
51    GSLLIB='-lgsl -lgslcblas'
52    PAPIINC='-I/usr/local/pkg/papi/papi-3.0.8.1/p4/include'
53    PAPILIB='-L/usr/local/pkg/papi/papi-3.0.8.1/p4/lib -lpapi'
54    

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.22