[OMPI users] openmpi-2.0.1 build error: multiple definition of `pmi_opcaddy_t_class'
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 class/opal_hash_table.lo CC class/opal_hotel.lo CC class/opal_tree.lo CC class/opal_list.lo CC class/opal_graph.lo CC class/opal_object.lo CC class/opal_lifo.lo CC class/opal_fifo.lo CC class/opal_pointer_array.lo CC class/opal_value_array.lo CC class/opal_ring_buffer.lo CC class/opal_rb_tree.lo CC errhandler/opal_errhandler.lo CC memoryhooks/memory.lo CC runtime/opal_progress.lo CC runtime/opal_finalize.lo CC runtime/opal_init.lo CC runtime/opal_params.lo CC runtime/opal_info_support.lo CC runtime/opal_progress_threads.lo CC threads/condition.lo CC threads/mutex.lo CC threads/thread.lo CC threads/wait_sync.lo CC dss/dss_internal_functions.lo CC dss/dss_compare.lo CC dss/dss_copy.lo CC dss/dss_dump.lo CC dss/dss_load_unload.lo CC dss/dss_lookup.lo CC dss/dss_pack.lo CC dss/dss_peek.lo CC dss/dss_print.lo CC dss/dss_register.lo CC dss/dss_unpack.lo CC dss/dss_open_close.lo CCLD libopen-pal.la mca/pmix/s1/.libs/libmca_pmix_s1.a(libmca_pmix_s1_la-pmix_s1.o):(.data.rel+0x0): multiple definition of `pmi_opcaddy_t_class' mca/pmix/s2/.libs/libmca_pmix_s2.a(libmca_pmix_s2_la-pmix_s2.o):(.data.rel+0x0): first defined here collect2: ld returned 1 exit status make[2]: *** [libopen-pal.la] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/openmpi-2.0.1/opal' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/openmpi-2.0.1/opal' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.EtuXQa (%build) -- *Limin Gu* | Software Engineer *Penguin Computing* 45800 Northport Loop West Fremont, CA 94 538 *p.* *415.954.2800 <415.954.2800>* *e. *spars...@penguincomputing.com *Changing the world through technical innovation* www.penguincomputing.com www.penguincomputing.iapplicants.com *Follow us on Twitter: @PenguinHPC* ___ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Re: [OMPI users] openmpi-2.0.1 build error: multiple definition of `pmi_opcaddy_t_class'
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 <415.954.2800>* *e. *l...@penguincomputing.com *Changing the world through technical innovation* www.penguincomputing.com www.penguincomputing.iapplicants.com *Follow us on Twitter: @PenguinHPC* On Tue, Sep 27, 2016 at 11:51 AM, Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > 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 Wednesday, September 28, 2016, Limin Gu > wrote: > >> 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 class/opal_hash_table.lo >> >> CC class/opal_hotel.lo >> >> CC class/opal_tree.lo >> >> CC class/opal_list.lo >> >> CC class/opal_graph.lo >> >> CC class/opal_object.lo >> >> CC class/opal_lifo.lo >> >> CC class/opal_fifo.lo >> >> CC class/opal_pointer_array.lo >> >> CC class/opal_value_array.lo >> >> CC class/opal_ring_buffer.lo >> >> CC class/opal_rb_tree.lo >> >> CC errhandler/opal_errhandler.lo >> >> CC memoryhooks/memory.lo >> >> CC runtime/opal_progress.lo >> >> CC runtime/opal_finalize.lo >> >> CC runtime/opal_init.lo >> >> CC runtime/opal_params.lo >> >> CC runtime/opal_info_support.lo >> >> CC runtime/opal_progress_threads.lo >> >> CC threads/condition.lo >> >> CC threads/mutex.lo >> >> CC threads/thread.lo >> >> CC threads/wait_sync.lo >> >> CC dss/dss_internal_functions.lo >> >> CC dss/dss_compare.lo >> >> CC dss/dss_copy.lo >> >> CC dss/dss_dump.lo >> >> CC dss/dss_load_unload.lo >> >> CC dss/dss_lookup.lo >> >> CC dss/dss_pack.lo >> >> CC dss/dss_peek.lo >> >> CC dss/dss_print.lo >> >> CC dss/dss_register.lo >> >> CC dss/dss_unpack.lo >> >> CC dss/dss_open_close.lo >> >> CCLD libopen-pal.la >> >> mca/pmix/s1/.libs/libmca_pmix_s1.a(libmca_pmix_s1_la-pmix_s1.o):(.data.rel+0x0): >> multiple definition of `pmi_opcaddy_t_class' >> >> mca/pmix/s2/.libs/libmca_pmix_s2.a(libmca_pmix_s2_la-pmix_s2.o):(.data.rel+0x0): >> first defined here >> >> collect2: ld returned 1 exit status >> >> make[2]: *** [libopen-pal.la] Error 1 >> >> make[2]: Leaving directory `/usr/src/redhat/BUILD/openmpi-2.0.1/opal' >> >> make[1]: *** [all-recursive] Error 1 >> >> make[1]: Leaving directory `/usr/src/redhat/BUILD/openmpi-2.0.1/opal' >> >> make: *** [all-recursive] Error 1 >> >> error: Bad exit status from /var/tmp/rpm-tmp.EtuXQa (%build) >> >> >> >> -- >> >> *Limin Gu* | Software Engineer >> >> >> >> *Penguin Computing* >> 45800 Northport Loop West >> Fremont, CA 94 538 >> >> *p.* *415.954.2800 <415.954.2800>* >> >> *e. *spars...@penguincomputing.com >> >> >> *Changing the world through technical innovation* >> >> >> www.penguincomputing.com >> >> www.penguincomputing.iapplicants.com >> >> *Follow us on Twitter: @PenguinHPC* >> > > ___ > users mailing list > users@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/users > ___ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users
[OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS 7.2
Hi All, I am trying to build openmpi 2.0.1 on a CentOS 7.2 system, and I have following libpsm2 packages installed: libpsm2-0.7-4.el7.x86_64 libpsm2-compat-0.7-4.el7.x86_64 libpsm2-compat-devel-0.7-4.el7.x86_64 libpsm2-devel-0.7-4.el7.x86_64 I added --with-psm2 to my configure, but it failed: --- MCA component mtl:psm2 (m4 configuration macro) checking for MCA component mtl:psm2 compile mode... static checking --with-psm2 value... simple ok (unspecified) checking --with-psm2-libdir value... simple ok (unspecified) checking psm2.h usability... yes checking psm2.h presence... yes checking for psm2.h... yes looking for library without search path checking for library containing psm2_mq_irecv2... no configure: error: PSM2 support requested but not found. Aborting error: Bad exit status from /var/tmp/rpm-tmp.TLxu8O (%build) /usr/lib64/libpsm2.so is on the system though. What else libraries do I need for psm2? Thank you! ___ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS 7.2
Hi MAC, It seems /usr/lib64/libpsm2.so.2 has no symbols. Can configure check some other ways? [root@uranus ~]# rpm -qi libpsm2-0.7-4.el7.x86_64 Name: libpsm2 Version : 0.7 Release : 4.el7 Architecture: x86_64 Install Date: Tue 11 Oct 2016 05:45:59 PM PDT Group : System Environment/Libraries Size: 400282 License : GPLv2 or BSD Signature : RSA/SHA256, Wed 25 Nov 2015 07:02:20 AM PST, Key ID 24c6a8a7f4a80eb5 Source RPM : libpsm2-0.7-4.el7.src.rpm Build Date : Fri 20 Nov 2015 08:05:13 AM PST Build Host : worker1.bsys.centos.org Relocations : (not relocatable) Packager: CentOS BuildSystem <http://bugs.centos.org> Vendor : CentOS URL : http://www.intel.com/ Summary : Intel PSM Libraries Description : The PSM Messaging API, or PSM API, is Intel's low-level user-level communications interface for the Truescale family of products. PSM users are enabled with mechanisms necessary to implement higher level communications interfaces in parallel environments. [root@uranus ~]# objdump -p /usr/lib64/libpsm2.so.2 |grep SONAME *SONAME* libpsm2.so.2 [root@uranus ~]# nm /usr/lib64/libpsm2.so.2 nm: /usr/lib64/libpsm2.so.2: no symbols [root@uranus ~]# Thanks! Limin On Tue, Oct 11, 2016 at 7:00 PM, Cabral, Matias A wrote: > Hi Limin, > > > > psm2_mq_irecv2 should be in libpsm2.so. I’m not quite sure how CentOS > packs it so I would like a little more info about the version being used. > Some things to share: > > > > >rpm -qi libpsm2-0.7-4.el7.x86_64 > > > objdump –p /usr/lib64/libpsm2.so |grep SONAME > > >nm /usr/lib64/libpsm2.so |grep psm2_mq_irecv2 (will not work if the lib > Stripped) > > > > > > Thanks, > > _MAC > > > > *From:* users [mailto:users-boun...@lists.open-mpi.org] *On Behalf Of *Limin > Gu > *Sent:* Tuesday, October 11, 2016 2:58 PM > *To:* Open MPI Users > *Subject:* [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS > 7.2 > > > > Hi All, > > I am trying to build openmpi 2.0.1 on a CentOS 7.2 system, and I have > following libpsm2 packages installed: > > libpsm2-0.7-4.el7.x86_64 > libpsm2-compat-0.7-4.el7.x86_64 > libpsm2-compat-devel-0.7-4.el7.x86_64 > libpsm2-devel-0.7-4.el7.x86_64 > > I added --with-psm2 to my configure, but it failed: > > --- MCA component mtl:psm2 (m4 configuration macro) > checking for MCA component mtl:psm2 compile mode... static > checking --with-psm2 value... simple ok (unspecified) > checking --with-psm2-libdir value... simple ok (unspecified) > checking psm2.h usability... yes > checking psm2.h presence... yes > checking for psm2.h... yes > looking for library without search path > checking for library containing psm2_mq_irecv2... no > configure: error: PSM2 support requested but not found. Aborting > error: Bad exit status from /var/tmp/rpm-tmp.TLxu8O (%build) > > > > > > /usr/lib64/libpsm2.so is on the system though. > > > > What else libraries do I need for psm2? > > > > Thank you! > > > > ___ > users mailing list > users@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/users > ___ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS 7.2
Thanks Gilles! Limin On Tue, Oct 11, 2016 at 9:33 PM, Gilles Gouaillardet wrote: > Limin, > > > It seems libpsm2 provided by Centos 7 is a bit too old > > all symbols are prefixed with psm_, and Open MPI expect they are prefixed > with psm2_ > > i am afraid your only option is to manually install the latest libpsm2 and > then configure again with your psm2 install dir > > > Cheers, > > Gilles > > > On 10/12/2016 9:57 AM, Limin Gu wrote: > > Hi MAC, > > It seems /usr/lib64/libpsm2.so.2 has no symbols. Can configure check some > other ways? > > > [root@uranus ~]# rpm -qi libpsm2-0.7-4.el7.x86_64 > > Name: libpsm2 > > Version : 0.7 > > Release : 4.el7 > > Architecture: x86_64 > > Install Date: Tue 11 Oct 2016 05:45:59 PM PDT > > Group : System Environment/Libraries > > Size: 400282 > > License : GPLv2 or BSD > > Signature : RSA/SHA256, Wed 25 Nov 2015 07:02:20 AM PST, Key ID > 24c6a8a7f4a80eb5 > > Source RPM : libpsm2-0.7-4.el7.src.rpm > > Build Date : Fri 20 Nov 2015 08:05:13 AM PST > > Build Host : worker1.bsys.centos.org > > Relocations : (not relocatable) > > Packager: CentOS BuildSystem <http://bugs.centos.org> > > Vendor : CentOS > > URL : http://www.intel.com/ > > Summary : Intel PSM Libraries > > Description : > > The PSM Messaging API, or PSM API, is Intel's low-level > > user-level communications interface for the Truescale > > family of products. PSM users are enabled with mechanisms > > necessary to implement higher level communications > > interfaces in parallel environments. > > [root@uranus ~]# objdump -p /usr/lib64/libpsm2.so.2 |grep SONAME > > *SONAME* libpsm2.so.2 > > [root@uranus ~]# nm /usr/lib64/libpsm2.so.2 > > nm: /usr/lib64/libpsm2.so.2: no symbols > > [root@uranus ~]# > > > Thanks! > Limin > > > On Tue, Oct 11, 2016 at 7:00 PM, Cabral, Matias A < > matias.a.cab...@intel.com> wrote: > >> Hi Limin, >> >> >> >> psm2_mq_irecv2 should be in libpsm2.so. I’m not quite sure how CentOS >> packs it so I would like a little more info about the version being used. >> Some things to share: >> >> >> >> >rpm -qi libpsm2-0.7-4.el7.x86_64 >> >> > objdump –p /usr/lib64/libpsm2.so |grep SONAME >> >> >nm /usr/lib64/libpsm2.so |grep psm2_mq_irecv2 (will not work if the lib >> Stripped) >> >> >> >> >> >> Thanks, >> >> _MAC >> >> >> >> *From:* users [mailto:users-boun...@lists.open-mpi.org] *On Behalf Of *Limin >> Gu >> *Sent:* Tuesday, October 11, 2016 2:58 PM >> *To:* Open MPI Users >> *Subject:* [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS >> 7.2 >> >> >> >> Hi All, >> >> I am trying to build openmpi 2.0.1 on a CentOS 7.2 system, and I have >> following libpsm2 packages installed: >> >> libpsm2-0.7-4.el7.x86_64 >> libpsm2-compat-0.7-4.el7.x86_64 >> libpsm2-compat-devel-0.7-4.el7.x86_64 >> libpsm2-devel-0.7-4.el7.x86_64 >> >> I added --with-psm2 to my configure, but it failed: >> >> --- MCA component mtl:psm2 (m4 configuration macro) >> checking for MCA component mtl:psm2 compile mode... static >> checking --with-psm2 value... simple ok (unspecified) >> checking --with-psm2-libdir value... simple ok (unspecified) >> checking psm2.h usability... yes >> checking psm2.h presence... yes >> checking for psm2.h... yes >> looking for library without search path >> checking for library containing psm2_mq_irecv2... no >> configure: error: PSM2 support requested but not found. Aborting >> error: Bad exit status from /var/tmp/rpm-tmp.TLxu8O (%build) >> >> >> >> >> >> /usr/lib64/libpsm2.so is on the system though. >> >> >> >> What else libraries do I need for psm2? >> >> >> >> Thank you! >> >> >> >> ___ >> users mailing list >> users@lists.open-mpi.org >> https://rfd.newmexicoconsortium.org/mailman/listinfo/users >> > > > > ___ > users mailing > listus...@lists.open-mpi.orghttps://rfd.newmexicoconsortium.org/mailman/listinfo/users > > > > ___ > users mailing list > users@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/users > ___ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS 7.2
Thank you very much, MAC! Limin On Tue, Oct 11, 2016 at 10:15 PM, Cabral, Matias A < matias.a.cab...@intel.com> wrote: > Building psm2 should not be complicated (in case you cannot find a newer > binary): > > > > https://github.com/01org/opa-psm2 > > > > Note that newer rpm are named hfi1-psm* > > > > > > _MAC > > > > *From:* users [mailto:users-boun...@lists.open-mpi.org] *On Behalf Of *Limin > Gu > *Sent:* Tuesday, October 11, 2016 6:44 PM > *To:* Open MPI Users > *Subject:* Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on > CentOS 7.2 > > > > Thanks Gilles! > > > > Limin > > > > On Tue, Oct 11, 2016 at 9:33 PM, Gilles Gouaillardet > wrote: > > Limin, > > > > It seems libpsm2 provided by Centos 7 is a bit too old > > all symbols are prefixed with psm_, and Open MPI expect they are prefixed > with psm2_ > > > i am afraid your only option is to manually install the latest libpsm2 and > then configure again with your psm2 install dir > > > Cheers, > > Gilles > > > > On 10/12/2016 9:57 AM, Limin Gu wrote: > > Hi MAC, > > > > It seems /usr/lib64/libpsm2.so.2 has no symbols. Can configure check some > other ways? > > > > > > [root@uranus ~]# rpm -qi libpsm2-0.7-4.el7.x86_64 > > Name: libpsm2 > > Version : 0.7 > > Release : 4.el7 > > Architecture: x86_64 > > Install Date: Tue 11 Oct 2016 05:45:59 PM PDT > > Group : System Environment/Libraries > > Size: 400282 > > License : GPLv2 or BSD > > Signature : RSA/SHA256, Wed 25 Nov 2015 07:02:20 AM PST, Key ID > 24c6a8a7f4a80eb5 > > Source RPM : libpsm2-0.7-4.el7.src.rpm > > Build Date : Fri 20 Nov 2015 08:05:13 AM PST > > Build Host : worker1.bsys.centos.org > > Relocations : (not relocatable) > > Packager: CentOS BuildSystem <http://bugs.centos.org> > > Vendor : CentOS > > URL : http://www.intel.com/ > > Summary : Intel PSM Libraries > > Description : > > The PSM Messaging API, or PSM API, is Intel's low-level > > user-level communications interface for the Truescale > > family of products. PSM users are enabled with mechanisms > > necessary to implement higher level communications > > interfaces in parallel environments. > > [root@uranus ~]# objdump -p /usr/lib64/libpsm2.so.2 |grep SONAME > > *SONAME* libpsm2.so.2 > > [root@uranus ~]# nm /usr/lib64/libpsm2.so.2 > > nm: /usr/lib64/libpsm2.so.2: no symbols > > [root@uranus ~]# > > > > > > Thanks! > > Limin > > > > > > On Tue, Oct 11, 2016 at 7:00 PM, Cabral, Matias A < > matias.a.cab...@intel.com> wrote: > > Hi Limin, > > > > psm2_mq_irecv2 should be in libpsm2.so. I’m not quite sure how CentOS > packs it so I would like a little more info about the version being used. > Some things to share: > > > > >rpm -qi libpsm2-0.7-4.el7.x86_64 > > > objdump –p /usr/lib64/libpsm2.so |grep SONAME > > >nm /usr/lib64/libpsm2.so |grep psm2_mq_irecv2 (will not work if the lib > Stripped) > > > > > > Thanks, > > _MAC > > > > *From:* users [mailto:users-boun...@lists.open-mpi.org] *On Behalf Of *Limin > Gu > *Sent:* Tuesday, October 11, 2016 2:58 PM > *To:* Open MPI Users > *Subject:* [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS > 7.2 > > > > Hi All, > > I am trying to build openmpi 2.0.1 on a CentOS 7.2 system, and I have > following libpsm2 packages installed: > > libpsm2-0.7-4.el7.x86_64 > libpsm2-compat-0.7-4.el7.x86_64 > libpsm2-compat-devel-0.7-4.el7.x86_64 > libpsm2-devel-0.7-4.el7.x86_64 > > I added --with-psm2 to my configure, but it failed: > > --- MCA component mtl:psm2 (m4 configuration macro) > checking for MCA component mtl:psm2 compile mode... static > checking --with-psm2 value... simple ok (unspecified) > checking --with-psm2-libdir value... simple ok (unspecified) > checking psm2.h usability... yes > checking psm2.h presence... yes > checking for psm2.h... yes > looking for library without search path > checking for library containing psm2_mq_irecv2... no > configure: error: PSM2 support requested but not found. Aborting > error: Bad exit status from /var/tmp/rpm-tmp.TLxu8O (%build) > > > > > > /usr/lib64/libpsm2.so is on the system though. > > > > What else libraries do I need for psm2? > > > > Thank you! > > > > > ___ > users mailing list > users@lists.open-mpi
Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS 7.2
Wonderful, thank you so much MAC! Limin On Wed, Oct 12, 2016 at 12:50 PM, Cabral, Matias A < matias.a.cab...@intel.com> wrote: > Hi Limin, > > > > One more detail. I advise to use a stable release: > > > > https://github.com/01org/opa-psm2/releases > > > > Regards, > > > > _MAC > > > > *From:* users [mailto:users-boun...@lists.open-mpi.org] *On Behalf Of *Limin > Gu > *Sent:* Tuesday, October 11, 2016 7:33 PM > > *To:* Open MPI Users > *Subject:* Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on > CentOS 7.2 > > > > Thank you very much, MAC! > > > > Limin > > > > > > > > On Tue, Oct 11, 2016 at 10:15 PM, Cabral, Matias A < > matias.a.cab...@intel.com> wrote: > > Building psm2 should not be complicated (in case you cannot find a newer > binary): > > > > https://github.com/01org/opa-psm2 > > > > Note that newer rpm are named hfi1-psm* > > > > > > _MAC > > > > *From:* users [mailto:users-boun...@lists.open-mpi.org] *On Behalf Of *Limin > Gu > *Sent:* Tuesday, October 11, 2016 6:44 PM > *To:* Open MPI Users > *Subject:* Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on > CentOS 7.2 > > > > Thanks Gilles! > > > > Limin > > > > On Tue, Oct 11, 2016 at 9:33 PM, Gilles Gouaillardet > wrote: > > Limin, > > > > It seems libpsm2 provided by Centos 7 is a bit too old > > all symbols are prefixed with psm_, and Open MPI expect they are prefixed > with psm2_ > > > i am afraid your only option is to manually install the latest libpsm2 and > then configure again with your psm2 install dir > > > Cheers, > > Gilles > > > > On 10/12/2016 9:57 AM, Limin Gu wrote: > > Hi MAC, > > > > It seems /usr/lib64/libpsm2.so.2 has no symbols. Can configure check some > other ways? > > > > > > [root@uranus ~]# rpm -qi libpsm2-0.7-4.el7.x86_64 > > Name: libpsm2 > > Version : 0.7 > > Release : 4.el7 > > Architecture: x86_64 > > Install Date: Tue 11 Oct 2016 05:45:59 PM PDT > > Group : System Environment/Libraries > > Size: 400282 > > License : GPLv2 or BSD > > Signature : RSA/SHA256, Wed 25 Nov 2015 07:02:20 AM PST, Key ID > 24c6a8a7f4a80eb5 > > Source RPM : libpsm2-0.7-4.el7.src.rpm > > Build Date : Fri 20 Nov 2015 08:05:13 AM PST > > Build Host : worker1.bsys.centos.org > > Relocations : (not relocatable) > > Packager: CentOS BuildSystem <http://bugs.centos.org> > > Vendor : CentOS > > URL : http://www.intel.com/ > > Summary : Intel PSM Libraries > > Description : > > The PSM Messaging API, or PSM API, is Intel's low-level > > user-level communications interface for the Truescale > > family of products. PSM users are enabled with mechanisms > > necessary to implement higher level communications > > interfaces in parallel environments. > > [root@uranus ~]# objdump -p /usr/lib64/libpsm2.so.2 |grep SONAME > > *SONAME* libpsm2.so.2 > > [root@uranus ~]# nm /usr/lib64/libpsm2.so.2 > > nm: /usr/lib64/libpsm2.so.2: no symbols > > [root@uranus ~]# > > > > > > Thanks! > > Limin > > > > > > On Tue, Oct 11, 2016 at 7:00 PM, Cabral, Matias A < > matias.a.cab...@intel.com> wrote: > > Hi Limin, > > > > psm2_mq_irecv2 should be in libpsm2.so. I’m not quite sure how CentOS > packs it so I would like a little more info about the version being used. > Some things to share: > > > > >rpm -qi libpsm2-0.7-4.el7.x86_64 > > > objdump –p /usr/lib64/libpsm2.so |grep SONAME > > >nm /usr/lib64/libpsm2.so |grep psm2_mq_irecv2 (will not work if the lib > Stripped) > > > > > > Thanks, > > _MAC > > > > *From:* users [mailto:users-boun...@lists.open-mpi.org] *On Behalf Of *Limin > Gu > *Sent:* Tuesday, October 11, 2016 2:58 PM > *To:* Open MPI Users > *Subject:* [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS > 7.2 > > > > Hi All, > > I am trying to build openmpi 2.0.1 on a CentOS 7.2 system, and I have > following libpsm2 packages installed: > > libpsm2-0.7-4.el7.x86_64 > libpsm2-compat-0.7-4.el7.x86_64 > libpsm2-compat-devel-0.7-4.el7.x86_64 > libpsm2-devel-0.7-4.el7.x86_64 > > I added --with-psm2 to my configure, but it failed: > > --- MCA component mtl:psm2 (m4 configuration macro) > checking for MCA component mtl:psm2 compile mode... static > checking --with-psm2 value... simple ok (unspecified)
[OMPI users] openmpi-1.6.4 mpicc fails to compile hello_c.c
Hi, I have successfully built openmpi-1.6.3 and many previous openmpi versions on both RHEL5 and RHEL6, for the new openmpi-1.6.4 I do the same configure, make and install as before, but the resulting mpicc does not compile hello_c.c. I have PATH and LD_LIBRARY_PATH set correctly. [root@tesla examples]# echo $LD_LIBRARY_PATH /opt/scyld/openmpi/1.6.4/gnu/lib [root@tesla examples]# which mpicc /opt/scyld/openmpi/1.6.4/gnu/bin/mpicc [root@tesla examples]# mpicc -o hello_c hello_c.c /tmp/ccuZg1I9.o: In function `main': hello_c.c:(.text+0x1d): undefined reference to `ompi_mpi_comm_world' hello_c.c:(.text+0x2b): undefined reference to `ompi_mpi_comm_world' collect2: ld returned 1 exit status [root@tesla examples]# But mpicxx does compile: [root@tesla examples]# which mpicxx /opt/scyld/openmpi/1.6.4/gnu/bin/mpicxx [root@tesla examples]# mpicxx -o hello_cxx hello_cxx.cc [root@tesla examples]# Any idea about what is wrong here? I have the same error on both RHEL5 and RHEL6 systems. Thank you! Limin
Re: [OMPI users] openmpi-1.6.4 mpicc fails to compile hello_c.c
Hi Jeff and Reuti, thank you for your responds. "ldd hello_cxx" gave me some clue, and I found it was linked to some mpich library which was installed under/usr/lib64. When I removed mpich libraries, and recompile, everything includes mpicc and mpirun worked fine. I didn't have that problem with eariler openmpi versions like 1.6.x and 1.5.x. I would like to keep mpich libraries on the system, is there any confiure option I can use to make 1.6.4 library link the same as 1.6.3? Thanks again! Limin On Thu, Mar 7, 2013 at 9:34 AM, Jeff Squyres (jsquyres) wrote: > On Mar 7, 2013, at 9:31 AM, Reuti wrote: > > >> [root@tesla examples]# echo $LD_LIBRARY_PATH > >> /opt/scyld/openmpi/1.6.4/gnu/lib > >> [root@tesla examples]# which mpicc > >> /opt/scyld/openmpi/1.6.4/gnu/bin/mpicc > >> [root@tesla examples]# mpicc -o hello_c hello_c.c > >> /tmp/ccuZg1I9.o: In function `main': > >> hello_c.c:(.text+0x1d): undefined reference to `ompi_mpi_comm_world' > >> hello_c.c:(.text+0x2b): undefined reference to `ompi_mpi_comm_world' > > > > What is the output if you compile in addition with -v (verbose)? > > Also, what's the output if you use --showme? I'd like to see the > underlying command that is being used. > > When you successfully compile/link hello_cxx, what does "ldd hello_cxx" > show? > > -- > Jeff Squyres > jsquy...@cisco.com > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >
Re: [OMPI users] openmpi-1.6.4 mpicc fails to compile hello_c.c
On Thu, Mar 7, 2013 at 4:01 PM, Jeff Squyres (jsquyres) wrote: > > This doesn't sound right -- I don't think we changed how linking worked in > 1.6.3 and 1.6.4. > > Are you sure that, on that same machine with MPICH installed in > /usr/lib64, you're also able to compile/link/use 1.6.3 properly? > Yes, on the same system, 1.6.3 openmpi works with MPICH installed in /usr/lib64 > > A wild guess: you have some kind of linker configuration that is putting > /usr/lib64 ahead of -L-specified paths on the compiler command line. > > On the same system, with 1.6.3: [root@tesla examples]# mpicc --showme hello_c.c gcc hello_c.c -I/opt/scyld/openmpi/1.6.3/gnu/include -pthread -L/opt/scyld/openmpi/1.6.3/gnu/lib -lmpi -libverbs -ldat -lrt -lnsl -lutil -lm -ltorque -lm -lnuma -lrt -lnsl -lutil -lm [root@tesla examples]# With 1.6.4: [root@tesla examples]# mpicc --showme hello_c.c gcc hello_c.c -I/opt/scyld/openmpi/1.6.4/gnu/include -pthread -L/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 -L/opt/scyld/openmpi/1.6.4/gnu/lib -lmpi -libverbs -ldat -lrt -lnsl -lutil -lm -ltorque -lm -lnuma -lrt -lnsl -lutil -lm [root@tesla examples]# So indeed, for 1.6.4, the linker is putting /usr/lib64 ahead of openmpi library path, but I don't know why. I used the same configure options when I did these builds. I didn't change linker configuration from 1.6.3 to 1.6.4 either, the only difference I can tell is the openmpi source code. Thank you! Limin -- > Jeff Squyres > jsquy...@cisco.com > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >
Re: [OMPI users] openmpi-1.6.4 mpicc fails to compile hello_c.c
Thanks Jeff! When I was trying to produce clean config.log files, I think I have found what caused my problem. Limin On Thu, Mar 7, 2013 at 5:42 PM, Jeff Squyres (jsquyres) wrote: > > Huh! This is surprising. > > Can you send me the config.log from each of your 1.6.3 and 1.6.4 builds? > > -- > Jeff Squyres > jsquy...@cisco.com > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >
[OMPI users] openmpi-1.7 failed to build on Centos 6.4
Hi all, I downloaded openmpi-1.7, but it failed to build on Centos 6.4 with following error: make[10]: Entering directory `/root/openmpi/openmpi-1.7/ompi/contrib/vt/vt/extlib/otf/tools/otfmerge/mpi' CC otfmerge_mpi-handler.o CC otfmerge_mpi-otfmerge.o CCLD otfmerge-mpi /root/openmpi/openmpi-1.7/ompi/contrib/vt/vt/../../../.libs/libmpi.so: undefined reference to `opal_memory_linux_malloc_init_hook' collect2: ld returned 1 exit status make[10]: *** [otfmerge-mpi] Error 1 And this is my configure options: ./configure --with-udapl --with-tm --with-openib --disable-dlopen --without-slurm --without-mx --without-lsf --without-loadleveler --without-memory-manager --with-memory-manager=no --with-psm CC=gcc CXX=g++ F77=gfortran FC=gfortran Thank you! Limin
Re: [OMPI users] openmpi-1.7 failed to build on Centos 6.4
Thanks Ralph! After I removed --without-memory-manager --with-memory-manager=no, it built fine. Limin On Thu, Apr 4, 2013 at 3:26 PM, Ralph Castain wrote: > Fix is coming - it is the --without-memory-manager option (which is the > same thing as --with-memory-manager=no) that is breaking it. > > > On Apr 4, 2013, at 12:19 PM, Limin Gu wrote: > > > Hi all, > > > > I downloaded openmpi-1.7, but it failed to build on Centos 6.4 with > following error: > > > > make[10]: Entering directory > `/root/openmpi/openmpi-1.7/ompi/contrib/vt/vt/extlib/otf/tools/otfmerge/mpi' > > CC otfmerge_mpi-handler.o > > CC otfmerge_mpi-otfmerge.o > > CCLD otfmerge-mpi > > /root/openmpi/openmpi-1.7/ompi/contrib/vt/vt/../../../.libs/libmpi.so: > undefined reference to `opal_memory_linux_malloc_init_hook' > > collect2: ld returned 1 exit status > > make[10]: *** [otfmerge-mpi] Error 1 > > > > > > And this is my configure options: > > > > ./configure --with-udapl --with-tm --with-openib --disable-dlopen > --without-slurm --without-mx --without-lsf --without-loadleveler > --without-memory-manager --with-memory-manager=no --with-psm CC=gcc CXX=g++ > F77=gfortran FC=gfortran > > > > Thank you! > > > > Limin > > > > ___ > > users mailing list > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >