/[MITgcm]/MITgcm/verification/testscript
ViewVC logotype

Diff of /MITgcm/verification/testscript

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

revision 1.20 by adcroft, Thu Dec 6 15:26:16 2001 UTC revision 1.21 by adcroft, Mon Mar 4 16:48:08 2002 UTC
# Line 316  $0 [-help] [-quick] [-verbose] dir1 [dir Line 316  $0 [-help] [-quick] [-verbose] dir1 [dir
316   -clean     Do "make CLEAN" after compiling and testing.   -clean     Do "make CLEAN" after compiling and testing.
317   -shorttest Don't compare numeric output for mean and s.d. of variables.   -shorttest Don't compare numeric output for mean and s.d. of variables.
318   -noieee    By default, $0 uses the -ieee option for genmake. This turns it off.   -noieee    By default, $0 uses the -ieee option for genmake. This turns it off.
319     -cleanup   Aggresively removes all model output, executables and object files
320                and then exits. Use with care.
321    
322  Normal usage:  Normal usage:
323   $0 *       Configure, compile, run and analyze in all experiment directories   $0 *       Configure, compile, run and analyze in all experiment directories
# Line 334  else Line 336  else
336  fi  fi
337  }  }
338    
339    clean_up()
340    {
341    # Find all executables, object files, CPP'd source and model output
342    # and DELETE it.
343    for opt in '-name mitgcmuv*' '-name *.o' '-name *.f' '-name *.c' '-path *results -prune -o -name *.meta' '-path *results -prune -o -name *.data' '-type l'
344     do
345       echo Cleaning: find . $opt -exec rm {} \;
346       find . $opt -exec rm {} \;
347    done
348    }
349    
350  ###############################################################################  ###############################################################################
351    
352  # Main function  # Main function
# Line 352  expts='' Line 365  expts=''
365  for arg in $@  for arg in $@
366  do  do
367   case $arg in   case $arg in
368       -cleanup) clean_up; exit 0;;
369     -quick) quick=1;;     -quick) quick=1;;
370     -verbose) verbose=2;;     -verbose) verbose=2;;
371     -debug) debug=1;;     -debug) debug=1;;

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

  ViewVC Help
Powered by ViewVC 1.1.22