[pymvpa] how to do multiprocessing in pymvpa?

Meng Liang meng.liang at hotmail.co.uk
Tue Feb 5 13:02:41 UTC 2013


Hi Nick,

Thanks for reply! I don't see any process related to the script running or using the CPU, so I suppose it's like what you said - pprocess just dies gracefully. I guess I have to go back to the virtual machine. 

Thanks for your help!

Best,
Meng

> Date: Tue, 5 Feb 2013 11:49:42 +0100
> From: nikolaas.oosterhof at unitn.it
> To: pkg-exppsy-pymvpa at lists.alioth.debian.org
> Subject: Re: [pymvpa] how to do multiprocessing in pymvpa?
> 
> On 4 February 2013 20:14, Meng Liang <meng.liang at hotmail.co.uk> wrote:
> > Once I added 'nproc = 3' in the command [...] then the script seems to just hang there. It looks to me that there is
> > no computing actually running because I don't see any CPU usage from the
> > Activity Monitor of the Mac machine.
> >
> > Any idea what's going wrong?
> 
> By setting nproc explicitly to an integer > 1 the expression
> "pprocess.get_number_of_cores()" (which gave an error for not finding
> /proc/cpuinfo on your mac) is not evaluated.
> 
> Then it continues happily, and I suppose pprocess forks of its
> processes and then dies gracefully - due to no/poor support on the
> mac.
> 
> Did you see if there are any processes running after starting the
> searchlight - e.g. using 'top' or 'ps'?
> 
> In any case, if you want to use multicore support on the mac I suggest
> to install virtualbox and run neurodebian virtually. I'm using a mac
> myself and that works fine.
> 
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20130205/d61c4e49/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list