Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7383036
)
improvement about OMPI_URI_FILE
author
secher
<secher>
Thu, 24 Jun 2010 10:05:50 +0000
(10:05 +0000)
committer
secher
<secher>
Thu, 24 Jun 2010 10:05:50 +0000
(10:05 +0000)
src/Container/SALOME_ContainerManager.cxx
patch
|
blob
|
history
diff --git
a/src/Container/SALOME_ContainerManager.cxx
b/src/Container/SALOME_ContainerManager.cxx
index 8412d2f91735625bd1fc76b60c6128126c50936c..81fdcccc0852fec5190e70f9124789875a4978cc 100644
(file)
--- a/
src/Container/SALOME_ContainerManager.cxx
+++ b/
src/Container/SALOME_ContainerManager.cxx
@@
-86,6
+86,11
@@
SALOME_ContainerManager::SALOME_ContainerManager(CORBA::ORB_ptr orb, PortableSer
#ifdef HAVE_MPI2
#ifdef WITHOPENMPI
+ std::string urifile = getenv("HOME");
+ std::ostringstream mypid;
+ mypid << getpid();
+ urifile += "/.urifile_" + mypid.str();
+ setenv("OMPI_URI_FILE",urifile.c_str(),0);
if( getenv("OMPI_URI_FILE") != NULL ){
system("killall ompi-server");
std::string command;