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

Diff of /MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mpi

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

revision 1.12 by jmc, Fri Jun 26 16:13:17 2009 UTC revision 1.16 by jmc, Tue Dec 14 21:34:45 2010 UTC
# Line 21  umask 0022 Line 21  umask 0022
21  #- to get case insensitive "ls" (and order of tested experiments)  #- to get case insensitive "ls" (and order of tested experiments)
22  export LC_ALL="en_US.UTF-8"  export LC_ALL="en_US.UTF-8"
23    
24  TST_DIR="/home/jmc/test_ACES/gcm_tests"  TST_DIR="/home/jmc/test_ACES"
25  HERE='/home/jmc/test_ACES/output'  HERE=$TST_DIR/output
26  cd $HERE  #cd $HERE
27    
28  sfx='ifc'  sfx='ifc'
29   module add mpich/intel   module add mpich/intel
# Line 45  EXE="mpirun -machinefile $MF -v -np $NCP Line 45  EXE="mpirun -machinefile $MF -v -np $NCP
45  gcmDIR="MITgcm_$sfx"  gcmDIR="MITgcm_$sfx"
46  cd $TST_DIR  cd $TST_DIR
47  #- check for disk space:  #- check for disk space:
48  dsp=`df . | tail -1 | awk '{print $5}' | sed 's/%$//'`  dsp=`df -P . | tail -1 | awk '{print $5}' | sed 's/%$//'`
49  if [ $dsp -gt 99 ] ; then  if [ $dsp -gt 99 ] ; then
50    echo 'Not enough space on this disk => do not run testreport.'    echo 'Not enough space on this disk => do not run testreport.'
51    df .    df .
# Line 53  if [ $dsp -gt 99 ] ; then Line 53  if [ $dsp -gt 99 ] ; then
53  fi  fi
54  if [ $checkOut -eq 1 ] ; then  if [ $checkOut -eq 1 ] ; then
55    if test -d $gcmDIR/CVS ; then    if test -d $gcmDIR/CVS ; then
56        /bin/rm -rf $gcmDIR/verification/??_aces-${sfx}_????????_?
57      ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean )      ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean )
58      echo "cvs update of dir $gcmDIR :"      echo "cvs update of dir $gcmDIR :"
59      ( 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 ) 2>&1
     /bin/rm -rf $gcmDIR/verification/??_aces-${sfx}_????????_?  
60    else    else
61      echo "no dir: $gcmDIR/CVS => try a fresh check-out"      echo "no dir: $gcmDIR/CVS => try a fresh check-out"
62      checkOut=2      checkOut=2

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

  ViewVC Help
Powered by ViewVC 1.1.22