aldanor / hdf5-rust

HDF5 for Rust
https://docs.rs/hdf5
Apache License 2.0
310 stars 85 forks source link

Support combination of features `mpio` and `static` #101

Open magnusuMET opened 4 years ago

magnusuMET commented 4 years ago

This issue is a placeholder for discussion of how to implement this combination.

Problem in short: The build in hdf5-src requires an MPI-compatible c-compiler

aldanor commented 4 years ago

A good start might be hdf5 feedstock on conda-forge where they build it with both openmpi and mpich: https://github.com/conda-forge/hdf5-feedstock/tree/master/recipe

aldanor commented 4 years ago

@magnusuMET It looks like mpi-sys needs mpi compiler anyway to do its bindgen-style magic to build itself, so it's not like we're requiring anything extra I think (https://github.com/rsmpi/rsmpi).