331 |
'HthSiN') testoutput_var $1 "thSI_IceH_ave_N" "thSIc H North-av" $2 $refoutp ; yy=$? ;; |
'HthSiN') testoutput_var $1 "thSI_IceH_ave_N" "thSIc H North-av" $2 $refoutp ; yy=$? ;; |
332 |
'HthMxS') testoutput_var $1 "thSI_IceH_max_S" "thSIc H South-max" $2 $refoutp ; yy=$? ;; |
'HthMxS') testoutput_var $1 "thSI_IceH_max_S" "thSIc H South-max" $2 $refoutp ; yy=$? ;; |
333 |
'HthMxN') testoutput_var $1 "thSI_IceH_max_N" "thSIc H North-max" $2 $refoutp ; yy=$? ;; |
'HthMxN') testoutput_var $1 "thSI_IceH_max_N" "thSIc H North-max" $2 $refoutp ; yy=$? ;; |
334 |
|
'sbo_M') testoutput_var $1 "sbo_mass" "SBO mass" $2 $refoutp ; yy=$? ;; |
335 |
|
'sboFW') testoutput_var $1 "sbo_mass_fw" "SBO m-FW" $2 $refoutp ; yy=$? ;; |
336 |
|
'sboAc') testoutput_var $1 "sbo_zoamc" "SBO AM-C" $2 $refoutp ; yy=$? ;; |
337 |
|
'sboAp') testoutput_var $1 "sbo_zoamp" "SBO AM-P" $2 $refoutp ; yy=$? ;; |
338 |
'StrmIc') testoutput_var $1 "STREAMICE_FP_ERR" "StreamIce Solver" $2 $refoutp ; yy=$? ;; |
'StrmIc') testoutput_var $1 "STREAMICE_FP_ERR" "StreamIce Solver" $2 $refoutp ; yy=$? ;; |
339 |
*) yy=99; echo "WARNING: asking for var=$xx : not recognized !" 1>&2 ;; |
*) yy=99; echo "WARNING: asking for var=$xx : not recognized !" 1>&2 ;; |
340 |
esac |
esac |
372 |
if test "x$MKDEPEND" != x ; then |
if test "x$MKDEPEND" != x ; then |
373 |
command="$command -makedepend=$MKDEPEND" |
command="$command -makedepend=$MKDEPEND" |
374 |
fi |
fi |
375 |
if test $KIND = 1 -o $KIND = 2 ; then |
if test $KIND = 4 ; then |
376 |
command="$command --mods=../code_ad" |
command="$command -oad -mods=../$code_dir" |
|
elif test $KIND = 4 ; then |
|
|
command="$command -adof ../../../tools/adjoint_options/adjoint_oad -mods ../code_oad" |
|
377 |
else |
else |
378 |
command="$command -mods=../code" |
command="$command -mods=../$code_dir" |
379 |
fi |
fi |
380 |
if test "x$OPTFILE" != xNONE ; then |
if test "x$OPTFILE" != xNONE ; then |
381 |
command="$command -optfile=$OPTFILE" |
command="$command -optfile=$OPTFILE" |
1363 |
CMDLINE="$CMDLINE $yy" ; fi |
CMDLINE="$CMDLINE $yy" ; fi |
1364 |
fi |
fi |
1365 |
done |
done |
|
#for xx in "$@" ; do CMDLINE="$CMDLINE '$xx'" ; done |
|
1366 |
MACH=`hostname` |
MACH=`hostname` |
1367 |
UNAMEA=`uname -a` |
UNAMEA=`uname -a` |
1368 |
DATE=`date +%Y%m%d` |
DATE=`date +%Y%m%d` |
1370 |
if test "x$OUTDIR" != x ; then |
if test "x$OUTDIR" != x ; then |
1371 |
BASE="tr_"$OUTDIR"_"$DATE"_" |
BASE="tr_"$OUTDIR"_"$DATE"_" |
1372 |
else |
else |
1373 |
short_name=`hostname | sed 's/\..*$//'` |
#short_name=`hostname | sed 's/\..*$//'` |
1374 |
|
short_name=`hostname -s | tr '[:upper:]' '[:lower:]'` |
1375 |
BASE="tr_"$short_name"_"$DATE"_" |
BASE="tr_"$short_name"_"$DATE"_" |
1376 |
fi |
fi |
1377 |
DNUM=0 |
DNUM=0 |