63 |
echo " (-clean) *ONLY* run \"make CLEAN\" & clean run-dir" |
echo " (-clean) *ONLY* run \"make CLEAN\" & clean run-dir" |
64 |
echo " (-norun|-nr) skip the \"runmodel\" stage (stop after make)" |
echo " (-norun|-nr) skip the \"runmodel\" stage (stop after make)" |
65 |
echo " (-obj) only produces objects (=norun & no executable)" |
echo " (-obj) only produces objects (=norun & no executable)" |
66 |
|
echo " (-src) only produces small '*.f' src files (not even obj)" |
67 |
|
echo " + with: '-adm/-tlm', also makes taf outp src code" |
68 |
echo " (-runonly|-ro) *ONLY* run stage (=\"-quick\" without make)" |
echo " (-runonly|-ro) *ONLY* run stage (=\"-quick\" without make)" |
69 |
echo " (-quick|-q) same as \"-nogenmake -noclean -nodepend\"" |
echo " (-quick|-q) same as \"-nogenmake -noclean -nodepend\"" |
70 |
echo " (-nogenmake|-ng) skip the genmake stage" |
echo " (-nogenmake|-ng) skip the genmake stage" |
1172 |
|
|
1173 |
-norun | --norun | -nr | --nr) NORUN=t ;; |
-norun | --norun | -nr | --nr) NORUN=t ;; |
1174 |
-obj | --obj ) TARG='obj' ; NORUN=t ;; |
-obj | --obj ) TARG='obj' ; NORUN=t ;; |
1175 |
|
-src | --src ) TARG='small_f' ; NORUN=t ;; |
1176 |
-runonly | --runonly | -ro | --ro) QUICK=t ; NOMAKE=t ;; |
-runonly | --runonly | -ro | --ro) QUICK=t ; NOMAKE=t ;; |
1177 |
-quick | --quick | -q | --q) QUICK=t ;; |
-quick | --quick | -q | --q) QUICK=t ;; |
1178 |
-nogenmake | --nogenmake | -ng | --ng) NOGENMAKE=t ;; |
-nogenmake | --nogenmake | -ng | --ng) NOGENMAKE=t ;; |
1258 |
|
|
1259 |
#- setting for forward or ADM testing |
#- setting for forward or ADM testing |
1260 |
if test $KIND = 1 ; then |
if test $KIND = 1 ; then |
1261 |
TARG=ftlall |
if test "x$TARG" = xsmall_f ; then TARG=ftltaf ; else TARG=ftlall ; fi |
1262 |
code_dir=code_ad |
code_dir=code_ad |
1263 |
inputdir=input_ad |
inputdir=input_ad |
1264 |
ref_outp="output_tlm.txt" |
ref_outp="output_tlm.txt" |
1265 |
EXECUTABLE="mitgcmuv_ftl" |
EXECUTABLE="mitgcmuv_ftl" |
1266 |
elif test $KIND = 2 ; then |
elif test $KIND = 2 ; then |
1267 |
if test "x$TARG" = xobj ; then TARG=adobj ; else TARG=adall ; fi |
if test "x$TARG" = x ; then TARG=adall ; fi |
1268 |
|
if test "x$TARG" = xobj ; then TARG=adobj ; fi |
1269 |
|
if test "x$TARG" = xsmall_f ; then TARG=adtaf ; fi |
1270 |
code_dir=code_ad |
code_dir=code_ad |
1271 |
inputdir=input_ad |
inputdir=input_ad |
1272 |
ref_outp="output_adm.txt" |
ref_outp="output_adm.txt" |