17 |
# Note: added "ulimit -s unlimited" in file "~/.bashrc" |
# Note: added "ulimit -s unlimited" in file "~/.bashrc" |
18 |
# to pass big test (the 2 fizhi-cs-* test & adjoint tests) with MPI |
# to pass big test (the 2 fizhi-cs-* test & adjoint tests) with MPI |
19 |
|
|
|
dNam='aces' |
|
|
TST_DIR="$HOME/test_$dNam" |
|
|
echo "start from TST_DIR='$TST_DIR' at: "`date` |
|
|
|
|
20 |
umask 0022 |
umask 0022 |
21 |
#- to get case insensitive "ls" (and order of tested experiments) |
#- to get case insensitive "ls" (and order of tested experiments) |
22 |
export LC_ALL="en_US.UTF-8" |
export LC_ALL="en_US.UTF-8" |
23 |
|
echo " running on: "`hostname` |
24 |
|
|
25 |
|
dNam='aces' |
26 |
|
HERE="$HOME/test_$dNam" |
27 |
|
SavD="$HERE/send" |
28 |
|
SEND="ssh geo $SavD/mpack" |
29 |
|
TST_DIR=$HERE |
30 |
|
|
31 |
|
if test -d $TST_DIR ; then |
32 |
|
echo "start from TST_DIR='$TST_DIR' at: "`date` |
33 |
|
else |
34 |
|
# if test ! -d /scratch/jm_c ; then mkdir /scratch/jm_c ; fi |
35 |
|
if test ! -d $TST_DIR ; then mkdir $TST_DIR ; fi |
36 |
|
if test ! -d $TST_DIR ; then |
37 |
|
echo "ERROR: Can't create directory \"$TST_DIR\"" |
38 |
|
exit 1 |
39 |
|
fi |
40 |
|
echo "start in new dir TST_DIR='$TST_DIR' at: "`date` |
41 |
|
fi |
42 |
|
|
|
HERE=$TST_DIR/output |
|
43 |
sfx='tlm' |
sfx='tlm' |
44 |
module add open64 |
module add open64 |
45 |
export NETCDF_ROOT='/usr/local/pkg/netcdf/netcdf-3.5.1/g77' |
export NETCDF_ROOT='/usr/local/pkg/netcdf/netcdf-3.5.1/g77' |
50 |
export PATH="$PATH:$HOME/bin" |
export PATH="$PATH:$HOME/bin" |
51 |
|
|
52 |
#- keep a copy of MPI_MFILE: |
#- keep a copy of MPI_MFILE: |
53 |
cp -p $PBS_NODEFILE $HERE"/mf_"$sfx |
cp -p $PBS_NODEFILE $HERE"/output/mf_"$sfx |
54 |
|
|
55 |
checkOut=1 ; options="$options -do" |
checkOut=1 ; options="$options -do" |
56 |
#options="$options -nc" ; checkOut=0 |
#options="$options -nc" ; checkOut=0 |
126 |
exit |
exit |
127 |
fi |
fi |
128 |
|
|
|
SavD="$HOME/test_$dNam/send" |
|
|
SEND="ssh geo $SavD/mpack" |
|
|
|
|
129 |
echo ./testreport $options -of $OPTFILE -odir ${dNam}-$sfx \ |
echo ./testreport $options -of $OPTFILE -odir ${dNam}-$sfx \ |
130 |
-send \"$SEND\" -sd $SavD -a jmc@mitgcm.org |
-send \"$SEND\" -sd $SavD -a jmc@mitgcm.org |
131 |
./testreport $options -of $OPTFILE -odir ${dNam}-$sfx \ |
./testreport $options -of $OPTFILE -odir ${dNam}-$sfx \ |