Error when i want to compute head model OpenMEEG

Hello,

When I tried to calculate the Open MEEG head model, it worked for some subjects in the protocol.
However, it cannot be calculated for the majority of my subjects.
I hope you can help me.
Thank you in advance.
The message returned by MATLAB is as follows:

** Error: OpenMEEG call: om_assemble -HM
** "/home_local/ecayrac/.brainstorm/tmp/openmeeg_230726_094736/openmeeg.geom"
** "/home_local/ecayrac/.brainstorm/tmp/openmeeg_230726_094736/openmeeg.cond"
** "/home_local/ecayrac/.brainstorm/tmp/openmeeg_230726_094736/openmeeg_hm.mat"
** OpenMEEG error #1:
** ./om_assemble version 2.4.1 compiled at Aug 29 2018 08:19:44 using OpenMP
** Executing using 24 threads.
**
** | ------ ./om_assemble
** | -HM
** | /home_local/ecayrac/.brainstorm/tmp/openmeeg_230726_094736/openmeeg.geom
** | /home_local/ecayrac/.brainstorm/tmp/openmeeg_230726_094736/openmeeg.cond
** | /home_local/ecayrac/.brainstorm/tmp/openmeeg_230726_094736/openmeeg_hm.mat
** | -----------------------
** (DEPRECATED) Please consider updating your geometry file to the new format 1.1 (see data/README.rst): /home_local/ecayrac/.brainstorm/tmp/openmeeg_230726_094736/openmeeg.geom
** -4PI
** -4PI
** Interface "3" is not closed !
** Please correct a mesh orientation when defining the interface in the geometry file.
**
** For help with OpenMEEG errors, please refer to the online tutorial:
** https://neuroimage.usc.edu/brainstorm/Tutorials/TutBem#Errors

Hi @Edouard

Can you share more details on the process?

How did you compute the surfaces of the subjects?
Are you using templates/individual heads?

Can you show the BEM surfaces of the subjects that give you this error?

Thank's you for your quicly response but i have passed this probleme, can you try to help for an another error with my head compute?

Error: OpenMEEG call: om_assemble -HM
** "/home_local/ecayrac/.brainstorm/tmp/openmeeg_230725_104751/openmeeg.geom"
** "/home_local/ecayrac/.brainstorm/tmp/openmeeg_230725_104751/openmeeg.cond"
** "/home_local/ecayrac/.brainstorm/tmp/openmeeg_230725_104751/openmeeg_hm.mat"
** OpenMEEG error #1:
** ./om_assemble version 2.4.1 compiled at Aug 29 2018 08:19:44 using OpenMP
** Executing using 24 threads.
**
** | ------ ./om_assemble
** | -HM
** | /home_local/ecayrac/.brainstorm/tmp/openmeeg_230725_104751/openmeeg.geom
** | /home_local/ecayrac/.brainstorm/tmp/openmeeg_230725_104751/openmeeg.cond
** | /home_local/ecayrac/.brainstorm/tmp/openmeeg_230725_104751/openmeeg_hm.mat
** | -----------------------
** (DEPRECATED) Please consider updating your geometry file to the new format 1.1 (see data/README.rst): /home_local/ecayrac/.brainstorm/tmp/openmeeg_230725_104751/openmeeg.geom
** This geometry is a NESTED geometry.
** Info:: Mesh name/ID : 1
** # vertices : 1922
** # triangles : 3840
** Euler characteristic : 2
** Min Area : 8.01222e-06
** Max Area : 3.81252e-05
** Info:: Mesh name/ID : 2
** # vertices : 1922
** # triangles : 3840
** Euler characteristic : 2
** Min Area : 6.2982e-06
** Max Area : 2.75635e-05
** Info:: Mesh name/ID : 3
** # vertices : 1922
** # triangles : 3840
** Euler characteristic : 2
** Min Area : 9.00864e-06
** Max Area : 0.000219293
** Info:: Domain name : Scalp
** Conductivity : 1
** Composed by interfaces : +1 -3
** Interface "1"= { mesh "1" }
** Interface "3"= { mesh "3"(outermost) }
** Info:: Domain name : Skull
** Conductivity : 0.0125
** Composed by interfaces : +2 -1
** Interface "2"= { mesh "2" }
** Interface "1"= { mesh "1" }
** Info:: Domain name : Brain
** Conductivity : 1
** Composed by interfaces : -2
** Interface "2"= { mesh "2" }
** Info:: Domain name : Air
** Conductivity : 0
** Composed by interfaces : +3
** Considered as the outermost domain.
** Interface "3"= { mesh "3"(outermost) }
** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
** !!!!!!!!!!! WARNING !!!!!!!!!!!
** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
** 2 meshes are intersecting !
** Info:: Mesh name/ID : 1
** # vertices : 1922
** # triangles : 3840
** Euler characteristic : 2
** Min Area : 8.01222e-06
** Max Area : 3.81252e-05
** Info:: Mesh name/ID : 3
** # vertices : 1922
** # triangles : 3840
** Euler characteristic : 2
** Min Area : 9.00864e-06
** Max Area : 0.000219293
**
** For help with OpenMEEG errors, please refer to the online tutorial:
** https://neuroimage.usc.edu/brainstorm/Tutorials/TutBem#Errors


I have already saw this topic on your brainstorm help page, i tried to increase the number of vertices of the scalp layer and also to find a combination to different number in the 3 layers. This two solution don't solve the problem, the 2 layers are intersecting
Do you have an another solution for this ?
I'm able to send you more information about this subject
Thank's you in advance

Great to hear,
can you share how were you able to solve this issue?
It will help us to understand what was wrong.

Regarding the new issue, can you share some views on the model?

can you hare also the surface files to check why/how they are intersecting?

i'm no able to share you the file.
All BEM layers are compute with 1922 vertices

this model can not be used with the BEM,
you have multiple intersections and some sources are sitting outside the innerskull.

how did you get these surfaces?

To run the BEM it's recommended to use smoothed surfaces. The scalp surface of your model is not.