pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: compiling hdf5 with openmpi support?
Hi Jay!
You stumbled over a bug that I also stumbled over - I've fixed that
when adding the option.
The option was only added in pkgsrc-current, so it will have no effect
on pkgsrc-2025Q4. Please try pkgsrc-current, or wait for 2026Q2 (but
that's still > 2 months off).
Thanks,
Thomas
On Wed, Apr 15, 2026 at 03:41:44PM +0100, Jay Nietling wrote:
> Thanks Thomas,
>
> the build almost completes on pkgsrc-2025Q4 on a debian 12 amd64 linux system
> i’m using, failing right near the end.
>
> -- Installing: /local/pkgsrc-2025Q4-src/devel/hdf5/work/.destdir/local/pkgsrc-2025Q4/lib/libhdf5.settings
> => Substituting "unwrap" in /local/pkgsrc-2025Q4-src/devel/hdf5/work/.destdir/local/pkgsrc-2025Q4/bin/h5cc /local/pkgsrc-2025Q4-src/devel/hdf5/work/.destdir/local/pkgsrc-2025Q4/bin/h5hlcc
> WARNING: [subst.mk:unwrap] Nothing changed in "/local/pkgsrc-2025Q4-src/devel/hdf5/work/.destdir/local/pkgsrc-2025Q4/bin/h5cc".
> WARNING: [subst.mk:unwrap] Nothing changed in "/local/pkgsrc-2025Q4-src/devel/hdf5/work/.destdir/local/pkgsrc-2025Q4/bin/h5hlcc".
> ERROR: [subst.mk:unwrap] The filename patterns "/local/pkgsrc-2025Q4-src/devel/hdf5/work/.destdir/local/pkgsrc-2025Q4/bin/h5cc /local/pkgsrc-2025Q4-src/devel/hdf5/work/.destdir/local/pkgsrc-2025Q4/bin/h5hlcc" have no effect.
> *** Error code 1
>
> Stop.
> bmake[1]: stopped making "install" in /local/pkgsrc-2025Q4-src/devel/hdf5
> *** Error code 1
>
> Stop.
>
>
> without the mpi option, the build completes without error.
>
> -jay
>
>
>
> > On Apr 9, 2026, at 12:12 AM, Thomas Klausner <wiz%gatalith.at@localhost> wrote:
> >
> > On Wed, Apr 08, 2026 at 02:14:55PM +0100, Jay Nietling wrote:
> >> hdf5 supports being compiled with openmpi using —enable-parallel and —enable-shared.
> >>
> >> wonder if there is a “clean” way to enable such a compile within pkgsrc? figure i can
> >> adjust options.mk but i don’t know if that’s the recommended/supported method.
> >
> > I've just added an 'mpi' option to the package - it builds and
> > packages fine for me, but I haven't tested if it works. Please try it
> > out.
> >
> > Thanks,
> > Thomas
>
Home |
Main Index |
Thread Index |
Old Index