I created a FEM 5 layers model using Brain2Mesh. If I use DuNEuro forward model, it just freezes with a window showing "DuNEuro: computing leadfield...", I waited for more than an hour. Any thoughts about how long it usually takes?
Maybe much longer...
@tmedani ?
I modified the ways the system call was done, and it should now show directly in the command window the output of duneuro, this way you can track what is happening. Update Brainstorm to get the code:
https://github.com/brainstorm-tools/brainstorm3/commit/3e4a21a4f55b894f6781c817427408008dd554e7
@tmedani Does this seem reasonable to you?
Thanks for the trick 
Thank you Francois
I have generated FEM MESH with fieldtrip, the reason is the one generated by Brain2mech did not look right (the mesh was squished vertically). As I was trying to create the forward model with DUneuo I quickly get an error.
I'd recommend you report this as an issue on the Brain2mesh github repo (this tool is quite new, the more feedback the better):
As I was trying to create the forward model with DUneuo I quickly get an error.
Hello all,
This depends on the number of EEG electrodes, the mesh resolution, the number of dipoles, and the FEM method (CG with Venant is the recommended option at this time). And of course the performance of your computer.
Assuming the default mesh resolution from Brain@mesh with 64 electrodes, you may need more than one hour.
This is better, users can see what is going,
my last PR does not include this commit, sorry!
We highly recommend you to use the SimNibs option for mesh generation, this is well tested with DUNEuro.
The mesh that you got with Fieldtrip is a voxel-based with hexa mesh elements, while SimNibs generates tetrahedral mesh. The hexa-mesh models are still under investigations.
Could you please share a figure of this mesh?
Best,
Takfarinas

