Depending on the operating system and compiler, the mex function, run_dynamics_fast, needs to be compiled with or without the -g flag. By default, the em-core/matlab/RUN_mex.m script uses the -g flag for windows PC and not the flag for other operating systems. However, @lydiaZeleke using MacOS and the Clang compiler ( Apple clang version 12.0.5 (clang-1205.0.22.11) required compiling with the -g. While the function should compile without or without the flag, when executing MATLAB can hard crash.
The em-core documentation should provide troubleshooting guidance to try removing or adding the -g flag if MATLAB hard crashes when using run_dynamics_fast.
Depending on the operating system and compiler, the mex function,
run_dynamics_fast
, needs to be compiled with or without the-g
flag. By default, theem-core/matlab/RUN_mex.m
script uses the-g
flag for windows PC and not the flag for other operating systems. However, @lydiaZeleke using MacOS and the Clang compiler ( Apple clang version 12.0.5 (clang-1205.0.22.11) required compiling with the-g
. While the function should compile without or without the flag, when executing MATLAB can hard crash.The
em-core
documentation should provide troubleshooting guidance to try removing or adding the-g
flag if MATLAB hard crashes when usingrun_dynamics_fast
.