/[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.3 - (hide annotations) (download)
Mon Sep 17 18:48:04 2007 UTC (16 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j
Changes since 1.2: +4 -4 lines
lower matching criteria (10 instead of 13) for pass/FAIL summary

1 jmc 1.1 #!/bin/bash
2     #
3     #PBS -q long
4     #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     # #PBS -V
9     # ^- commented out => do not export env. variable !
10     # since head node environment (& module) is too different from computer node
11    
12 jmc 1.3 # $Header: /u/gcmpack/MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mth,v 1.2 2007/08/08 18:47:48 jmc Exp $
13 jmc 1.1 # $Name: $
14    
15     if test -f /etc/profile.d/modules.sh ; then
16     . /etc/profile.d/modules.sh
17     fi
18     module add ifc/9.0.021 icc/9.0.021 intel/9.0
19     export OMP_NUM_THREADS=2
20     export KMP_STACKSIZE=400m
21    
22 jmc 1.2 umask 0022
23 jmc 1.1 TST_DIR="/home/jmc/test_ACES/gcm_tests"
24     HERE='/home/jmc/test_ACES/output'
25     cd $HERE
26    
27 jmc 1.3 MC=10
28 jmc 1.1 FC=ifort
29    
30     # cat << EOF > $HERE"/.cvspass"
31     # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=
32     # EOF
33     tmpDIR=${TST_DIR}"/tmp_mth"
34     if test -e $tmpDIR ; then
35     rm -rf $tmpDIR
36     fi
37     mkdir $tmpDIR
38     cd $tmpDIR
39     cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P MITgcm > /dev/null 2>&1
40     # cvs co MITgcm
41     /usr/bin/find $tmpDIR -type d | xargs chmod g+rxs
42     /usr/bin/find $tmpDIR -type f | xargs chmod g+r
43    
44     cd MITgcm/verification
45     OPTFILE="../tools/build_options/linux_ia32_"$FC".aces+mth"
46 jmc 1.3 echo ./testreport -j 2 -mth -match $MC -of $OPTFILE
47     ./testreport -j 2 -mth -match $MC -of $OPTFILE
48 jmc 1.1

  ViewVC Help
Powered by ViewVC 1.1.22