Skip to content
Snippets Groups Projects
Commit 12d1886c authored by Markus Blatt's avatar Markus Blatt
Browse files

only stat mpi environment once!

[[Imported from SVN: r636]]
parent 00da5e9a
No related branches found
No related tags found
No related merge requests found
# $Id$
RUNNERS = run-galerkin run-hierarchy run-amg
EXTRA_DIST = $(RUNNERS)
if MPI
MPITESTS =
TESTPROGS = galerkintest hierarchytest pamgtest transfertest
TESTRUNS = $(RUNNERS)
endif
NORMALTESTS = amgtest graphtest $(MPITESTS)
# which tests to run
TESTS = $(NORMALTESTS) $(TESTRUNS)
TESTS = $(NORMALTESTS) $(DUNE_COMMON_ROOT)/bin/perhapsstartmpi $(TESTPROGS) \
$(DUNE_COMMON_ROOT)/bin/perhapsstopmpi
# programs just to build when "make check" is used
check_PROGRAMS = $(TESTPROGS) $(NORMALTESTS)
......
#!/bin/sh
# $Id$
# run lamboot if possible
if which lamboot; then
lamboot 2>&1 > /dev/null
fi
# start test and abort on fail
set -e
mpirun -np 1 pamgtest
set +e
# possibly stop LAM again
if which lamhalt; then
lamhalt 2>&1 > /dev/null
fi
#!/bin/sh
# $Id$
# run lamboot if possible
if which lamboot; then
lamboot 2>&1 > /dev/null
fi
# start test and abort on fail
set -e
mpirun -np 1 galerkintest
set +e
# possibly stop LAM again
if which lamhalt; then
lamhalt 2>&1 > /dev/null
fi
#!/bin/sh
# $Id$
# run lamboot if possible
if which lamboot; then
lamboot 2>&1 > /dev/null
fi
# start test and abort on fail
set -e
mpirun -np 1 hierarchytest
set +e
# possibly stop LAM again
if which lamhalt; then
lamhalt 2>&1 > /dev/null
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment