]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
add comment
authorBernard Secher <bernard.secher@cea.fr>
Thu, 25 Aug 2016 08:47:39 +0000 (10:47 +0200)
committerBernard Secher <bernard.secher@cea.fr>
Thu, 25 Aug 2016 08:47:39 +0000 (10:47 +0200)
bin/killSalome.py

index 67dc9278d5a3a2e0bd46daf8ba8cfee0588a48ca..2ea384b6367a296f9aaa63d6cbf55b74e5289ee0 100755 (executable)
@@ -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,6 +102,7 @@ def killAllPorts():
                 pass
             pass
         pass
+        # delete uri files needed by ompi-server
         cmd = "rm -f " + os.environ['HOME'] + "/.urifile_*"
         os.system(cmd)
     pass