5 |
#PBS -l nodes=1:ppn=2 |
#PBS -l nodes=1:ppn=2 |
6 |
#PBS -e /home/jmc/test_ACES/output/tst_tuv.stderr |
#PBS -e /home/jmc/test_ACES/output/tst_tuv.stderr |
7 |
#PBS -o /home/jmc/test_ACES/output/tst_tuv.stdout |
#PBS -o /home/jmc/test_ACES/output/tst_tuv.stdout |
8 |
|
|
9 |
# $Header$ |
# $Header$ |
10 |
# $Name$ |
# $Name$ |
11 |
|
|
12 |
umask 0022 |
# ACES-grid PBS-batch script: test using open64 + "Trap Un-initialised Var." option |
|
TST_DIR="/home/jmc/test_ACES/gcm_tests" |
|
|
HERE='/home/jmc/test_ACES/output' |
|
|
cd $HERE |
|
13 |
|
|
14 |
if test -f /etc/profile.d/modules.sh ; then |
if test -f /etc/profile.d/modules.sh ; then |
15 |
. /etc/profile.d/modules.sh |
. /etc/profile.d/modules.sh |
17 |
# Note: added to pass big test (the 2 fizhi-cs-* test) |
# Note: added to pass big test (the 2 fizhi-cs-* test) |
18 |
ulimit -s unlimited |
ulimit -s unlimited |
19 |
|
|
20 |
|
umask 0022 |
21 |
|
#- to get case insensitive "ls" (and order of tested experiments) |
22 |
|
export LC_ALL="en_US.UTF-8" |
23 |
|
|
24 |
|
TST_DIR="/home/jmc/test_ACES/gcm_tests" |
25 |
|
HERE='/home/jmc/test_ACES/output' |
26 |
|
cd $HERE |
27 |
|
|
28 |
sfx='tuv' |
sfx='tuv' |
29 |
module add open64 |
module add open64 |
30 |
OPTFILE="../tools/build_options/linux_ia32_open64.trapuv" |
OPTFILE="../tools/build_options/linux_ia32_open64.trapuv" |
35 |
#options="$options -nc" ; checkOut=0 |
#options="$options -nc" ; checkOut=0 |
36 |
#options="$options -q" ; checkOut=0 |
#options="$options -q" ; checkOut=0 |
37 |
|
|
|
# cat << EOF > $HERE"/.cvspass" |
|
|
# /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0= |
|
|
# EOF |
|
38 |
gcmDIR="MITgcm_$sfx" |
gcmDIR="MITgcm_$sfx" |
39 |
cd $TST_DIR |
cd $TST_DIR |
40 |
#- check for disk space: |
#- check for disk space: |
75 |
echo ./testreport $options -of $OPTFILE -odir aces-$sfx |
echo ./testreport $options -of $OPTFILE -odir aces-$sfx |
76 |
./testreport $options -of $OPTFILE -odir aces-$sfx |
./testreport $options -of $OPTFILE -odir aces-$sfx |
77 |
|
|
78 |
|
echo -n 'run ./testreport -clean ...' |
79 |
|
./testreport -clean > /dev/null 2>&1 |
80 |
|
echo -n ' done at: ' ; date |
81 |
|
|