[SciPy-dev] A patch for weave.catalog

Robert Kern robert.kern at gmail.com
Thu Jan 18 13:48:26 CST 2007


Fernando Perez wrote:
> Hi all,
> 
> does anyone object to the patch at the end?
> 
> Rationale: when running using scipy in parallel on a cluster whose members
> share an NFS filesystem, the current code can blow up because the test file is
> hardcoded to dir+'/dummy', and all the processes race to manipulate the same
> file.  My patch tries to fix this using portable calls (as far as the docs
> say, both socket.gethostname() and os.getpid() are fully portable).
> 
> If nobody objects in 24 hours or I get an explicit OK before that from a core
> dev, I'll be happy to commit this.  I've tested it and it solves my recurrent
> deadlocks on my system.

Looks good to me.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco


More information about the Scipy-dev mailing list