1083 |
} |
} |
1084 |
|
|
1085 |
check_lapack_libs() { |
check_lapack_libs() { |
1086 |
if test ! "x$SKIP_LAPACK_CHECK" = x ; then |
if test "x$CHECK_FOR_LAPACK" = xf ; then return ; fi |
|
return |
|
|
fi |
|
1087 |
echo >> $LOGFILE |
echo >> $LOGFILE |
1088 |
echo "running: check_lapack_libs()" >> $LOGFILE |
echo "running: check_lapack_libs()" >> $LOGFILE |
1089 |
cat <<EOF > genmake_tla.F |
cat <<EOF > genmake_tla.F |
1279 |
DEVEL= |
DEVEL= |
1280 |
HAVE_TEST_L= |
HAVE_TEST_L= |
1281 |
|
|
1282 |
# comment this line out to enable lapack test |
# set this to "t" to enable lapack test |
1283 |
SKIP_LAPACK_CHECK=t |
CHECK_FOR_LAPACK=f |
1284 |
|
|
1285 |
# DEFINES checked by test compilation or command-line |
# DEFINES checked by test compilation or command-line |
1286 |
HAVE_SYSTEM= |
HAVE_SYSTEM= |
2971 |
|
|
2972 |
small_f: \$(F77_PP_SRC_FILES) \$(F90_PP_SRC_FILES) |
small_f: \$(F77_PP_SRC_FILES) \$(F90_PP_SRC_FILES) |
2973 |
|
|
|
# output.txt: \$(EXECUTABLE) |
|
|
# @printf 'running ... ' |
|
|
# @\$(EXECUTABLE) > \$@ |
|
|
|
|
2974 |
# remove most of the files that "make" generates |
# remove most of the files that "make" generates |
2975 |
clean: |
clean: |
2976 |
-rm -rf *.p *.$FS90 *.mod ${RMFILES} work.{pc,pcl} *.template |
-rm -rf *.p *.$FS90 *.mod ${RMFILES} work.{pc,pcl} *.template |
3370 |
small_f: \$(CB2M_F90_PP_SRC_FILES) |
small_f: \$(CB2M_F90_PP_SRC_FILES) |
3371 |
.PHONY: small_f |
.PHONY: small_f |
3372 |
|
|
|
# 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) > \$@ |
|
|
|
|
3373 |
ad_input_code.f$FS90: \$(CB2M_AD_FILES) |
ad_input_code.f$FS90: \$(CB2M_AD_FILES) |
3374 |
cat \$^ > \$@ |
cat \$^ > \$@ |
3375 |
|
|