1 |
#!/bin/bash |
2 |
# |
3 |
#PBS -q long |
4 |
#PBS -N eh3_mth |
5 |
#PBS -l nodes=1:ppn=2 |
6 |
#PBS -e /home/edhill/test_outp/eh3_mth.stderr |
7 |
#PBS -o /home/edhill/test_outp/eh3_mth.stdout |
8 |
#PBS -V |
9 |
|
10 |
if test -f /etc/profile.d/modules.sh ; then |
11 |
. /etc/profile.d/modules.sh |
12 |
fi |
13 |
module add ifc/9.0.021 icc/9.0.021 intel/9.0 |
14 |
export OMP_NUM_THREADS=2 |
15 |
export KMP_STACKSIZE=400m |
16 |
|
17 |
HERE='/home/edhill/test_outp' |
18 |
cd $HERE |
19 |
|
20 |
FC=ifort |
21 |
|
22 |
# cat << EOF > $HERE"/.cvspass" |
23 |
# /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0= |
24 |
# EOF |
25 |
umask 0022 |
26 |
TDIR="/net/ds-01/scratch-5/edhill/tmp_mth" |
27 |
if test -e $TDIR ; then |
28 |
rm -rf $TDIR |
29 |
fi |
30 |
mkdir $TDIR |
31 |
cd $TDIR |
32 |
cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P MITgcm > /dev/null 2>&1 |
33 |
# cvs co MITgcm |
34 |
/usr/bin/find $TDIR -type d | xargs chmod g+rxs |
35 |
/usr/bin/find $TDIR -type f | xargs chmod g+r |
36 |
|
37 |
cd MITgcm/verification |
38 |
OPTFILE="../tools/build_options/linux_ia32_"$FC".aces+mth" |
39 |
# ./testreport -j 2 -mth -of $OPTFILE -command "$EXE" -a 'edhill@mitgcm.org' |
40 |
echo ./testreport -j 2 -mth -of $OPTFILE |
41 |
./testreport -j 2 -mth -of $OPTFILE |