137 |
if [ $quick -eq 0 -o ! -r Makefile ]; then |
if [ $quick -eq 0 -o ! -r Makefile ]; then |
138 |
printf 'genmake ... ' 1>&2 |
printf 'genmake ... ' 1>&2 |
139 |
if [ $ieee -eq 0 ]; then |
if [ $ieee -eq 0 ]; then |
140 |
../../../tools/$genmake -mods=../code > make.log 2>&1 |
../../../tools/genmake2 -mods=../code > make.log 2>&1 |
141 |
else |
else |
142 |
../../../tools/$genmake -ieee -mods=../code > make.log 2>&1 |
../../../tools/genmake2 -ieee -mods=../code > make.log 2>&1 |
143 |
fi |
fi |
144 |
if [ $? -ne 0 ]; then |
if [ $? -ne 0 ]; then |
145 |
tail make.log |
tail make.log |
235 |
# if [ ! -r $2 ]; then |
# if [ ! -r $2 ]; then |
236 |
# mkdir $2 |
# mkdir $2 |
237 |
# fi |
# fi |
238 |
( cd $2; ln -sf ../input/* .) |
( cd $2; ln -sf ../input/{eedata,data*,*.bin,POLY3*,pickup*} .) |
239 |
fi |
fi |
240 |
} |
} |
241 |
|
|
331 |
-noieee By default, $0 uses the -ieee option for genmake. This turns it off. |
-noieee By default, $0 uses the -ieee option for genmake. This turns it off. |
332 |
-cleanup Aggresively removes all model output, executables and object files |
-cleanup Aggresively removes all model output, executables and object files |
333 |
and then exits. Use with care. |
and then exits. Use with care. |
|
-2 Use genmake2 rather than genmake |
|
334 |
|
|
335 |
Normal usage: |
Normal usage: |
336 |
$0 * Configure, compile, run and analyze in all experiment directories |
$0 * Configure, compile, run and analyze in all experiment directories |
387 |
-debug) debug=1;; |
-debug) debug=1;; |
388 |
-force) force=1;; |
-force) force=1;; |
389 |
-clean) clean=1;; |
-clean) clean=1;; |
|
-2) genmake=genmake2;; |
|
390 |
-noieee) ieee=0;; |
-noieee) ieee=0;; |
391 |
-shorttest) longtest=0;; |
-shorttest) longtest=0;; |
392 |
-quiet) verbose=0;; |
-quiet) verbose=0;; |