#!/bin/bash # Copyright (c) 1998 Lawrence Livermore National Security, LLC and other # HYPRE Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) testname=`basename $0 .sh` # Echo usage information case $1 in -h|-help) cat < test.yaml grep ' hash:' test.yaml | sed -e 's/^.*: /\//' | xargs spack mark -e spack gc -y grep ' hash:' test.yaml | sed -e 's/^.*: /\//' | xargs spack mark -i rm -f test.yaml spack clean --all spack uninstall -yR $superludistspec # Echo to stderr all nonempty error files in $output_dir for errfile in $( find $output_dir ! -size 0 -name "*.err" ) do echo $errfile >&2 done