--- MITgcm/tools/genmake2 2014/04/04 21:34:01 1.265 +++ MITgcm/tools/genmake2 2014/05/07 19:36:22 1.266 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/genmake2,v 1.265 2014/04/04 21:34:01 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/genmake2,v 1.266 2014/05/07 19:36:22 jmc Exp $ # $Name: $ # # Makefile generator for MITgcm UV codes @@ -1083,9 +1083,7 @@ } check_lapack_libs() { - if test ! "x$SKIP_LAPACK_CHECK" = x ; then - return - fi + if test "x$CHECK_FOR_LAPACK" = xf ; then return ; fi echo >> $LOGFILE echo "running: check_lapack_libs()" >> $LOGFILE cat < genmake_tla.F @@ -1281,8 +1279,8 @@ DEVEL= HAVE_TEST_L= -# comment this line out to enable lapack test -SKIP_LAPACK_CHECK=t +# set this to "t" to enable lapack test +CHECK_FOR_LAPACK=f # DEFINES checked by test compilation or command-line HAVE_SYSTEM= @@ -2973,10 +2971,6 @@ small_f: \$(F77_PP_SRC_FILES) \$(F90_PP_SRC_FILES) -# output.txt: \$(EXECUTABLE) -# @printf 'running ... ' -# @\$(EXECUTABLE) > \$@ - # remove most of the files that "make" generates clean: -rm -rf *.p *.$FS90 *.mod ${RMFILES} work.{pc,pcl} *.template @@ -3376,13 +3370,6 @@ small_f: \$(CB2M_F90_PP_SRC_FILES) .PHONY: small_f -# ad_output.txt: \$(EXE_AD) -# @printf 'linking data files ... ' -# \$(LN) -f ../input_ad/data* ../input_ad/eedata . -# \$(LN) -f ../../global_ocean.90x40x15/input/*.bin . -# @printf 'running ... ' -# @./\$(EXE_AD) > \$@ - ad_input_code.f$FS90: \$(CB2M_AD_FILES) cat \$^ > \$@