[Dart-dev] DART/branches Revision: 13097
dart at ucar.edu
dart at ucar.edu
Wed Apr 3 16:36:59 MDT 2019
nancy at ucar.edu
2019-04-03 16:36:59 -0600 (Wed, 03 Apr 2019)
443
- revamp dart tests to include option to test with mpi.
- rename all tests to have consistent name - most now
build and run the executables.
- put the build and run output into separate log files
so the main log has only errors and is easier to digest.
- the obs converters need many .in files to feed values
into standard input; these need to be added to the
dart test_build_datasets.tar or this will hang trying
to read stdin.
Deleted: DART/branches/rma_trunk/assimilation_code/programs/buildall.csh
===================================================================
--- DART/branches/rma_trunk/assimilation_code/programs/buildall.csh 2019-04-03 22:24:25 UTC (rev 13096)
+++ DART/branches/rma_trunk/assimilation_code/programs/buildall.csh 2019-04-03 22:36:59 UTC (rev 13097)
@@ -1,122 +0,0 @@
-#!/bin/csh
-#
-# DART software - Copyright UCAR. This open source software is provided
-# by UCAR, "as is", without charge, subject to all terms of use at
-# http://www.image.ucar.edu/DAReS/DART/DART_download
-#
-# DART $Id$
-#
-# build and test all the programs given in the list.
-# usage: [ -mpi | -nompi | -default ]
-#
-#----------------------------------------------------------------------
-
-set usingmpi=no
-
-if ( $#argv > 0 ) then
- if ( "$argv[1]" == "-mpi" ) then
- set usingmpi=yes
- else if ( "$argv[1]" == "-default" ) then
- set usingmpi=default
- else if ( "$argv[1]" == "-nompi" ) then
- set usingmpi=no
- else
- echo "Unrecognized argument to $0: $argv[1]"
- echo "Usage: $0 [ -mpi | -nompi | -default ]"
- echo " default is to run tests without MPI"
- exit -1
- endif
-endif
-
-# set the environment variable MPI to anything in order to enable the
-# MPI builds and tests. set the argument to the build scripts so it
-# knows which ones to build.
-if ( "$usingmpi" == "yes" ) then
- echo "Will be building with MPI enabled"
- set QUICKBUILD_ARG='-mpi'
-else if ( "$usingmpi" == "default" ) then
- echo "Will be building with the default MPI settings"
- set QUICKBUILD_ARG=''
-else if ( "$usingmpi" == "no" ) then
- echo "Will NOT be building with MPI enabled"
- set QUICKBUILD_ARG='-nompi'
-else
- echo "Internal error: unrecognized value of usingmpi; should not happen"
- exit -1
-endif
-
-#----------------------------------------------------------------------
-
-if ( ! $?REMOVE) then
- setenv REMOVE 'rm -f'
-endif
-
-if ( ! $?host) then
- setenv host `uname -n`
-endif
-
-echo "Running DART programs test on $host"
-
-#----------------------------------------------------------------------
-
-set programdir = `pwd`
-
-# set the list of programs to include here
-
-set DO_THESE_PROGRAMS = ( \
- compare_states \
- gen_sampling_err_table \
- system_simulation \
-)
-
-#----------------------------------------------------------------------
-# Compile all executables for each program.
-#----------------------------------------------------------------------
-
-@ programnum = 1
-
-foreach PROGRAM ( $DO_THESE_PROGRAMS )
-
- echo
- echo
- echo "=================================================================="
- echo "=================================================================="
- echo "Compiling $PROGRAM starting at "`date`
- echo "=================================================================="
- echo "=================================================================="
- echo
- echo
-
- cd ${programdir}/${PROGRAM}/work
- set FAILURE = 0
-
- ./quickbuild.csh ${QUICKBUILD_ARG} || set FAILURE = 1
-
- @ programnum = $programnum + 1
-
More information about the Dart-dev
mailing list