Re: problem with simple multiprocessing script on OS X

2010-09-08 Thread Aahz
In article , Darren Dale wrote: > >About a year ago, I contributed a patch to h5py which checks to see if >h5py is being imported into an active IPython session. If so, then a >custom tab completer is loaded to make it easier to navigate hdf5 >files. In the development version of IPython, a funct

Re: problem with simple multiprocessing script on OS X

2010-08-25 Thread Darren Dale
On Aug 24, 4:32 pm, Thomas Jollans wrote: > On Tuesday 24 August 2010, it occurred to Darren Dale to exclaim: > > > > > > > On Aug 23, 9:58 am, Darren Dale wrote: > > > The following script runs without problems on Ubuntu and Windows 7. > > > h5py is a package wrapping the hdf5 library (http://co

Re: problem with simple multiprocessing script on OS X

2010-08-25 Thread Darren Dale
On Aug 24, 4:32 pm, Thomas Jollans wrote: > On Tuesday 24 August 2010, it occurred to Darren Dale to exclaim: > > > > > > > On Aug 23, 9:58 am, Darren Dale wrote: > > > The following script runs without problems on Ubuntu and Windows 7. > > > h5py is a package wrapping the hdf5 library (http://co

Re: problem with simple multiprocessing script on OS X

2010-08-25 Thread Darren Dale
On Aug 24, 5:29 pm, Benjamin Kaplan wrote: > On Tue, Aug 24, 2010 at 3:31 PM, Darren Dale wrote: > > On Aug 23, 9:58 am, Darren Dale wrote: > >> The following script runs without problems on Ubuntu and Windows 7. > >> h5py is a package wrapping the hdf5 library (http://code.google.com/p/ > >> h5

Re: problem with simple multiprocessing script on OS X

2010-08-24 Thread Benjamin Kaplan
On Tue, Aug 24, 2010 at 3:31 PM, Darren Dale wrote: > On Aug 23, 9:58 am, Darren Dale wrote: >> The following script runs without problems on Ubuntu and Windows 7. >> h5py is a package wrapping the hdf5 library (http://code.google.com/p/ >> h5py/): >> >> from multiprocessing import Pool >> import

Re: problem with simple multiprocessing script on OS X

2010-08-24 Thread Thomas Jollans
On Tuesday 24 August 2010, it occurred to Darren Dale to exclaim: > On Aug 23, 9:58 am, Darren Dale wrote: > > The following script runs without problems on Ubuntu and Windows 7. > > h5py is a package wrapping the hdf5 library (http://code.google.com/p/ > > h5py/): > > > > from multiprocessing im

Re: problem with simple multiprocessing script on OS X

2010-08-24 Thread Darren Dale
On Aug 23, 9:58 am, Darren Dale wrote: > The following script runs without problems on Ubuntu and Windows 7. > h5py is a package wrapping the hdf5 library (http://code.google.com/p/ > h5py/): > > from multiprocessing import Pool > import h5py > > def update(i): >     print i > > def f(i): >     "h

problem with simple multiprocessing script on OS X

2010-08-23 Thread Darren Dale
The following script runs without problems on Ubuntu and Windows 7. h5py is a package wrapping the hdf5 library (http://code.google.com/p/ h5py/): from multiprocessing import Pool import h5py def update(i): print i def f(i): "hello foo" return i*i if __name__ == '__main__': pool