I’m trying to follow the Brainstorm DUNEuro tutorial, section FEM forward model. When I launch the computation with default parameters, it fails with the following message:
DUNEURO> System call: "/Users/adc/.brainstorm/plugins/duneuro/bst_duneuro/bin/bst_duneuro_meeg_mac64.app" "/Users/adc/.brainstorm/tmp/duneuro_260326_163659/duneuro_minifile.mini"
"/Users/adc/.brainstorm/plugins/duneuro/bst_duneuro/bin/bst_duneuro_meeg_mac64.app" "/Users/adc/.brainstorm/tmp/duneuro_260326_163659/duneuro_minifile.mini": Killed
status =
137
** Error: Error during the DUNEuro computation, see logs in the command window.
I tried deleting the plugin to force BST to download the latest version, no luck. I’m on a Mac running Sonoma and Matlab R2024a.
System Settings –> Privacy & Security–> Security shows no messages. System Settings –> Privacy & Security–> Accessibility offers to “allow the application to control your computer”, which I did. No luck.
In terminal: sudo spctl --add --label "MyApp" /Users/adc/.brainstorm/plugins/duneuro/bst_duneuro/bin/bst_duneuro_meeg_mac64.app
In terminal: spctl --assess --verbose /Users/adc/.brainstorm/plugins/duneuro/bst_duneuro/bin/bst_duneuro_meeg_mac64.app […]: rejected (the code is valid but does not seem to be an app) source=matched cdhash
cd ~/.brainstorm/plugins/duneuro/bst_duneuro/bin/; ./bst_duneuro_meeg_mac64.app --help –> Killed: 9
So, I guess it’s compatibility problem? The machine is an Intel Macbook pro with 64 GB memory running Sonoma 14.8.4.
Thank you for your detailed report. This does appear to be an OS compatibility issue.
Given that the DUNEuro binary terminates even when run directly from the terminal, it is likely not fully compatible with macOS Sonoma.
We are currently working on a new, updated, and optimized DUNEURO release based on containerized environments, which should resolve these types of OS-related issues. We expect this update to be available later this summer (hopefully by June).
In the meantime, the recommended workaround is to run the LF computation on a different operating system (e.g., Windows, Linux or an earlier macOS version), or to use the alternative BEM method within Brainstorm.