Open lukasmerten opened 3 months ago
I have issues creating a turbulent grid on my Mac with M1Max chip, when using the following code from python.
lMin = 1 * parsec lMax = 272 * parsec Brms = 1 spacing = 0.5 * parsec grid_n = 256 spectrum = SimpleTurbulenceSpectrum(Brms, lMin, lMax) gp = GridProperties(Vector3d(0.), grid_n, spacing) tf = SimpleGridTurbulence(spectrum, gp, seed)
The error message Trace/BPT trap: 5 is not super helpful but hints on some linking issues.
Trace/BPT trap: 5
Using something like JF12Field().randomTurbulent(), which should call more or less the same code, works fine.
JF12Field().randomTurbulent()
swig 4.2.1 numpy 1.26.0 clang-1500.3.9.4
I have issues creating a turbulent grid on my Mac with M1Max chip, when using the following code from python.
The error message
Trace/BPT trap: 5
is not super helpful but hints on some linking issues.Using something like
JF12Field().randomTurbulent()
, which should call more or less the same code, works fine.swig 4.2.1 numpy 1.26.0 clang-1500.3.9.4