X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=bin%2FkillSalome.py;h=2ea384b6367a296f9aaa63d6cbf55b74e5289ee0;hb=acde82d9a3d34c28032d80123aa654197f7c26a4;hp=12a86ed70b84c0bfae1b11d31487761c80c8cf0b;hpb=557bb3257e161b328bf2c42af24a3db7be1f724a;p=modules%2Fkernel.git diff --git a/bin/killSalome.py b/bin/killSalome.py index 12a86ed70..2ea384b63 100755 --- a/bin/killSalome.py +++ b/bin/killSalome.py @@ -92,6 +92,7 @@ def killAllPorts(): pass pass pass + # kill ompi-server needed for MPI containers coupling cmd = "ps -fea | grep '%s' | grep 'ompi-server' | grep -v 'grep' | awk '{print $2}'" % user prc = commands.getoutput(cmd) for field in prc.split(): @@ -101,8 +102,9 @@ def killAllPorts(): pass pass pass + # delete uri files needed by ompi-server cmd = "rm -f " + os.environ['HOME'] + "/.urifile_*" - commands.getoutput(cmd) + os.system(cmd) pass if __name__ == "__main__":