/[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.20 by jmc, Thu Sep 8 13:39:59 2011 UTC revision 1.21 by jmc, Thu Nov 3 17:36:33 2011 UTC
# Line 17  fi Line 17  fi
17  # Note: added "ulimit -s unlimited" in file "~/.bashrc"  # Note: added "ulimit -s unlimited" in file "~/.bashrc"
18  # to pass big test (the 2 fizhi-cs-* test & adjoint tests) with MPI  # to pass big test (the 2 fizhi-cs-* test & adjoint tests) with MPI
19    
20    dNam='aces'
21    TST_DIR="$HOME/test_$dNam"
22    echo "start from TST_DIR='$TST_DIR' at: "`date`
23    
24  umask 0022  umask 0022
25  #- to get case insensitive "ls" (and order of tested experiments)  #- to get case insensitive "ls" (and order of tested experiments)
26  export LC_ALL="en_US.UTF-8"  export LC_ALL="en_US.UTF-8"
27    
 TST_DIR="/home/jmc/test_ACES"  
28  HERE=$TST_DIR/output  HERE=$TST_DIR/output
 #cd $HERE  
   
29  sfx='ifc'  sfx='ifc'
30   module add mpich/intel   module add mpich/intel
31   module add netcdf/3.6.1/icc   module add netcdf/3.6.1/icc
# Line 44  checkOut=1 Line 45  checkOut=1
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 -P . | 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    dsp=`df -P . | tail -1 | awk '{print $4}'`
51    if [ $dsp -le 3200000 ] ; then
52    echo 'Not enough space on this disk => do not run testreport.'    echo 'Not enough space on this disk => do not run testreport.'
53    df .    df .
54    exit    exit
55  fi  fi
56  if [ $checkOut -eq 1 ] ; then  if [ $checkOut -eq 1 ] ; then
57    if test -d $gcmDIR/CVS ; then    if test -d $gcmDIR/CVS ; then
58      /bin/rm -rf $gcmDIR/verification/??_aces-${sfx}_????????_?      /bin/rm -rf $gcmDIR/verification/??_${dNam}-${sfx}_????????_?
59      ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean )      ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean )
60      echo "cvs update of dir $gcmDIR :"      echo "cvs update of dir $gcmDIR :"
61      ( cd $gcmDIR ; cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack update -P -d ) 2>&1      ( cd $gcmDIR ; cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack update -P -d ) 2>&1
# Line 86  else Line 89  else
89    exit    exit
90  fi  fi
91    
92  echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir aces-$sfx  echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir ${dNam}-$sfx
93  ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx  ./testreport $options -of $OPTFILE -command "$EXE" -odir ${dNam}-$sfx
94    
95  echo ''  echo ''
96  echo ../tools/do_tst_2+2 -mpi -mf $PBS_NODEFILE -exe \"$EXE\" -o aces-$sfx -a NONE  echo ../tools/do_tst_2+2 -mpi -mf $PBS_NODEFILE -exe \"$EXE\" -o ${dNam}-$sfx -a NONE
97  ../tools/do_tst_2+2 -mpi -mf $PBS_NODEFILE -exe "$EXE" -o aces-$sfx -a NONE  ../tools/do_tst_2+2 -mpi -mf $PBS_NODEFILE -exe "$EXE" -o ${dNam}-$sfx -a NONE
98    

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.22