--- MITgcm/tools/genmake2 2013/08/22 16:04:18 1.261 +++ MITgcm/tools/genmake2 2014/01/06 16:49:10 1.263 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/genmake2,v 1.261 2013/08/22 16:04:18 jahn Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/genmake2,v 1.263 2014/01/06 16:49:10 jahn Exp $ # $Name: $ # # Makefile generator for MITgcm UV codes @@ -1576,17 +1576,17 @@ done -TMP=./genmk_$$ +#TMP=./genmk_$$ #- try to put temporary files in system-local /tmp dir -#TMP=/tmp/genmk_$$ -#touch $TMP ; retVal=$? -#if [ $retVal -eq 0 ] ; then -# if test ! -r $TMP ; then TMP=./genmk_$$ ; fi -#else -# TMP=./genmk_$$ -#fi -#rm -f $TMP -##echo " temp files: $TMP.*" +TMP=/tmp/genmk_$$ +touch $TMP ; retVal=$? +if [ $retVal -eq 0 ] ; then + if test ! -r $TMP ; then TMP=./genmk_$$ ; fi +else + TMP=./genmk_$$ +fi +rm -f $TMP +#echo " temp files: $TMP.*" printf " getting local config information: " if test -f $gm_local ; then @@ -2356,27 +2356,6 @@ fi fi -# 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 < /dev/null 2>&1