[cig-commits] r20150 - short/3D/PyLith/benchmarks/trunk/static/performance/solvertest

brad at geodynamics.org brad at geodynamics.org
Wed May 16 09:41:44 PDT 2012


Author: brad
Date: 2012-05-16 09:41:44 -0700 (Wed, 16 May 2012)
New Revision: 20150

Modified:
   short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_scaling.py
Log:
Fixed missing .cfg files.

Modified: short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_scaling.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_scaling.py	2012-05-16 16:38:46 UTC (rev 20149)
+++ short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/run_scaling.py	2012-05-16 16:41:44 UTC (rev 20150)
@@ -39,11 +39,11 @@
     pcfiles = " pc_schur_full_custom.cfg --petsc.fs_fieldsplit_0_pc_mg_log"
 
 if not "reduced" in pc:
-    bcfiles = " bc_full.cfg faults.cfg nooutput.cfg nooutput_faults.cfg"
+    bcfiles = " bc_full.cfg faults.cfg nooutput.cfg nooutput_faults.cfg %s.cfg %s_faults.cfg" % (cell, cell)
 else:
-    bcfiles = " bc_reduced.cfg nooutput.cfg "
+    bcfiles = " bc_reduced.cfg nooutput.cfg %s.cfg"
 
-args = pbsfile + " --job.name=%s --job.stdout=logs/%s.log --job.stdout=logs/%s.err" % (job, job, job)
+args = pbsfile + " --job.name=%s --job.stdout=logs/%s.log --job.stderr=logs/%s.err" % (job, job, job)
 
 if nprocs < 8:
     ppn = nprocs
@@ -51,7 +51,7 @@
     ppn = 8
 
 cmd = "pylith " + bcfiles + pcfiles + \
-    " %s.cfg %s.cfg " % (cell, mesh) + \
+    " %s.cfg " % (mesh,) + \
     " --nodes=%d --scheduler.ppn=%d " % (nprocs, ppn) + \
     args
 



More information about the CIG-COMMITS mailing list