<div dir="ltr">On 9 June 2017 at 18:03,  <span dir="ltr"><<a href="mailto:lydia.hellrung@econ.uzh.ch" target="_blank">lydia.hellrung@econ.uzh.ch</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p><font size="2" face="sans-serif">I'm trying to run a searchlight analysis, but I just end up in error messages. </font><br>
<font size="2" face="sans-serif">I followed your searchlight example from the tutorial (detrend, z-score and kick out non-used conditions) and then calling the sl function exactly as in your tutorial (sl_map = sl(ds_copy)).</font><br>
<font size="2" face="sans-serif">I'm running it on a computer with lots of memory and several CPUs now. </font><br>
<font size="2" face="sans-serif">When I load the full dataset (size 180,338688), I end up with traceback #1 (please see below).</font><br>
<font size="2" face="sans-serif">When I load a mask I have less data (size180, 213), I end up with traceback #2 (also below).</font><br>
<br>
<font size="2" face="sans-serif">I just found such an issue in your mail archive with 3D nifti, but here it's 4D nifti.</font><br>
<font size="2" face="sans-serif">What am I missing here?</font></p></div></blockquote><div><br></div><div>Not sure what's causing this, but I wonder if it may be related to a high number of threads that may not play well with pprocess. Could you try to run the searchlight with as additional parameter in the call: nproc=1 (disabling multiple processes), and maybe also some other values (e.g. nproc=4 or 8)? Do you know how many threads the searchlight runs with? </div><div><br></div></div></div></div>