/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

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

revision 1.261 by jahn, Thu Aug 22 16:04:18 2013 UTC revision 1.263 by jahn, Mon Jan 6 16:49:10 2014 UTC
# Line 1576  for ac_option in "$@" ; do Line 1576  for ac_option in "$@" ; do
1576    
1577  done  done
1578    
1579  TMP=./genmk_$$  #TMP=./genmk_$$
1580  #- try to put temporary files in system-local /tmp dir  #- try to put temporary files in system-local /tmp dir
1581  #TMP=/tmp/genmk_$$  TMP=/tmp/genmk_$$
1582  #touch $TMP ; retVal=$?  touch $TMP ; retVal=$?
1583  #if [ $retVal -eq 0 ] ; then  if [ $retVal -eq 0 ] ; then
1584  #  if test ! -r $TMP ; then TMP=./genmk_$$ ; fi    if test ! -r $TMP ; then TMP=./genmk_$$ ; fi
1585  #else  else
1586  #  TMP=./genmk_$$    TMP=./genmk_$$
1587  #fi  fi
1588  #rm -f $TMP  rm -f $TMP
1589  ##echo "  temp files: $TMP.*"  #echo "  temp files: $TMP.*"
1590    
1591  printf "  getting local config information:  "  printf "  getting local config information:  "
1592  if test -f $gm_local ; then  if test -f $gm_local ; then
# Line 2356  EOF Line 2356  EOF
2356      fi      fi
2357  fi  fi
2358    
 #  Check for package RADTRANS: if LAPACK is not available,  
 #  then issue a warning that the direct radtrans solver is not available.  
 if test "x$HAVE_LAPACK" != xt ; then  
     echo " $PACKAGES " | grep ' radtrans ' > /dev/null 2>&1  
     RETVAL=$?  
     if test "x$RETVAL" = x0 ; then  
         cat <<EOF  
 *********************************************************************  
 WARNING: the "radtrans" package was enabled but tests failed to  
   compile LAPACK applications.  This means that the direct radtrans  
   solver is not available and compilation will fail if it is enabled.  
   If you want to use the direct solver, please check that:  
   
   1) LAPACK is correctly installed for this compiler and  
   2) the LIBS variable (within the "optfile") specifies the correct  
      LAPACK library to link against.  
 *********************************************************************  
 EOF  
     fi  
 fi  
   
2359  #  Make sure the openad package is enabled if using OpenAD  #  Make sure the openad package is enabled if using OpenAD
2360  if test "x$OPENAD" != x ; then  if test "x$OPENAD" != x ; then
2361      echo " $PACKAGES " | grep ' openad ' > /dev/null 2>&1      echo " $PACKAGES " | grep ' openad ' > /dev/null 2>&1

Legend:
Removed from v.1.261  
changed lines
  Added in v.1.263

  ViewVC Help
Powered by ViewVC 1.1.22