25 |
export OMP_NUM_THREADS=2 |
export OMP_NUM_THREADS=2 |
26 |
export KMP_STACKSIZE=400m |
export KMP_STACKSIZE=400m |
27 |
|
|
28 |
|
checkOut=1 |
29 |
|
#options="$options -nc" ; checkOut=0 |
30 |
|
#options="$options -q" ; checkOut=0 |
31 |
|
|
32 |
# cat << EOF > $HERE"/.cvspass" |
# cat << EOF > $HERE"/.cvspass" |
33 |
# /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0= |
# /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0= |
34 |
# EOF |
# EOF |
35 |
gcmDIR="MITgcm_$sfx" |
gcmDIR="MITgcm_$sfx" |
36 |
cd $TST_DIR |
cd $TST_DIR |
37 |
if test -e $gcmDIR ; then |
if test $checkOut = '1' ; then |
38 |
rm -rf $gcmDIR |
if test -e $gcmDIR ; then |
39 |
|
rm -rf $gcmDIR |
40 |
|
fi |
41 |
|
cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1 |
42 |
|
# cvs co MITgcm |
43 |
|
/usr/bin/find $gcmDIR -type d | xargs chmod g+rxs |
44 |
|
/usr/bin/find $gcmDIR -type f | xargs chmod g+r |
45 |
|
else |
46 |
|
if test -e $gcmDIR/verification ; then |
47 |
|
echo "dir $gcmDIR exist" |
48 |
|
else |
49 |
|
echo "no dir $gcmDIR/verification => exit" |
50 |
|
exit |
51 |
|
fi |
52 |
fi |
fi |
|
cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1 |
|
|
# cvs co MITgcm |
|
|
/usr/bin/find $gcmDIR -type d | xargs chmod g+rxs |
|
|
/usr/bin/find $gcmDIR -type f | xargs chmod g+r |
|
53 |
|
|
54 |
cd $gcmDIR/verification |
cd $gcmDIR/verification |
55 |
echo ./testreport $options -of $OPTFILE -odir aces-$sfx |
echo ./testreport $options -of $OPTFILE -odir aces-$sfx |