From: Francesc A. <fa...@py...> - 2004-09-29 11:51:58
|
Hi Nobbi, A Dimecres 29 Setembre 2004 11:57, vareu escriure: > Hi there, > > just starting to use pytables. I was rather surprised by the fact that flush() > does not write new tables to disk. Instead, I have to close() the file and > then reopen it again. Yes, this is is a known bug. This is solved in CVS version, and some people has made a patch for 0.8, and I guess it will apply well to 0.8.1 as well (see patch #947006 at the pytables project: http://sourceforge.net/tracker/?group_id=63486&atid=504146) > Maybe there is another way to go? My intention is to have one script that > opens an existing hdf5 datafile or creates it from scratch if it does not > exist and then starts a lengthy calculation saving the current state every > few minutes. Usually, the script would never finish but run indefinitely > until interrupted by Ctrl-C (therefore close() is never called) > > Another script would run interactively in parallel (maybe even on another > machine) reading the current state from disk and evaluating the data. I do think so. At least there should be someone in the pytables users list that are using pytables for doing similar things. > Is this setup possible with pytables at all? I read somewhere that HDF5 > supports parallel file access in some way. Does PyTables allow this as well? No, pytables does not support parallel file access as of now. Cheers, -- Francesc Alted |