Comments (2)
Imported from trac issue 46. Created by jsquyres on 2006-08-30T10:29:01, last modified: 2006-09-13T09:02:35
from mtt.
Trac comment by jsquyres on 2006-09-13 09:02:35:
(In [323]) Fixes #46.
The OMPI MPI Install module creates a perl script in the $bindir of
each OMPI installation that it creates called mtt_ompi_cleanup.pl.
This script searches the process list for orteds and kills them --
except for its own parent orted (I thought this was particularly
clever ;-) ). This allows us to launch this script via orterun
itself, and therefore use whatever native launching mechanism is used
via ORTE (e.g., slurm, pbs, rsh/ssh, etc.).
So there's now a new after_each_exec section in the OMPI core template
that essentially runs:
{{{
orterun $args -np $MTT_TEST_NP --prefix $MTT_TEST_PREFIX mtt_ompi_cleanup.pl
}}}
The script will be found because OMPI's $bindir is automatically put
in the path by MTT. It'll run on all nodes and kill any orteds that
it finds (except its own). Then it will whack any session directories
that it finds (including its own -- this is safe), and exit. Since
its parent orted wasn't killed, it'll exit normally and the orterun
from the after_each_exec will complete normally.
The only drawback to this scheme is that we run $np copies of the
script, so we could be running multiple copies of the script on each
node. This is a bit wasteful, but it does work. Further optimization
someday to figure out how to only run 1 copy of the script on each
node.
from mtt.
Related Issues (20)
- move to python3 HOT 9
- git plugin fails for any url that ends with ".git"
- need ability to snapshot python client logfile HOT 6
- Enhance Python client to facilitate debugging errors in MPI build phase
- Error when not including any middleware stages when using Combinatorial Executor HOT 1
- python client and intel compiler issue HOT 6
- imp module deprecated - should use importlib
- It's be nice to split MPI Install phase into multiple phases HOT 1
- README file is out-of-date
- Initialization warning/error messages
- cherrypy server code experiences traumas moving from python2 to python3 HOT 3
- Proposition for conditional stage execution HOT 7
- Git plugin fails to clone repo URLs with trailing / HOT 3
- Git plugin should (better) support downloading specific tags or commit hashes
- Question/Request: Is the GitHub wiki completely outdated regarding the Python client? If so, please make this more obvious. HOT 3
- cherrypy server doesn't recover from psycopg2.error - Idle InTransaction Session Timeout HOT 1
- .elog files are huge HOT 5
- Intel test suite with Python client HOT 4
- CherryPy server internal error when submitting results from Python client HOT 15
- several places - likely - in MTT python code where iterating over keys in a dic and altering HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtt.