[cig-commits] r6725 -
short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d
leif at geodynamics.org
leif at geodynamics.org
Fri Apr 27 18:15:44 PDT 2007
Author: leif
Date: 2007-04-27 18:15:44 -0700 (Fri, 27 Apr 2007)
New Revision: 6725
Modified:
short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/PyLithApp.py
Log:
Temporarily disabled outputFile(). Without ${rank} in the filenames,
there is a race condition revolving around O_EXCL with more than one
processor.
Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/PyLithApp.py
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/PyLithApp.py 2007-04-27 23:26:25 UTC (rev 6724)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/PyLithApp.py 2007-04-28 01:15:44 UTC (rev 6725)
@@ -617,6 +617,10 @@
return self.ioFileStream(item, os.O_RDONLY, "r", category, context)[1]
def outputFile(self, item, category, context):
+ if True:
+ # This function is out-of-order.
+ value = self.macroString(item)
+ return value
value, stream = self.ioFileStream(item, os.O_WRONLY|os.O_CREAT|os.O_EXCL, "w", category, context)
if stream is not None:
stream.close()
More information about the cig-commits
mailing list