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-***@lists.open-mpi.org] On Behalf Of Limin Gu
Sent: Tuesday, October 11, 2016 7:33 PM
To: Open MPI Users <***@lists.open-mpi.org>
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 <***@intel.com<mailto:***@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-***@lists.open-mpi.org<mailto:users-***@lists.open-mpi.org>] On Behalf Of Limin Gu
Sent: Tuesday, October 11, 2016 6:44 PM
To: Open MPI Users <***@lists.open-mpi.org<mailto:***@lists.open-mpi.org>>
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 <***@rist.or.jp<mailto:***@rist.or.jp>> 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?
[***@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<http://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.
[***@uranus ~]# objdump -p /usr/lib64/libpsm2.so.2 |grep SONAME
SONAME libpsm2.so.2
[***@uranus ~]# nm /usr/lib64/libpsm2.so.2
nm: /usr/lib64/libpsm2.so.2: no symbols
[***@uranus ~]#
Thanks!
Limin
On Tue, Oct 11, 2016 at 7:00 PM, Cabral, Matias A <***@intel.com<mailto:***@intel.com>> wrote:
Hi Limin,
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-***@lists.open-mpi.org<mailto:users-***@lists.open-mpi.org>] On Behalf Of Limin Gu
Sent: Tuesday, October 11, 2016 2:58 PM
To: Open MPI Users <***@lists.open-mpi.org<mailto:***@lists.open-mpi.org>>
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
***@lists.open-mpi.org<mailto:***@lists.open-mpi.org>
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
***@lists.open-mpi.org<mailto:***@lists.open-mpi.org>
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
***@lists.open-mpi.org<mailto:***@lists.open-mpi.org>
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
***@lists.open-mpi.org<mailto:***@lists.open-mpi.org>
https://rfd.newmexicoconsortium.org/mailman/listinfo/users