-
Notifications
You must be signed in to change notification settings - Fork 14
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
Failed test #104
Comments
Hello Julian, can you indicate your OS, the DIVAnd version and the NCDatasets version? Edit: also, can you check is this issue JuliaGeo/NCDatasets.jl#118 is relevant for your situation? Could you test this command? ]add NetCDF_jll
using NetCDF_jll |
I use Fedora 35. The package versions are as follows: [efc8151c] DIVAnd v2.7.8 I will examine the issue that you mentioned. |
I installed NetCDF_jill: [efc8151c] DIVAnd v2.7.8 But if I do "using NetCDF_jill" I get the following:
|
I think you need to install another version of using Pkg
Pkg.update() to update the packages, then Pkg.status() and put here the output of that command. |
Maybe a stupid question; do you actually need the netCDF utilities ? Most likely the rest will work normally and you could use DIVAnd anyway while we try to solve the issue |
Thank you guys. I have already the latest packages. Here is the the output of Pkg.status()
@jmbeckers, that is actually a very good question. I am planning to call DIVAnd from R using the JuliaCall package, so the data manipulation will happen in the R side. If the netCDF utilities are not needed to carry out the actual interpolations, then perhaps I do not need to worry much about his right now. |
From an email exchange with @Alexander-Barth, I had to have the version I though that the update command would have solved that. Maybe with using Pkg
Pkg.add("NetCDF_jll")
Pkg.pin("NetCDF_jll", version="`v400.802.102") |
The interpolation does not depend on netCDF utilities but I do not know how the precompilation interacts with problems in the netCDF library. If that blocks the use of DIVAnd, maybe it would be interesting for us to split DIVAnd into two parts, the core interpolation and the climatology calculation/data manipulation part so that the core part is less package dependent (but that is a long term decision, not aimed at solving your current problem right now). Just to try, are you able to run an example script in the "test" directory test_1D_seminormed.jl |
@ctroupin with
@jmbeckers, I cannot run the test script because when loading the package with
Apologies if I am missing something obvious. I am rather new using Julia. |
No need to apologize, there is a real problem here and unfortunately the precompilation does seem to require netCDF to be precompiled even if potentially it is not used. I hope Charles can find the right netcdf library. If not, maybe we can deactivate precompilation by adding precompile(false) into the DIVAnd module (but that would just be a dirty workaround if it actually works) |
What worked on my machine was:
(@v1.7) pkg> add https://github.com/JuliaBinaryWrappers/NetCDF_jll.jl This installed me |
I wonder if you use a Julia version that was shipped with Fedora ? If that is the case, maybe the problem is similar to and in general it is advised to reinstall a Julia version from the official Julia download to make sure all libraries are compatible. |
Thank you guys. After updating NetCDF_jll to version |
Thanks for letting us know! |
In case, you are using the julia version from Fedora, please note, as @jmbeckers pointed out, this issue: https://alexander-barth.github.io/NCDatasets.jl/dev/issues/#Using-non-official-julia-builds The release cycle of julia (and the build tree Yggdrasil providing NetCDF_jll) is not aligned with Fedora (or any other Linux distribution or homebrew). So it is rather by chance that NetCDF_jll |
Hello,
After running the test I get the following.
Could you advice what to do?
Many thanks,
Julian
The text was updated successfully, but these errors were encountered: