@youwei, it seems your reply with the error message after installing OpenMEEG 2.4.1
was deleted.
Please post it again for future reference.
That error message indicated:
** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
** !!!!!!!!!!! WARNING !!!!!!!!!!!
** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
** 2 meshes are intersecting !
That is why it is crashing.
Which are the parameters that were used to generate the BEM surfaces?
Verify visually if generated BEM surfaces are in fact intersecting: display the Surfaces in a 3D view (double-click on them), then set different colors for the Surfaces and set their transparency to 0%. This evaluation is easier plotting 2 Surfaces at the time.
Also, please remove your reply in this other post (link below), as this is a different error message
https://neuroimage.usc.edu/forums/t/bug-spaces-in-path-breaking-openmeeg-script/26385/17