Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-istl
Commits
697a905f
Commit
697a905f
authored
18 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
only start mpi environment once.
[[Imported from SVN: r634]]
parent
c2f998a5
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
istl/test/Makefile.am
+3
-4
3 additions, 4 deletions
istl/test/Makefile.am
istl/test/perhapsstartmpi
+7
-0
7 additions, 0 deletions
istl/test/perhapsstartmpi
istl/test/perhapsstopmpi
+9
-0
9 additions, 0 deletions
istl/test/perhapsstopmpi
istl/test/run-syncer
+0
-17
0 additions, 17 deletions
istl/test/run-syncer
with
19 additions
and
21 deletions
istl/test/Makefile.am
+
3
−
4
View file @
697a905f
# $Id$
RUNNERS
=
run-indices run-syncer run-vectorcommtest
EXTRA_DIST
=
$(
RUNNERS
)
EXTRA_DIST
=
perhapsstartmpi perhapsstopmpi
if
MPI
INDEXPROG
=
indicestest syncertest vectorcommtest
SELECTPROG
=
selectiontest
INDEXRUN
=
$(
RUNNERS
)
INDEXRUN
=
$(
INDEXPROG
)
endif
# which tests where program to build and run are equal
NORMALTESTS
=
matrixutilstest bvectortest indexsettest
$(
SELECTPROG
)
# list of tests to run (indicestest is special case)
TESTS
=
$(
NORMALTESTS
)
$(
INDEXRUN
)
TESTS
=
$(
NORMALTESTS
)
perhapsstartmpi
$(
INDEXRUN
)
perhapsstopmpi
# programs just to build when "make check" is used
check_PROGRAMS
=
$(
NORMALTESTS
)
$(
INDEXPROG
)
...
...
This diff is collapsed.
Click to expand it.
istl/test/
run-vectorcommtest
→
istl/test/
perhapsstartmpi
+
7
−
0
View file @
697a905f
...
...
@@ -2,16 +2,6 @@
# $ Id: $
# run lamboot if possible
if
which lamboot
;
then
if
which lamboot
>/dev/null
;
then
lamboot 2>&1
>
/dev/null
fi
# start test and abort on fail
set
-e
mpirun
-np
1 vectorcommtest
set
+e
# possibly stop LAM again
if
which lamhalt
;
then
lamhalt 2>&1
>
/dev/null
fi
This diff is collapsed.
Click to expand it.
istl/test/
run-indices
→
istl/test/
perhapsstopmpi
+
9
−
0
View file @
697a905f
#!/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 indicestest
set
+e
# possibly stop LAM again
if
which lamhalt
;
then
if
which lamhalt
>
/dev/null
;
then
lamhalt 2>&1
>
/dev/null
sleep
2
fi
This diff is collapsed.
Click to expand it.
istl/test/run-syncer
deleted
100755 → 0
+
0
−
17
View file @
c2f998a5
#!/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 syncertest
set
+e
# possibly stop LAM again
if
which lamhalt
;
then
lamhalt 2>&1
>
/dev/null
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment