[cig-commits] r14736 - cs/pythia/trunk/mpi

leif at geodynamics.org leif at geodynamics.org
Thu Apr 16 11:57:43 PDT 2009


Author: leif
Date: 2009-04-16 11:57:43 -0700 (Thu, 16 Apr 2009)
New Revision: 14736

Modified:
   cs/pythia/trunk/mpi/Launcher.py
Log:
Issue166 revisited: removed the new warning I added.


Modified: cs/pythia/trunk/mpi/Launcher.py
===================================================================
--- cs/pythia/trunk/mpi/Launcher.py	2009-04-16 18:24:28 UTC (rev 14735)
+++ cs/pythia/trunk/mpi/Launcher.py	2009-04-16 18:57:43 UTC (rev 14736)
@@ -14,9 +14,6 @@
 from pyre.launchers.Launcher import Launcher as Base
 
 
-defaultCommand = "mpirun -np ${nodes} " # note extra space
-
-
 class Launcher(Base):
     
     
@@ -28,17 +25,9 @@
     nodegen = pyre.str("nodegen")
     nodegen.meta['tip'] = """a printf-style format string, used in conjunction with 'nodelist' to generate the list of machine names (e.g., "n%03d")"""
         
-    command = pyre.str("command", default=defaultCommand)
+    command = pyre.str("command", default="mpirun -np ${nodes}")
 
 
-    def _configure(self):
-        Base._configure(self)
-        if self.command == defaultCommand:
-            # See Issue116.  Because of macro expansion, this only fires on the login node.
-            self._warning.log("'command' property is not set; defaulting to \"%s\"" % defaultCommand)
-        return
-
-
     def launch(self):
         import os, sys
 



More information about the CIG-COMMITS mailing list