# Source space cration failed

**URL:** <https://mne.discourse.group/t/source-space-cration-failed/388>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [November 22, 2011, 2:16pm UTC](https://mne.discourse.group/t/source-space-cration-failed/388 "2011-11-22T14:16:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [November 22, 2011, 2:16pm UTC](https://mne.discourse.group/t/source-space-cration-failed/388/1 "2011-11-22T14:16:15Z")

</div>

Dear all,

I tried to create a BEM with the following command:

mne\_setup\_source\_space --subject im14 --ico 5 --cps --overwrite

I got the following lines shown in my shell:

Setting up the source space with the following parameters:

SUBJECTS\_DIR = /SCR3/charlie/imesapp/freesurfer/  
Subject = im14  
Surface = white  
Icosahedron subdivision grade 5  
Create a source space with patch information

> > > 1. Creating the source space file /SCR3/charlie/imesapp/freesurfer//im14/bem/im14-ico-5-src.fif...

mne\_make\_source\_space version 2.5 compiled at Sep 30 2010 16:56:44

Loading /SCR3/charlie/imesapp/freesurfer//im14/surf/lh.white...  
Triangle file : created by felber on Tue Nov 1 23:10:36 2011 nvert = 131982 ntri = 263960  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Triangle and vertex normals and neighboring triangles...[done]  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vertex neighbors...[done]  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Distances between neighboring vertices...[791880 distances done]  
Doing the icosahedral vertex picking...  
Loading geometry from /SCR3/charlie/imesapp/freesurfer//im14/surf/lh.sphere...  
Triangle file : created by felber on Wed Nov 2 00:31:19 2011 nvert = 131982 ntri = 263960  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Triangle and vertex normals and neighboring triangles...[done]  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vertex neighbors...[done]  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Distances between neighboring vertices...[61440 distances done]  
Mapping lh im14 -\> ico (5) ...[done]  
Source space vertex moved from 55033 to 55034 because of double occupation.  
Source space vertex moved from 55033 to 55023 because of double occupation.  
Source space vertex moved from 131819 to 53897 because of double occupation.  
Source space vertex moved from 53897 to 53907 because of double occupation.  
Source space vertex moved from 56212 to 57359 because of double occupation.  
Source space vertex moved from 55024 to 57341 because of double occupation.  
vertex 55023 is in the map multiple times.  
Cannot continue  
Source space creation failed  
Temporary files removed.

As this has never happend before and I do not have a lot of experience with neither freesurfer nor MNE, I do not know where to look for the source of error. Could please someone help me finding a solution? Thank you very much.  
Sincerely,  
Maria Felber

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [November 22, 2011, 6:25pm UTC](https://mne.discourse.group/t/source-space-cration-failed/388/2 "2011-11-22T18:25:11Z")

</div>

hello maria,

this looks like a corner case with the use of the freesurfer recon.  
what version of freesurfer did you use? can you try using the  
option "--ico -6" like used here:

[http://martinos.org/mne/command\_line\_tutorial.html#command-line-tutorial](http://martinos.org/mne/command_line_tutorial.html#command-line-tutorial)

Alex

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [November 23, 2011, 3:46pm UTC](https://mne.discourse.group/t/source-space-cration-failed/388/3 "2011-11-23T15:46:10Z")

</div>

Hi Maria,

I suggested you try with "--ico -6" with "-". It produces an oct-6 source space.  
That's personally my default choice.

HTH  
Alex
