I know the OpenMEEG team worked a lot for correcting some bugs lately but it seems that the new version did not solve everything.
I have EEG/MEG data in which I want to compute the head model in EEG and in MEG.
It is working well in EEG, but for the same meshes, I have the following error for MEG:
***************************************************************************
** Error: No noise covariance matrix available.
***************************************************************************
Unable to perform assignment because the size of the left side is 294-by-24006 and the size of the right side is 2316-by-24006.
Error in bst_openmeeg (line 450)
Gain(OPTIONS.iMeg, :) = om_load_full(meggain_file);
Error in bst_headmodeler (line 470)
[Gain, errMessage] = bst_openmeeg(OPTIONS);
Error in panel_headmodel>ComputeHeadModel (line 647)
[OPTIONS, errMessage] = bst_headmodeler(OPTIONS);
Error in panel_headmodel (line 27)
eval(macro_method);
Error in panel_protocols>TreeHeadModel (line 1156)
[OutputFiles, errMessage] = panel_headmodel('ComputeHeadModel', iChanStudies);
Error in panel_protocols (line 44)
eval(macro_method);
Error in tree_callbacks>@(h,ev)panel_protocols('TreeHeadModel',bstNodes) (line 2271)
gui_component('MenuItem', jPopup, [], 'Compute head model', IconLoader.ICON_HEADMODEL, [], @(h,ev)panel_protocols('TreeHeadModel',
bstNodes));
Sorry for my late response. Unfortunately I cannot replicate.
@Francois from the matlab trace I’ve trouble to figure out which om_ binary failed. It seems that it might be om_load_full but I find it weird (actually i don’t even know what that binary is). om_gain is the usual suspect.
@tanguy could you run an ldd of the binary that brainstrom is executing underneath?
this is what I get on my pc:
@tanguy we don’t manage to replicate on multiple machines. You get this errors on all subjects? can you try on a different machine to see if you can replicate?
Yes, I get this error in all the machines in the lab (all Linux64) and all my MEG subjects (.ds files). Do you want me to send you some data to test with?
@tanguy. My fault, can you export the LD_LIBRAY_PATH and repeat the ldd? I think that this not found would disappear.
Then the next step would be to replicate the call that brainstorm does.
I think the error about the missing noise covariance matrix is unrelated, this does not happen in the same tasks.
This is probably something that residual that was in the Matlab command window. @tanguy?
@Francois is right. The missing noise covariance error is an unrelated warning that I’ve copied/pasted by mistake. It is not part of my OpenMEEG problem, my bad.
I am not sure what to do now, I’ve updated my LD_LIBRARY_PATH and now all the libraries are seen by ldd. If I launch om_gain from a terminal, I’ve got no error, but in brainstorm, it is still not working. Any idea?