[Mne_analysis] Limiting simulation functions to one core

Eric Larson larson.eric.d at gmail.com
Fri Jan 20 10:51:32 EST 2017
Search archives:

That function should do it. There is also the MKL_NUM_THREADS environment
variable <https://software.intel.com/en-us/node/528546> you could set
before launching Python.

Eric


On Fri, Jan 20, 2017 at 10:49 AM, Denis-Alexander Engemann <
denis.engemann at gmail.com> wrote:

> Hi Jeff,
>
> do you use mkl with anaconda? That would be my guess. You can test that by
> trying to import mkl. Checkout the set_num_threads function there.
>
> Hope this helps,
> Denis
>
>
> On Fri, Jan 20, 2017 at 4:31 PM Jeff Hanna <jeff.hanna at gmail.com> wrote:
>
>> Hi everyone,
>>
>> I'm currently working with the functions mne.simulation.simulate_sparse_stc()
>> and .simulate_evoked(). It seems that at least one of these functions makes
>> use of all available CPU cores. Is that correct? If so, is there a way to
>> limit this to one core? Thanks.
>>
>> Best wishes,
>> --
>> Dr Jeff Hanna
>> Wissenschaftlicher Mitarbeiter
>>
>> Freie Universität - Berlin
>> Brain Language Laboratory / Labor für
>> Gehirn- und Sprachforschung
>> FB Philosophie und Geisteswissenschaften, WE4
>> Habelschwerdter Allee 45
>> 14195 Berlin
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>
>>
>> The information in this e-mail is intended only for the person to whom it
>> is
>> addressed. If you believe this e-mail was sent to you in error and the
>> e-mail
>> contains patient information, please contact the Partners Compliance
>> HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to you
>> in error
>> but does not contain patient information, please contact the sender and
>> properly
>> dispose of the e-mail.
>>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170120/18a86bb0/attachment.html 


More information about the Mne_analysis mailing list