-
Notifications
You must be signed in to change notification settings - Fork 10
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
macOS Support #75
Comments
Hi - I'm really looking forward to trying this package, it looks great! I'm on macOS 11.3.1, and (predictably) had some trouble installing the package before finding this issue - perhaps it could be noted in the README and docs? I had a go with the pre-built environments you mention above, but got stuck at the filtering step when trying the analytic_example notebook with 'fatal error: 'omp.h' file not found', and had no success solving it. Let me know if you'd like further info about this error, it could be a problem my end. |
Thanks for giving it a go @loisbaker! I have temporarily lost access to a macOS system, but I'll get one again pretty soon. In the meantime, do you mind giving a little bit more detail about the steps you took to try the pre-built environment? |
Thanks @angus-g. I just installed miniconda, created the environment using 'conda env create angus-g/filtering39-omp' as above, then ran the notebook analytic_example.ipynb with the relevant kernel. It all works fine until the filtering step, when it fails to compile. I've attached the error message below, and I have gcc 11.2.0_1 and libomp 13.0.0 installed. |
Just to update on this: I've now got access to some macOS machines, so I'll be able take a look at how to make this more robust! |
At the moment, we rely on a few binary-distributed packages (e.g. sosfilt), but these haven't been built for macOS. This means that the install instructions don't immediately translate to these platforms.
I'll need to come up with modified install instructions, and/or add binary distributions for non-Linux platforms.
lagrangian-filtering
andparcels
LDFLAGS
in environment to support conda on macOS (angus-g/parcels@228ab3a)import filtering
:_H5Pget_fapl_ros3
inh5py
openmp
I didn't amend the package dependencies, but there are pre-built environments available now:
conda env create angus-g/filtering37-omp
conda env create angus-g/filtering38-omp
conda env create angus-g/filtering39-omp
The text was updated successfully, but these errors were encountered: