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

conflict of netcdf library #163

Open
JianghuiDu opened this issue Dec 2, 2019 · 5 comments
Open

conflict of netcdf library #163

JianghuiDu opened this issue Dec 2, 2019 · 5 comments

Comments

@JianghuiDu
Copy link

When using MATLAB the netcdf library is pointed to netcdf.dll in the MATLAB installation folder and if I call NCDatasets it now reports

error compiling nc_open: could not load library "C:\Users\Jianghui\.julia\conda\3\Library\bin\netcdf.DLL"
The specified module could not be found.

How could I redirect the library?

@josimarsilva
Copy link

josimarsilva commented Sep 10, 2020

I have the same problem when I use the MATLAB package on Windows server 2016. For macOS and Linux it works fine.

I have asked a question on discourse but did not get any answer that solved my problem: https://discourse.julialang.org/t/netcdf-dll-library-not-found-on-windows-server-2016/46072?u=josimar

@musm
Copy link
Collaborator

musm commented Sep 10, 2020

What's the exact issue? The library cannot be opened?

@josimarsilva
Copy link

The exact issue is that I can't have MATLAB and NetCDF packages on the same environment. I fixed the link above to the correct problem. Could you take a look? Thanks!

@musm
Copy link
Collaborator

musm commented Sep 10, 2020

This is tricky since NetCDF is using conda to load things and conda is just correctly loading and referencing libraries which somehow ends up clashing with the ones that MATLAB uses. The best thing we can push for is for NetCDF to migrate to jll's, which seems blocked(?) by HDF5.jl also having issues migrating to jll

@JianghuiDu
Copy link
Author

Is it even possible to do a manual load/change of directory?

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

3 participants