Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turbulent Grids on Mac M1 not working #495

Open
lukasmerten opened this issue Aug 13, 2024 · 0 comments
Open

Turbulent Grids on Mac M1 not working #495

lukasmerten opened this issue Aug 13, 2024 · 0 comments

Comments

@lukasmerten
Copy link
Member

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.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant