[Yt-svn] yt-commit r1529 - trunk/yt/lagos

britton at wrangler.dreamhost.com britton at wrangler.dreamhost.com
Thu Nov 19 19:17:56 PST 2009


Author: britton
Date: Thu Nov 19 19:17:47 2009
New Revision: 1529
URL: http://yt.enzotools.org/changeset/1529

Log:
Fixed an indent causing the __create_data_file routine to only 
get called by the root process, when it should be called by all.  
That routine has a @parallel_root_only decorator with barriers 
in it causing the root process to hang.


Modified:
   trunk/yt/lagos/HierarchyType.py

Modified: trunk/yt/lagos/HierarchyType.py
==============================================================================
--- trunk/yt/lagos/HierarchyType.py	(original)
+++ trunk/yt/lagos/HierarchyType.py	Thu Nov 19 19:17:47 2009
@@ -125,7 +125,8 @@
             self._data_mode = mode = 'r'
         else:
             self._data_mode = mode = 'a'
-            self.__create_data_file(fn)
+
+        self.__create_data_file(fn)
         self.__data_filename = fn
         self._data_file = h5py.File(fn, self._data_mode)
 



More information about the yt-svn mailing list