Trouble with computing headmodel

Hello,

I am trying to compute headmodel (On another dataset).

I have the attached error. Please kindly help.

Claire Screenshot-1

@Alexandre @sik : This is an OpenMEEG error.
Any suggestion?

@jhan24 could you run the openmeeg from the terminal and post the error for me? Thx.

To do so, open the terminal, find your brainstorm’s openmeeg installation and run the line you see in the compute head model error you posted. (There’s a trick, you might export the LD_LIBRARY_PATH)

In my case is:

~/.brainstorm/openmeeg/linux64
(base) ❯ cd ~/.brainstorm/openmeeg/linux64

~/.brainstorm/openmeeg/linux64
(base) ❯ export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH

~/.brainstorm/openmeeg/linux64
(base) ❯ ./om_gain -EEG $my_files_path/openmeeg_hminv.mat $my_files_path/openmeeg_dsm.mat $my_files_path/openmeeg_h2em.mat $my_files_path/openmeeg_gain_eeg.mat

it would also be great if you could show the answer to


~/.brainstorm/openmeeg/linux64
(base) ❯ ldd ./om_gain                             
	linux-vdso.so.1 (0x00007ffe8bfad000)
	libgtk3-nocsd.so.0 => /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f3b707d7000)
	libOpenMEEG.so.1 => /home/sik/.brainstorm/openmeeg/linux64/libOpenMEEG.so.1 (0x00007f3b7041b000)
	libOpenMEEGMaths.so.1 => /home/sik/.brainstorm/openmeeg/linux64/libOpenMEEGMaths.so.1 (0x00007f3b6ef68000)
	libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f3b6ed38000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3b6e99a000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3b6e60c000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3b6e3f4000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3b6e003000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3b6ddff000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3b6dbe0000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3b6d9c3000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f3b709de000)

Thx