/[MITgcm]/MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mth
ViewVC logotype

Annotation of /MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mth

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (hide annotations) (download)
Thu May 22 22:32:48 2008 UTC (15 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint59r, checkpoint61b, checkpoint61a
Changes since 1.5: +20 -7 lines
easier to modify to run a 2nd time without checking out the full code

1 jmc 1.1 #!/bin/bash
2     #
3 jmc 1.4 #PBS -q four-twelve
4 jmc 1.1 #PBS -N tst_mth
5     #PBS -l nodes=1:ppn=2
6     #PBS -e /home/jmc/test_ACES/output/tst_mth.stderr
7     #PBS -o /home/jmc/test_ACES/output/tst_mth.stdout
8    
9 jmc 1.6 # $Header: /u/gcmpack/MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mth,v 1.5 2008/01/25 15:17:20 jmc Exp $
10 jmc 1.1 # $Name: $
11    
12 jmc 1.5 umask 0022
13     TST_DIR="/home/jmc/test_ACES/gcm_tests"
14     HERE='/home/jmc/test_ACES/output'
15     cd $HERE
16    
17 jmc 1.1 if test -f /etc/profile.d/modules.sh ; then
18     . /etc/profile.d/modules.sh
19     fi
20 jmc 1.5
21     sfx='mth'
22 jmc 1.1 module add ifc/9.0.021 icc/9.0.021 intel/9.0
23 jmc 1.5 OPTFILE="../tools/build_options/linux_ia32_ifort.aces+mth"
24     options='-j 2 -mth -match 10'
25 jmc 1.1 export OMP_NUM_THREADS=2
26     export KMP_STACKSIZE=400m
27    
28 jmc 1.6 checkOut=1
29     #options="$options -nc" ; checkOut=0
30     #options="$options -q" ; checkOut=0
31    
32 jmc 1.1 # cat << EOF > $HERE"/.cvspass"
33     # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=
34     # EOF
35 jmc 1.5 gcmDIR="MITgcm_$sfx"
36     cd $TST_DIR
37 jmc 1.6 if test $checkOut = '1' ; then
38     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 jmc 1.1 fi
53    
54 jmc 1.5 cd $gcmDIR/verification
55     echo ./testreport $options -of $OPTFILE -odir aces-$sfx
56     ./testreport $options -of $OPTFILE -odir aces-$sfx
57 jmc 1.1

  ViewVC Help
Powered by ViewVC 1.1.22