Re: [OMPI devel] Shared object dependencies

2018-06-12 Thread Jeff Squyres (jsquyres) via devel
On Jun 12, 2018, at 7:34 AM, Gabriel, Edgar wrote: > > Well, I am still confused. What is different on nixOS vs. other linux distros > that makes this error appear, Fair enough. I don't think I realized nixOS was a Linux distro. That being said, every time I think I understand linkers, I find

Re: [OMPI devel] Shared object dependencies

2018-06-12 Thread Gabriel, Edgar
alf Of Jeff > Squyres (jsquyres) via devel > Sent: Tuesday, June 12, 2018 9:31 AM > To: Open MPI Developers List > Cc: Jeff Squyres (jsquyres) > Subject: Re: [OMPI devel] Shared object dependencies > > On Jun 12, 2018, at 7:21 AM, Gilles Gouaillardet > wrote: > >

Re: [OMPI devel] Shared object dependencies

2018-06-12 Thread Jeff Squyres (jsquyres) via devel
On Jun 12, 2018, at 7:21 AM, Gilles Gouaillardet wrote: > > I think this also depends on the linker (configuration ?) and possibly the > order the libraries are dlopen’ed. > > Note the issue was initially reported (as warnings only) from ompi_info, so > there is a possibility it we all missed

Re: [OMPI devel] Shared object dependencies

2018-06-12 Thread Gilles Gouaillardet
gt; mca_io_ompio_set_aggregator_props, but we call the function pointer fh- > > >f_set_aggregator_props), and the same with the mca parmaeters, we access > > them through a function that is stored as a function pointer on the file > > handle structure. >

Re: [OMPI devel] Shared object dependencies

2018-06-12 Thread Gabriel, Edgar
el > Sent: Tuesday, June 12, 2018 9:11 AM > To: Open MPI Developers List > Cc: Jeff Squyres (jsquyres) > Subject: Re: [OMPI devel] Shared object dependencies > > How is it that Edgar is not running into these issues? > > Edgar: are you compiling with --disable-dlopen, perchance

Re: [OMPI devel] Shared object dependencies

2018-06-12 Thread Jeff Squyres (jsquyres) via devel
me with > the mca parmaeters, we access them through a function that is stored as a > function pointer on the file handle structure. > > Thanks > Edgar > > > > -Original Message- > > From: devel [mailto:devel-boun...@lists.open-mpi.org] On Be

Re: [OMPI devel] Shared object dependencies

2018-06-12 Thread Gilles Gouaillardet
sts.open-mpi.org] On Behalf Of > Gilles > > Gouaillardet > > Sent: Tuesday, June 12, 2018 3:28 AM > > To: devel@lists.open-mpi.org > > Subject: Re: [OMPI devel] Shared object dependencies > > > > Tyson, > > > > > > thanks for taking the time

Re: [OMPI devel] Shared object dependencies

2018-06-12 Thread Gabriel, Edgar
3:28 AM > To: devel@lists.open-mpi.org > Subject: Re: [OMPI devel] Shared object dependencies > > Tyson, > > > thanks for taking the time to do some more tests. > > > This is really a bug in Open MPI, and unlike what I thought earlier, there are > still > >

Re: [OMPI devel] Shared object dependencies

2018-06-12 Thread Gilles Gouaillardet
Tyson, thanks for taking the time to do some more tests. This is really a bug in Open MPI, and unlike what I thought earlier, there are still some abstraction violations here and there related to ompio. I filed https://github.com/open-mpi/ompi/pull/5263 in order to address them Meanwhil

Re: [OMPI devel] Shared object dependencies

2018-06-11 Thread Tyson Whitehead
I have now also tried release 3.1.0. Same thing (were I have replaced /nix/store/glx60yay0hmmizhlxhqhnx9w3k4j9g1z-openmpi-3.1.0 with ) [orc-login2:107400] mca_base_component_repository_open: unable to open mca_fcoll_individual: .../lib/openmpi/mca_fcoll_individual.so: undefined symbol: mca_co

Re: [OMPI devel] Shared object dependencies

2018-06-10 Thread Gilles Gouaillardet
.@lists.open-mpi.org] On Behalf Of Jeff > > Squyres (jsquyres) via devel > > Sent: Friday, June 8, 2018 4:54 PM > > To: Open MPI Developers List > > Cc: Jeff Squyres (jsquyres) > > Subject: Re: [OMPI devel] Shared object dependencies > > > > Before digging any deepe

Re: [OMPI devel] Shared object dependencies

2018-06-08 Thread Gabriel, Edgar
ist > Cc: Jeff Squyres (jsquyres) > Subject: Re: [OMPI devel] Shared object dependencies > > Before digging any deeper, did you perchance install multiple versions of Open > MPI into the same prefix? > > If so, remember that Open MPI installs lots of plugins. The exact set o

Re: [OMPI devel] Shared object dependencies

2018-06-08 Thread gilles
Assuming this is a fresh install, and at first glance, there is an abstraction violation here fcoll/individual should not directly call a function of io/ompio NixOS linker might be very strict and that could explain why this mistake was unnoticed until now. Would you mind giving the latest Ope

Re: [OMPI devel] Shared object dependencies

2018-06-08 Thread Jeff Squyres (jsquyres) via devel
Before digging any deeper, did you perchance install multiple versions of Open MPI into the same prefix? If so, remember that Open MPI installs lots of plugins. The exact set of plugins changes every release. So if you install version A.B.C in to /opt/openmpi, and then install version X.Y.Z i

[OMPI devel] Shared object dependencies

2018-06-08 Thread Tyson Whitehead
This email starts out talking about version 1.10.7 to give a complete picture. I tested 2.1.3 as well, it also exhibits this issue, although to a lesser extent though, and am asking for help on that release. I was compiling the OpenMPI 1.10.7 shipped with NixOS against a newer libibverbs with a l