Re: [OMPI users] openmpi-2.0.1 build error: multiple definition of `pmi_opcaddy_t_class'

2016-09-27 Thread Gilles Gouaillardet
Yes, that is the plan :-) the patch (pending for review) can be downloaded at https://patch-diff.githubusercontent.com/raw/open-mpi/ompi/pull/2131.patch (and the Pull Request is at https://github.com/open-mpi/ompi/pull/2131/files) Cheers, Gilles On 9/28/2016 3:36 AM, Limin Gu wrote:

Re: [OMPI users] openmpi-2.0.1 build error: multiple definition of `pmi_opcaddy_t_class'

2016-09-27 Thread Limin Gu
Thanks Gilles! I added "static" keyword as you suggested, the build succeeded. Will this be fixed in later release? Thanks again! *Limin Gu* | Software Engineer *Penguin Computing* 45800 Northport Loop West Fremont, CA 94 538 *p.* *415.954.2800

Re: [OMPI users] openmpi-2.0.1 build error: multiple definition of `pmi_opcaddy_t_class'

2016-09-27 Thread Gilles Gouaillardet
Hi, I can see this error happening if you configure with --disable-dlopen --with-pmi In opal/mca/pmix/s?/pmix_s?.c, you can try to add the static keyword before OBJ_CLASS_INSTANCE(pmi_opcaddy_t, ...) Or you can update the files to use unique class name (probably safer...) Cheers, Gilles On

[OMPI users] openmpi-2.0.1 build error: multiple definition of `pmi_opcaddy_t_class'

2016-09-27 Thread Limin Gu
Hi, I have openmpi-2.0.1 same build error on Centos 6.8 and Centos 7.2, Any idea what might have caused this problem? Thank you! make[2]: Entering directory `/usr/src/redhat/BUILD/openmpi-2.0.1/opal' CC class/opal_bitmap.lo CC class/opal_free_list.lo CC