-
Notifications
You must be signed in to change notification settings - Fork 553
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
MPI support in HDF5_jll / NetCDF_jll on Windows? #8523
Comments
We disable MPI for 32-bit Windows builds in the HDF5 build script because
We disable MPI for 64-bit Windows builds because
It seems that there might be a way to make MPI work for 64-bit Windows systems following the pointers in the comments. I do not have access to a Windows system for testing (I can only cross-compile via Yggdrasil) and this makes debugging difficult for me. Either way, the MPI library available to us on Windows is quite old and is based on an ancient version of MPICH. It would be nice to have a modern MPI implementation for Windows if we want to support MPI there. Unless you are really interested in use MPI on Windows systems, you could take a similar approach and disable MPI support for NetCDF on Windows systems. |
Thanks a lot @eschnett ! I don't have access to a Windows system either. Maybe we can leave this issue open in case there would be a volunteer able to debug this issue on Windows? I will also disable NetCDF with MPI on Windows for now. (I had checked build_tarballs.jl, but I did not noticed that the P.S. Pretty sad to see how unimportant MPI seems to be for Microsoft (https://github.com/microsoft/Microsoft-MPI/graphs/contributors) |
Yeah disabling MPI support in Windows like HDF5 makes sense for now. I can do checks on Windows, but right now I don't have the need or time to push for MPI support on Windows. |
Since HDF5_jll is built with MPI support, NetCDF_jll and the wrapper NCDatasets.jl can use parallel IO.
NetCDF+MPI works well on Linux and MacOS X, however it does not work on Windows.
By looking at the build log files it seems that HDF5_jll (1.14.3) has not detected the MPI libraries on Windows:
https://github.com/JuliaBinaryWrappers/HDF5_jll.jl/releases/download/HDF5-v1.14.3%2B3/HDF5-logs.v1.14.3.x86_64-w64-mingw32-libgfortran3-cxx03-mpi+microsoftmpi.tar.gz
Similarily with NetCDF_jll (400.902.211) the parallel support seem to be missing from the Windows NetCDF_jll:
https://github.com/JuliaBinaryWrappers/NetCDF_jll.jl/releases/download/NetCDF-v400.902.211%2B0/NetCDF-logs.v400.902.211.x86_64-w64-mingw32-mpi+microsoftmpi.tar.gz
Do you have any ideas what could be the issue?
CC: @eschnett @visr
Ref: Alexander-Barth/NCDatasets.jl#122
The text was updated successfully, but these errors were encountered: