u3dreal / molecular-plus

particle solver for Blender 3.0+ / 4.0+
GNU General Public License v3.0
261 stars 19 forks source link

Blender 3.65 & macOS 13.6.1 crash when "Activate Particles linking" is On #43

Closed Oxervision closed 5 months ago

Oxervision commented 9 months ago

Blender 3.65 & macOS 13.6.1 molecular-plus_1.14.1_310_macos

Hi, the first thanks for the add-on. When I check the "Activate Particles linking" option and the I press Simulate button, Blender crashes. This is the message in Console:

Molecular Sim Start--------------------------------------------------
  PackData took 0.001seg
OMP: Error #15: Initializing libomp.a, but found libomp.dylib already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://openmp.llvm.org/
zsh: abort      /Applications/BLENDER/BLENDER\ 3.6/Blender.app/Contents/MacOS/Blender

Saving session.../Applications/BLENDER/BLENDER 3.6/Blender.app/Contents/Resources/3.6/python/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 18 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

I wait that you can help me.

Regards!!

Oxer

u3dreal commented 9 months ago

brew uninstall libomp