-
Notifications
You must be signed in to change notification settings - Fork 885
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
orte: use a unique top_session_dir directory when possible.
currently, top_session_dir is based on hostname, uid, HNP pid and job family. there is a risk a top_session_dir exists and contains some old data when a job starts, leading to undefined behavior. if the app is started via mpirun, use a unique top_session_dir mkdtemp("$TMP/ompi.<hostname>.<uid>/XXXXXX") that is passed to fork'ed MPI tasks via the OPAL_MCA_PREFIX"orte_top_session_dir" environment variable. if the app is direct launched, then the current behavior is unchanged. direct launch behavior will be enhanced when PMIx is able to pass a per-node directory (PMIX_NSDIR ?) to a direct launched task.
- Loading branch information
1 parent
8d336dd
commit 13932a3
Showing
2 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters