OpenMEEG error#126 bin/bash ./om_assemble:Permission denied

Hi there,

I am receiving the following error when attempting to run OpenMEEG to compute headmodel.

OpenMEEG call: om_assemble HM
"/public/home/zz/.brainstorm/tmp/openmeeg_250522_211620/openmeeg.geom"
"/public/home/zz/.brainstorm/tmp/openmeeg_250522_211620/openmeeg.cond"
"/public/home/zz/.brainstorm/tmp/openmeeg_250522_211620/openmeeg_hm.mat"

OpenMEEG error *126:
bin/bash ./om_assemble:Permission denied

For help with OpenMEEG errors, please refer to the online tutorial:https:/neuroimage.usc.edu/brainstorm/tutorials/TutBem#Errors

This is a non-networked workstation and I have imported openmeeg as a plugin as written in the tutorial, but here this problem occurs which I can't solve. My system is Ubuntu 20.04 , matlab R2020a. Although I found jbel877's report about OpenMEEG error #126 on the forum, apparently I'm having a different problem than he is.

In addition, under the path /public/home/zz/.brainstorm/tmp/openmeeg_250522_211620/, I found the files openmeeg.geom and openmeeg.cond, but not openmeeg_hm.mat, which I hope will be informative about the problem.

I would appreciate any help on how to extent.

Best regards,
zzl

Hi @zzl

it seems that you do not have permission to this path.
Are you an admin on this computer?

This is right, as the openmeeg_hm.mat file is the output of running om_assemble.
So its absence confirms that om_assemble did not run.

Did you already check the permissions for that file?
In the Linux terminal run:
ls -l /public/home/zz/.brainstorm/plugins/openmeeg/OpenMEEG-2.4.1-Linux/bin/om_assemble