On Thu, Jan 27, 2022 at 07:02:05AM +0000, jmeis...@posteo.ch wrote: > Hello! > > I've been having some issues with OpenMPI io capabilities for a while. > It seems that the default io component used > (ompio) is still not working with > OpenBSD (but it is not segfaulting anymore). > > This can be resolved by changing to romio321 component as was > discussed here: > https://www.mail-archive.com/misc@openbsd.org/msg177085.html > > Tested this with: > kern.version=OpenBSD 7.0-current (GENERIC.MP) #288 > /usr/src/sys/arch/amd64/compile/GENERIC.MP > > Do you think it would be useful to add a note in the openmpi README > (devel/openmpi/pkg/README) with the following changes (or with some > other more explicit / better comments of yours) + adding one C example? > > Thanks! > > Diff below: > > --- README.orig Thu Jan 27 07:37:22 2022 > +++ README Thu Jan 27 07:37:34 2022 > @@ -29,6 +29,9 @@ > PMIX_MCA_gds=hash > This is the one gds (general data service) that works on OpenBSD. > > + OMPI_MCA_io=romio321 > + This is the only IO component that seems to work on OpenBSD > + > **Example code taken from: > https://hpcc.usc.edu/support/documentation/examples-of-mpi-programs/ > > @@ -57,4 +60,48 @@ > MPI_Finalize(); > > return 0; > +} > + > + > +** Example code taken from OpenBSD ML: > + """ OpenMPI 4.0.5 segfault with mpi_file_open() """ > +/*
Hi, The -current openmpi version in ports is 4.1.2 which saw some improvements in this area: https://www.mail-archive.com/announce@lists.open-mpi.org/msg00145.html I am not to keen on putting on more example code in the package README, there is plenty on the net available. But I will look into updating the README as the example code reference also does not exist anymore. -m P.S.: please CC MAINTAINER in the future. Thank You.