Discussion:
[OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS 7.2
Limin Gu
2016-10-11 21:58:22 UTC
Permalink
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!
Cabral, Matias A
2016-10-11 23:00:17 UTC
Permalink
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] On Behalf Of Limin Gu
Sent: Tuesday, October 11, 2016 2:58 PM
To: Open MPI Users <***@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!
Jeff Squyres (jsquyres)
2016-10-11 23:23:56 UTC
Permalink
Limin --

Can you send the items listed here:

https://www.open-mpi.org/community/help/
Post by Cabral, Matias A
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
Sent: Tuesday, October 11, 2016 2:58 PM
Subject: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS 7.2
Hi All,
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
--- 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
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
--
Jeff Squyres
***@cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Limin Gu
2016-10-12 00:57:59 UTC
Permalink
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

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
Post by Cabral, Matias A
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.
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
Gu
*Sent:* Tuesday, October 11, 2016 2:58 PM
*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
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
--- 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
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Gilles Gouaillardet
2016-10-12 01:33:25 UTC
Permalink
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
Post by Limin Gu
Hi MAC,
It seems /usr/lib64/libpsm2.so.2 has no symbols. Can configure check
some other ways?
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
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.
*SONAME* libpsm2.so.2
nm: /usr/lib64/libpsm2.so.2: no symbols
Thanks!
Limin
On Tue, Oct 11, 2016 at 7:00 PM, Cabral, Matias A
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
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
*Sent:* Tuesday, October 11, 2016 2:58 PM
*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
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
--- 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
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
<https://rfd.newmexicoconsortium.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Limin Gu
2016-10-12 01:44:00 UTC
Permalink
Thanks Gilles!


Limin
Post by Cabral, Matias A
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
Hi MAC,
It seems /usr/lib64/libpsm2.so.2 has no symbols. Can configure check some
other ways?
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
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.
*SONAME* libpsm2.so.2
nm: /usr/lib64/libpsm2.so.2: no symbols
Thanks!
Limin
On Tue, Oct 11, 2016 at 7:00 PM, Cabral, Matias A <
Post by Cabral, Matias A
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.
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
Gu
*Sent:* Tuesday, October 11, 2016 2:58 PM
*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
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
--- 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
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Cabral, Matias A
2016-10-12 02:15:08 UTC
Permalink
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] On Behalf Of Limin Gu
Sent: Tuesday, October 11, 2016 6:44 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


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
Limin Gu
2016-10-12 02:33:12 UTC
Permalink
Thank you very much, MAC!

Limin




On Tue, Oct 11, 2016 at 10:15 PM, Cabral, Matias A <
Post by Cabral, Matias A
https://github.com/01org/opa-psm2
Note that newer rpm are named hfi1-psm*
_MAC
Gu
*Sent:* Tuesday, October 11, 2016 6:44 PM
*Subject:* Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on
CentOS 7.2
Thanks Gilles!
Limin
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
Hi MAC,
It seems /usr/lib64/libpsm2.so.2 has no symbols. Can configure check some other ways?
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
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.
*SONAME* libpsm2.so.2
nm: /usr/lib64/libpsm2.so.2: no symbols
Thanks!
Limin
On Tue, Oct 11, 2016 at 7:00 PM, Cabral, Matias A <
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.
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
Gu
*Sent:* Tuesday, October 11, 2016 2:58 PM
*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
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
--- 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
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Cabral, Matias A
2016-10-12 16:50:02 UTC
Permalink
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
Limin Gu
2016-10-12 17:00:34 UTC
Permalink
Wonderful, thank you so much MAC!

Limin

On Wed, Oct 12, 2016 at 12:50 PM, Cabral, Matias A <
Post by Limin Gu
Hi Limin,
https://github.com/01org/opa-psm2/releases
Regards,
_MAC
Gu
*Sent:* Tuesday, October 11, 2016 7:33 PM
*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 <
https://github.com/01org/opa-psm2
Note that newer rpm are named hfi1-psm*
_MAC
Gu
*Sent:* Tuesday, October 11, 2016 6:44 PM
*Subject:* Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on
CentOS 7.2
Thanks Gilles!
Limin
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
Hi MAC,
It seems /usr/lib64/libpsm2.so.2 has no symbols. Can configure check some other ways?
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
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.
*SONAME* libpsm2.so.2
nm: /usr/lib64/libpsm2.so.2: no symbols
Thanks!
Limin
On Tue, Oct 11, 2016 at 7:00 PM, Cabral, Matias A <
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.
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
Gu
*Sent:* Tuesday, October 11, 2016 2:58 PM
*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
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
--- 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
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Loading...