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

Diff of /MITgcm/tools/example_scripts/ACESgrid/aces_test_gnu_mpi

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

revision 1.8 by jmc, Fri Apr 3 21:31:34 2009 UTC revision 1.12 by jmc, Thu Apr 1 15:46:03 2010 UTC
# Line 9  Line 9 
9  # $Header$  # $Header$
10  # $Name$  # $Name$
11    
 umask 0022  
 TST_DIR="/home/jmc/test_ACES/gcm_tests"  
 HERE='/home/jmc/test_ACES/output'  
 cd $HERE  
   
12  if test -f /etc/profile.d/modules.sh ; then  if test -f /etc/profile.d/modules.sh ; then
13      . /etc/profile.d/modules.sh      . /etc/profile.d/modules.sh
14  fi  fi
15  # Note: added "ulimit -s unlimited" in file "~/.bashrc"  # Note: added "ulimit -s unlimited" in file "~/.bashrc"
16  #   to pass big test (the 2 fizhi-cs-* test) with MPI  # to pass big test (the 2 fizhi-cs-* test & adjoint tests) with MPI
17    
18    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"
23    HERE=$TST_DIR/output
24    #cd $HERE
25    
26  sfx='gnu'  sfx='gnu'
27  module add mpich/$sfx  module add mpich/$sfx
# Line 34  cat $PBS_NODEFILE | sort | uniq > $MF Line 37  cat $PBS_NODEFILE | sort | uniq > $MF
37  NCPU=`wc -l $MF | awk '{print $1}'`  NCPU=`wc -l $MF | awk '{print $1}'`
38  EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv"  EXE="mpirun -machinefile $MF -v -np $NCPU ./mitgcmuv"
39    
 # cat << EOF > $HERE"/.cvspass"  
 # /1 :pserver:cvsanon@mitgcm.org:2401/u/gcmpack Ah<Zy=0=  
 # EOF  
40  gcmDIR="MITgcm_$sfx"  gcmDIR="MITgcm_$sfx"
41  cd $TST_DIR  cd $TST_DIR
42  #- check for disk space:  #- check for disk space:
# Line 48  if [ $dsp -gt 99 ] ; then Line 48  if [ $dsp -gt 99 ] ; then
48  fi  fi
49  if [ $checkOut -eq 1 ] ; then  if [ $checkOut -eq 1 ] ; then
50    if test -d $gcmDIR/CVS ; then    if test -d $gcmDIR/CVS ; then
51        /bin/rm -rf $gcmDIR/verification/??_aces-${sfx}_????????_?
52    #   ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean )
53      echo "cvs update of dir $gcmDIR :"      echo "cvs update of dir $gcmDIR :"
54      ( 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}_????????_?  
55    else    else
56      echo "no dir: $gcmDIR/CVS => try a fresh check-out"      echo "no dir: $gcmDIR/CVS => try a fresh check-out"
57      checkOut=2      checkOut=2

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22