[Mne_analysis] Help on running mne_setup_forward_model

Matti Hamalainen msh at nmr.mgh.harvard.edu
Tue Jun 18 10:31:45 EDT 2013
Search archives:

Hi Yongxia,

The sample data set contains auditory conditions, not particularly responses to music.

- Matti

On Jun 18, 2013, at 7:22 AM, Yongxia Zhou <yongxiazhou at gmail.com> wrote:

> Hi Matti,
> Thank you very much for your help.
> It passes now after down sampling.
> I would like to try the MEG data, I do not know whether the class MEG data been uploaded? Could you please let me know whether the MEG data for music project is available especially?
> Best regards
> 
> Yongxia
> 
> On Tuesday, June 18, 2013, Matti Hamalainen wrote:
> 
> You neeed to use the --ico 4 option. That gives you workable BEM triangulations with 5120 triangles per surface. Now you are trying to use 20480 triangles per surface which does not work because of not only memory but also computation speed limitations, see the Manual. Also, are your data MEG only or MEG+EEG / EEG? For MEG-only case you can use the --homog option to specify a single-compartment model.
> 
> - Matti
> 
> On Jun 18, 2013, at 6:47 AM, Yongxia Zhou <yongxiazhou at gmail.com> wrote:
> 
>> The MacBook had 4GB memory. I am running the command
>> mne_setup_forward_model --subject Andrew --surf
>>  After mne_watershed_bem --subject Andrew --atlas was done successfully.
>> 
>> The error message was
>> 
>> mne_prepare_bem_model (3628) malloc: *** mmap (size=3776352256) failed (error code=12)
>> *** error: can't allocate region
>> Failed to allocate memory for a 30726 x 30726 matrix
>> This is probably because you seem to be using a computer with 32-bit architecture.
>> Please consider moving to a 64-bit platform. Cannot continue. Sorry.
>> Model preparation failed.
>> 
>> 
>> 
>> On Tuesday, June 18, 2013, Matti Hamalainen wrote:
>> 
>> On Jun 16, 2013, at 10:08 AM, Yongxia Zhou <yongxiazhou at gmail.com> wrote:
>> 
>>> Dear MNE experts,
>>> Hi,
>>> I am running MNE-2.7.0-3106-MaCOSX-i386 with MacBook OSX 10.5.8, everything is ok until I ran the
>>> mne_setup_forward_model command with the error saying "Cannot continue, please consider moving toa 64-bit platform"
>>> 
>>> I am wondering is there a solution for running mne in my 32-bit OSX 10.5.8, other than buy a newer MacBook (I need to reinstall all other software packages then)? I downloaded another i386 mne version but none worked.
>> 
>> Hi Yongxia,
>> 
>> The error message is inaccurate. There is no need to upgrade the MacBook. Rather, this is a memory allocation error, meaning that mne_setup_forward_model tries to allocate more 2 GB of dynamic memory. This should not happen. Can you please send the exact command you are giving with options and the output leading to this error.
>> 
>> - Matti
>> 
>>  
>> 
>> 
>> ---------
>> 
>> Matti Hamalainen, Ph.D.
>> Athinoula A. Martinos Center for Biomedical Imaging
>> Massachusetts General Hospital
>> 
>> msh at nmr.mgh.harvard.edu
>> mhamalainen at partners.org
> 
> 
> ---------
> 
> Matti Hamalainen, Ph.D.
> Athinoula A. Martinos Center for Biomedical Imaging
> Massachusetts General Hospital
> 
> msh at nmr.mgh.harvard.edu
> mhamalainen at partners.org
> 
> 
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20130618/fc0ac0d2/attachment.html 


More information about the Mne_analysis mailing list