Closed daanreijnders closed 4 years ago
Turned out to be (semi-)unrelated to Parcels. Instead it had to do with Xcode Command Line Tools now installing system headers in a different location than it used to in the past. See this Apple forum thread. I'm leaving this open for now. While there's a workaround for the user, perhaps Parcels can be updated to look for the macOS system headers inside the macOS SDK.
Thanks for reporting, @daanreijnders. There's indeed been a bit of problems with libraries on macOS. But I don't think this is really related to Parcels, as the gcc compiler and all the libraries are managed by conda
.
We do have this statement after step 5 of http://oceanparcels.org/#installing:
"Note that if you are on macOS and get a compilation error, you may need to accept the Apple xcode license (xcode-select --install
). If this does not solve the compilation error, you may want to try running export CC=gcc . If the compilation error remains, you may want to check this solution."
Does that work for your system? Any idea how we can improve this message?
I think the message is good as is; the stack overflow link contains the same workaround as the one I used from the Apple forum. If people run into the same issue as me and don't know it's related to this, hopefully this thread will lead them to the solution.
I'm experiencing issues with using the RNG (which I want to use for JIT mode).
Here's a minimal example:
Traceback:
I'm on Parcels version 2.1.4 (Conda installed) on MacOS