<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi Nick,<br><br>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. <br><br>Thanks for your help!<br><br>Best,<br>Meng<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Tue, 5 Feb 2013 11:49:42 +0100<br>> From: nikolaas.oosterhof@unitn.it<br>> To: pkg-exppsy-pymvpa@lists.alioth.debian.org<br>> Subject: Re: [pymvpa] how to do multiprocessing in pymvpa?<br>> <br>> On 4 February 2013 20:14, Meng Liang <meng.liang@hotmail.co.uk> wrote:<br>> > Once I added 'nproc = 3' in the command [...] then the script seems to just hang there. It looks to me that there is<br>> > no computing actually running because I don't see any CPU usage from the<br>> > Activity Monitor of the Mac machine.<br>> ><br>> > Any idea what's going wrong?<br>> <br>> By setting nproc explicitly to an integer > 1 the expression<br>> "pprocess.get_number_of_cores()" (which gave an error for not finding<br>> /proc/cpuinfo on your mac) is not evaluated.<br>> <br>> Then it continues happily, and I suppose pprocess forks of its<br>> processes and then dies gracefully - due to no/poor support on the<br>> mac.<br>> <br>> Did you see if there are any processes running after starting the<br>> searchlight - e.g. using 'top' or 'ps'?<br>> <br>> In any case, if you want to use multicore support on the mac I suggest<br>> to install virtualbox and run neurodebian virtually. I'm using a mac<br>> myself and that works fine.<br>> <br>> _______________________________________________<br>> Pkg-ExpPsy-PyMVPA mailing list<br>> Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org<br>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa<br></div>                                        </div></body>
</html>