/[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.29 by jmc, Tue Aug 20 18:53:11 2013 UTC revision 1.30 by jmc, Wed May 7 16:22:24 2014 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    
 dNam='aces'  
 TST_DIR="$HOME/test_$dNam"  
 echo "start from TST_DIR='$TST_DIR' at: "`date`  
   
20  umask 0022  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    echo " running on: "`hostname`
24    
25    dNam='aces'
26    HERE="$HOME/test_$dNam"
27    SavD="$HERE/send"
28    SEND="ssh geo $SavD/mpack"
29    TST_DIR=$HERE
30    
31    if test -d $TST_DIR ; then
32      echo "start from TST_DIR='$TST_DIR' at: "`date`
33    else
34    # if test ! -d /scratch/jm_c ; then mkdir /scratch/jm_c ; fi
35      if test ! -d $TST_DIR ; then mkdir $TST_DIR ; fi
36      if test ! -d $TST_DIR ; then
37        echo "ERROR: Can't create directory \"$TST_DIR\""
38        exit 1
39      fi
40      echo "start in new dir TST_DIR='$TST_DIR' at: "`date`
41    fi
42    
 HERE=$TST_DIR/output  
43  sfx='ifc'  sfx='ifc'
44   module add mpich/intel   module add mpich/intel
45   module add netcdf/3.6.1/icc   module add netcdf/3.6.1/icc
# Line 36  sfx='ifc' Line 50  sfx='ifc'
50   EXE="mpirun -machinefile TR_MFILE -v -np TR_NPROC ./mitgcmuv"   EXE="mpirun -machinefile TR_MFILE -v -np TR_NPROC ./mitgcmuv"
51    
52  #- keep a copy of MPI_MFILE:  #- keep a copy of MPI_MFILE:
53  cp -p $PBS_NODEFILE $HERE"/mf_"$sfx  cp -p $PBS_NODEFILE $HERE"/output/mf_"$sfx
54    
55  checkOut=1 ; #options="$options -do"  checkOut=1 ; #options="$options -do"
56  #options="$options -nc" ; checkOut=0  #options="$options -nc" ; checkOut=0
# Line 112  else Line 126  else
126    exit    exit
127  fi  fi
128    
 SavD="$HOME/test_$dNam/send"  
 SEND="ssh geo $SavD/mpack"  
   
129  echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir ${dNam}-$sfx \  echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir ${dNam}-$sfx \
130    -send \"$SEND\" -sd $SavD -a jmc@mitgcm.org    -send \"$SEND\" -sd $SavD -a jmc@mitgcm.org
131  ./testreport $options -of $OPTFILE -command "$EXE" -odir ${dNam}-$sfx \  ./testreport $options -of $OPTFILE -command "$EXE" -odir ${dNam}-$sfx \

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.22