9 |
# $Header$ |
# $Header$ |
10 |
# $Name$ |
# $Name$ |
11 |
|
|
12 |
|
if test -f /etc/profile.d/modules.sh ; then |
13 |
|
. /etc/profile.d/modules.sh |
14 |
|
fi |
15 |
|
# Note: added to pass big test (the 2 fizhi-cs-* test) |
16 |
|
ulimit -s unlimited |
17 |
|
|
18 |
umask 0022 |
umask 0022 |
19 |
|
#- to get case insensitive "ls" (and order of tested experiments) |
20 |
|
export LC_ALL="en_US.UTF-8" |
21 |
|
|
22 |
TST_DIR="/home/jmc/test_ACES/gcm_tests" |
TST_DIR="/home/jmc/test_ACES/gcm_tests" |
23 |
HERE='/home/jmc/test_ACES/output' |
HERE='/home/jmc/test_ACES/output' |
24 |
cd $HERE |
cd $HERE |
25 |
|
|
|
if test -f /etc/profile.d/modules.sh ; then |
|
|
. /etc/profile.d/modules.sh |
|
|
fi |
|
|
|
|
26 |
sfx='mth' |
sfx='mth' |
27 |
module add ifc/9.0.021 icc/9.0.021 intel/9.0 |
module add ifc/9.0.021 icc/9.0.021 intel/9.0 |
28 |
OPTFILE="../tools/build_options/linux_ia32_ifort.aces+mth" |
OPTFILE="../tools/build_options/linux_ia32_ifort.aces" |
29 |
options='-j 2 -mth -match 10' |
options='-j 2 -mth -match 10' |
30 |
export OMP_NUM_THREADS=2 |
export OMP_NUM_THREADS=2 |
31 |
export KMP_STACKSIZE=400m |
export KMP_STACKSIZE=400m |
34 |
#options="$options -nc" ; checkOut=0 |
#options="$options -nc" ; checkOut=0 |
35 |
#options="$options -q" ; checkOut=0 |
#options="$options -q" ; checkOut=0 |
36 |
|
|
|
# cat << EOF > $HERE"/.cvspass" |
|
|
# /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0= |
|
|
# EOF |
|
37 |
gcmDIR="MITgcm_$sfx" |
gcmDIR="MITgcm_$sfx" |
38 |
cd $TST_DIR |
cd $TST_DIR |
39 |
#- check for disk space: |
#- check for disk space: |
45 |
fi |
fi |
46 |
if [ $checkOut -eq 1 ] ; then |
if [ $checkOut -eq 1 ] ; then |
47 |
if test -d $gcmDIR/CVS ; then |
if test -d $gcmDIR/CVS ; then |
48 |
|
/bin/rm -rf $gcmDIR/verification/tr_aces-${sfx}_????????_? |
49 |
|
# ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean ) |
50 |
echo "cvs update of dir $gcmDIR :" |
echo "cvs update of dir $gcmDIR :" |
51 |
( cd $gcmDIR ; cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack update -P -d ) |
( cd $gcmDIR ; cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack update -P -d ) |
|
/bin/rm -rf $gcmDIR/verification/tr_aces-${sfx}_????????_? |
|
52 |
else |
else |
53 |
echo "no dir: $gcmDIR/CVS => try a fresh check-out" |
echo "no dir: $gcmDIR/CVS => try a fresh check-out" |
54 |
checkOut=2 |
checkOut=2 |