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

Diff of /MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mth

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

revision 1.4 by jmc, Thu Dec 6 03:32:12 2007 UTC revision 1.5 by jmc, Fri Jan 25 15:17:20 2008 UTC
# Line 5  Line 5 
5  #PBS -l nodes=1:ppn=2  #PBS -l nodes=1:ppn=2
6  #PBS -e /home/jmc/test_ACES/output/tst_mth.stderr  #PBS -e /home/jmc/test_ACES/output/tst_mth.stderr
7  #PBS -o /home/jmc/test_ACES/output/tst_mth.stdout  #PBS -o /home/jmc/test_ACES/output/tst_mth.stdout
 # #PBS -V  
 #  ^- commented out => do not export env. variable !  
 #  since head node environment (& module) is too different from computer node  
8    
9  # $Header$  # $Header$
10  # $Name$  # $Name$
11    
12    umask 0022
13    TST_DIR="/home/jmc/test_ACES/gcm_tests"
14    HERE='/home/jmc/test_ACES/output'
15    cd $HERE
16    
17  if test -f /etc/profile.d/modules.sh ; then  if test -f /etc/profile.d/modules.sh ; then
18      . /etc/profile.d/modules.sh      . /etc/profile.d/modules.sh
19  fi  fi
20    
21    sfx='mth'
22  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
23    OPTFILE="../tools/build_options/linux_ia32_ifort.aces+mth"
24    options='-j 2 -mth -match 10'
25  export OMP_NUM_THREADS=2  export OMP_NUM_THREADS=2
26  export KMP_STACKSIZE=400m  export KMP_STACKSIZE=400m
27    
 umask 0022  
 TST_DIR="/home/jmc/test_ACES/gcm_tests"  
 HERE='/home/jmc/test_ACES/output'  
 cd $HERE  
   
 MC=10  
 FC=ifort  
   
28  # cat << EOF > $HERE"/.cvspass"  # cat << EOF > $HERE"/.cvspass"
29  # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=  # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=
30  # EOF  # EOF
31  tmpDIR=${TST_DIR}"/tmp_mth"  gcmDIR="MITgcm_$sfx"
32  if test -e $tmpDIR ; then  cd $TST_DIR
33      rm -rf $tmpDIR  if test -e $gcmDIR ; then
34        rm -rf $gcmDIR
35  fi  fi
36  mkdir $tmpDIR  cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1
 cd $tmpDIR  
 cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P MITgcm > /dev/null 2>&1  
37  #  cvs co MITgcm  #  cvs co MITgcm
38  /usr/bin/find $tmpDIR -type d | xargs chmod g+rxs  /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs
39  /usr/bin/find $tmpDIR -type f | xargs chmod g+r  /usr/bin/find $gcmDIR -type f | xargs chmod g+r
40    
41  cd MITgcm/verification  cd $gcmDIR/verification
42  OPTFILE="../tools/build_options/linux_ia32_"$FC".aces+mth"  echo ./testreport $options -of $OPTFILE -odir aces-$sfx
43  echo ./testreport -j 2 -mth -match $MC -of $OPTFILE -odir aces-mth  ./testreport $options -of $OPTFILE -odir aces-$sfx
 ./testreport -j 2 -mth -match $MC -of $OPTFILE -odir aces-mth  
44    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.22