Also, for some reason it’s saying that there is no command such as om_assemble, even though a file is clearly there…
EDIT: I did open with terminal on the om_assemble file instead and it seemed to work. Is there a specific folder all these contents should be in? I tried openmeeg on brainstorm again and it gave me the same error
@Francois I spoke to Alexandre about this issue that I’m facing and he suggested that I consult you to fix this problem. When I ran ./om_assemble -h on my terminal, everything seems to have worked, but Alexandre thinks that there may be a problem with brainstorm installation. He thinks that brainstorm moves around the libraries inappropriately when it installs.
Just to be clear, I downloaded openmeeg 2.4.0 and ran the om_assemble command in the bin folder and it seemed to work (still unclear where to put the contents of these folders). When I ran brainstorm>openmeeg, I still got the same error message as seen in the original post. I tried reinstalling brainstorm but the problem still persists.
Could someone please help me either debug openmeeg 2.4.0 or revert to 2.2.0? I tried running ./om_assemble -h with 2.2.0 and I keep getting an error saying ‘cannot execute binary file’. I am in a rush to do some source localization analyses! Your help would be much appreciated!!
If you are under pressure, just use another head model for source analysis (e.g., sphere). It’s gonna be good enough to sift through your data. We’ll address the issue with openmeeg as soon as possible.
@bugnon@moon94: To test the versions Alex is sending you or use older versions downloaded from the OpenMEEG website, use the Brainstorm menu “Update > Update OpenMEEG > Install”.
@Alexandre: This logic doesn’t work anymore with 2.4 on macos then? It still works well on Windows and Linux. I can’t test it, I don’t have access to a mac at this moment. If you know what I should do, let me know.
@Sylvain: Can you please try to compute a BEM forward model on your mac?
@Alexandre OK, I will fix the code and make sure it does not move around the lib folders on macos, if you prefer it this way.
However, there is one intriguing thing I’d like to understand:
The folder $HOME/.brainstorm/openmeeg/ (where the lib files are moved to) is added to the DYLD_LIBRARY_PATH environment variable by bst_openmeeg.m. Do you have any idea why this was working before and does not work anymore? Are your binaries now trying to link the shared libraries from a fixed path instead of relying on DYLD_LIBRARY_PATH?