Hi all,
I recently found this issue. If nest is imported, music.Setup() complains that Setup constructor was already called.
#!/usr/bin/env python3
import music
import nest
import ctypes
ctypes.CDLL("libmpi.so", mode=ctypes.RTLD_GLOBAL)
setup = music.Setup()
running this simple code throws the error:
Error in MUSIC library: rank #0: Setup constructor was called a second time.
Only one Setup object can exist at any instance of time.
This is independent of the order of the two imports, and the issue disappears by commenting out import nest.
Hi all,
I recently found this issue. If nest is imported, music.Setup() complains that Setup constructor was already called.
running this simple code throws the error:
This is independent of the order of the two imports, and the issue disappears by commenting out
import nest.