23 |
OPTFILE="../tools/build_options/linux_ia32_pgf77+mpi_aces" |
OPTFILE="../tools/build_options/linux_ia32_pgf77+mpi_aces" |
24 |
options='-mpi -match 10' |
options='-mpi -match 10' |
25 |
|
|
26 |
|
checkOut=1 |
27 |
|
#options="$options -nc" ; checkOut=0 |
28 |
|
#options="$options -q" ; checkOut=0 |
29 |
|
|
30 |
MF=$HERE"/mf_"$sfx |
MF=$HERE"/mf_"$sfx |
31 |
cat $PBS_NODEFILE | sort | uniq > $MF |
cat $PBS_NODEFILE | sort | uniq > $MF |
32 |
NCPU=`wc -l $MF | awk '{print $1}'` |
NCPU=`wc -l $MF | awk '{print $1}'` |
37 |
# EOF |
# EOF |
38 |
gcmDIR="MITgcm_$sfx" |
gcmDIR="MITgcm_$sfx" |
39 |
cd $TST_DIR |
cd $TST_DIR |
40 |
if test -e $gcmDIR ; then |
if test $checkOut = '1' ; then |
41 |
rm -rf $gcmDIR |
if test -e $gcmDIR ; then |
42 |
|
rm -rf $gcmDIR |
43 |
|
fi |
44 |
|
cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1 |
45 |
|
# cvs co MITgcm |
46 |
|
/usr/bin/find $gcmDIR -type d | xargs chmod g+rxs |
47 |
|
/usr/bin/find $gcmDIR -type f | xargs chmod g+r |
48 |
|
else |
49 |
|
if test -e $gcmDIR/verification ; then |
50 |
|
echo "dir $gcmDIR exist" |
51 |
|
else |
52 |
|
echo "no dir $gcmDIR/verification => exit" |
53 |
|
exit |
54 |
|
fi |
55 |
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 |
|
56 |
|
|
57 |
cd $gcmDIR/verification |
cd $gcmDIR/verification |
58 |
echo ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx |
echo ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx |