/[MITgcm]/MITgcm/verification/testreport
ViewVC logotype

Diff of /MITgcm/verification/testreport

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

revision 1.194 by jmc, Thu Aug 22 19:34:15 2013 UTC revision 1.195 by jmc, Sun Sep 22 23:35:56 2013 UTC
# Line 19  usage() Line 19  usage()
19      echo "  (-mpi)                   use MPI to compile and run on 2 processors"      echo "  (-mpi)                   use MPI to compile and run on 2 processors"
20      echo "  (-MPI)  NUMBER           use MPI to compile and run on max NUMBER procs"      echo "  (-MPI)  NUMBER           use MPI to compile and run on max NUMBER procs"
21      echo "  (-mfile|-mf) STRING      MPI: file with list of possible machines to run on"      echo "  (-mfile|-mf) STRING      MPI: file with list of possible machines to run on"
22      echo "  (-command|-c) STRING     command to run (needed for MPI run)"      echo "  (-command|-c) STRING     command to run (e.g., if non-standard MPI setting)"
23        echo "                            DEF='mitgcmuv' or ='mpirun -np TR_NPROC mitgcmuv'"
24      echo " ---- testing options : ----"      echo " ---- testing options : ----"
25      echo "  (-optfile|-of) STRING    list of optfiles to use"      echo "  (-optfile|-of) STRING    list of optfiles to use"
26      echo "  (-fast)                  use optfile default for compiler flags (no '-ieee')"      echo "  (-fast)                  use optfile default for compiler flags (no '-ieee')"
# Line 1293  fi Line 1294  fi
1294    
1295  LOC_MFILE='tr_mpi_mfile'  LOC_MFILE='tr_mpi_mfile'
1296  RUNLOG="run.tr_log"  RUNLOG="run.tr_log"
1297  OUTPUTFILE=$ref_outp  if test "x$MPI" = x0 ; then
1298  if test "x$COMMAND" = x ; then    OUTPUTFILE=$ref_outp
1299      COMMAND="./$EXECUTABLE > $OUTPUTFILE"    if test "x$COMMAND" = x ; then COMMAND="./$EXECUTABLE > $OUTPUTFILE" ; fi
1300  fi  else
1301  if test "x$MPI" != x0 ; then    OUTPUTFILE="STDOUT.0000"
1302      OUTPUTFILE="STDOUT.0000"    if test "x$COMMAND" = x ; then COMMAND="mpirun -v -np TR_NPROC ./$EXECUTABLE" ; fi
1303  fi  fi
1304    
1305  echo "OK (COMMAND= $COMMAND )"  echo "OK (COMMAND='$COMMAND')"
1306    
1307  TMP=./tr_$$  TMP=./tr_$$
1308  #- try to put temporary files in system-local /tmp dir  #- try to put temporary files in system-local /tmp dir

Legend:
Removed from v.1.194  
changed lines
  Added in v.1.195

  ViewVC Help
Powered by ViewVC 1.1.22