summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gspreemann@gmail.com>2016-03-29 11:11:08 +0200
committerGard Spreemann <gspreemann@gmail.com>2016-03-29 11:11:08 +0200
commit6c1f9f3b488c5f147d6977c3e49eb7eecdbe841d (patch)
treefd615f35bd152d01c2f1df44eee208addc416ca4
parent9e58f33c84ad51b816d4bea84300cd7712a06fdb (diff)
Some more non-quiet information.
-rw-r--r--phstuff/diphawrapper.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/phstuff/diphawrapper.py b/phstuff/diphawrapper.py
index 46aaea1..06e8913 100644
--- a/phstuff/diphawrapper.py
+++ b/phstuff/diphawrapper.py
@@ -340,7 +340,7 @@ class DiphaRunner:
opipe = None
if not self.quiet:
- print("Spawning DIPHA.")
+ print("Spawning %d DIPHA processes." %(self.cpu_count))
proc = subprocess.Popen([self.mpirun, "-np", "%d" %(self.cpu_count), self.dipha, "--upper_dim", "%d" %(self.top_dim), self.ifile, self.ofile], stdout=opipe)
@@ -353,6 +353,8 @@ class DiphaRunner:
if self.code == 0:
self.barcode = load_barcode(self.ofile, top_dim = self.top_dim - 1)
+ if not self.quiet:
+ print("DIPHA exited normally. Result available.")
self.ready = False
self.cleanup()