15 |
echo 'step = 2 : copy input files and dir(s)' |
echo 'step = 2 : copy input files and dir(s)' |
16 |
echo "step = 3 : run on $Np processor" |
echo "step = 3 : run on $Np processor" |
17 |
echo 'step = 4 : check the results' |
echo 'step = 4 : check the results' |
18 |
|
echo 'step = 5 : remove output files in rank_0,1,2 dir.' |
19 |
exit |
exit |
20 |
fi |
fi |
21 |
kpr=$1 |
kpr=$1 |
54 |
if test -f build_ocn/Makefile ; then cd build_ocn ; make CLEAN ; cd .. ; fi |
if test -f build_ocn/Makefile ; then cd build_ocn ; make CLEAN ; cd .. ; fi |
55 |
if test -f build_atm/Makefile ; then cd build_atm ; make CLEAN ; cd .. ; fi |
if test -f build_atm/Makefile ; then cd build_atm ; make CLEAN ; cd .. ; fi |
56 |
fi |
fi |
57 |
|
if test $kpr = 5 |
58 |
|
then |
59 |
|
echo 'remove output files in rank_0,1,2 dir.' |
60 |
|
rm -f pr_group std_outp |
61 |
|
if test -d rank_0 ; then cd rank_0 ; rm -f Coupler.0000.clog ; cd .. ; fi |
62 |
|
if test -d rank_1 |
63 |
|
then cd rank_1 ; rm -f *.data *.meta STD???.0000 UV-*.0001.clog ; cd .. ; fi |
64 |
|
if test -d rank_2 |
65 |
|
then cd rank_2 ; rm -f *.data *.meta STD???.0000 UV-*.0001.clog ; cd .. ; fi |
66 |
|
fi |
67 |
|
|
68 |
if test $kpr = 1 |
if test $kpr = 1 |
69 |
then |
then |