Re: [OMPI users] openmpi-2.0.1

2016-11-18 Thread Jeff Squyres (jsquyres)
On Nov 17, 2016, at 3:43 PM, Gilles Gouaillardet 
 wrote:
> 
> if it still does not work, you can
> cd ompi/tools
> make V=1
> 
> and post the output

Let me add to that: if that doesn't work, please send all the information 
listed here:

https://www.open-mpi.org/community/help/

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

___
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users


Re: [OMPI users] openmpi-2.0.1

2016-11-17 Thread Gilles Gouaillardet
Hi,

at first, you might want to remove path related to Intel MPI runtime
(e.g. /opt/intel/composer_xe_2013_sp1.2.144/mpirt/lib/intel64) from
your environment

if you are using bash, double check you
export LD_LIBRARY_PATH
(otherwise echo $LD_LIBRARY_PATH and the linker see different things)

then you can
file ompi/.libs/libmpi.so
file ompi/tools/.libs/ompi_info.o
and they are both 64 bits x86_64 (e.g. no 32 bits, nor MIC binaries)

ldd ompi/.libs/libmpi.so
should resolve all intel runtime libs.

then i recommend you restart configure from a clean directory
if it still does not work, you can
cd ompi/tools
make V=1

and post the output

Cheers,

Gilles

On Thu, Nov 17, 2016 at 8:12 AM, Bennet Fauber  wrote:
> That's a stumper.  Only thing I can think of is that the
> LD_LIBRARY_PATH is being overwritten somewhere inside the Makefile, or
> perhaps that it isn't properly exported...?
>
> As a graspable straw, try
>
> $ set -a
>
> to export all variables, then
>
> $ source /opt/intel/composer_xe_2013_sp1.2.144/bin/compilervars.sh
>
> (I may have the path to your compilervars.sh wrong).  That should
> insure that everything is properly exported.
>
> It sure looks to me like the compilers aren't finding the right library paths.
>
> -- bennet
>
>
>
> On Thu, Nov 17, 2016 at 9:44 AM, Professor W P Jones
>  wrote:
>> The .configure is:
>>
>> ./configure PREFIX=/opt/openmpi-2.0.1-intel-14.0.2 CC=icc CXX=icpc F77=ifort
>> FC=ifort
>>
>> and the output from printenv | grep LIBRARY is:
>>
>> LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/intel64/gcc4.4
>> MIC_LD_LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/mpirt/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/mic
>> LD_LIBRARY_PATH=/opt/lf6481/lib64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mpirt/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/intel64/gcc4.4:/opt/lf6481/lib64:/usr/StorMan:/usr/StorMan/ssl/lib:/usr/StorMan/pegasus/lib:
>> MIC_LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/mic
>>
>> Bill
>>
>>
>> Professor W P Jones, FREng
>> Department of Mechanical Engineering
>> Imperial College London
>> Exhibition Road
>> London SW7 2AZ
>> Tel:+44 (0)20 7594 7037/7033
>> Mobile  +44 (0)776 495 9702
>> Fax:+44 (0)20 7594 5702
>> E-mail:  w.jo...@imperial.ac.uk
>> web site: http://www.imperial.ac.uk/me
>>
>> On 17/11/16 14:33, Bennet Fauber wrote:
>>>
>>> Can you include your entire ./configure line?  Also, it would be
>>> useful, perhaps to look at the output of
>>>
>>> $ printenv | grep LIBRARY
>>>
>>> to make sure that all Intel library paths made it into the appropriate
>>> variables.
>>>
>>> When I build 1.10.2, I had these:
>>>
>>>
>>> LIBRARY_PATH=/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/mkl/lib/intel64
>>>
>>>
>>> LD_LIBRARY_PATH=/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64_lin
>>>
>>> and those sufficed.  I have not tried OMPI 2.x.
>>>
>>> -- bennet
>>>
>>>
>>>
>>> On Thu, Nov 17, 2016 at 9:20 AM, Professor W P Jones
>>>  wrote:

 Yes,  ifort -v and icpc -v give ifort version 14.0.2 and icpc version
 14.0.2
 (gcc version 4.8.0 compatibility)

 Bill

 Professor W P Jones, FREng
 Department of Mechanical Engineering
 Imperial College London
 Exhibition Road
 London SW7 2AZ
 Tel:+44 (0)20 7594 7037/7033
 Mobile  +44 (0)776 495 9702
 Fax:+44 (0)20 7594 5702
 E-mail:  w.jo...@imperial.ac.uk
 web site: http://www.imperial.ac.uk/me

 On 17/11/16 14:02, Tim Prince via users wrote:
>
>
> On 11/17/2016 8:45 AM, Professor W P Jones wrote:
>>
>> Hi
>>
>> I am trying to install openmpi-2.0.1 togeter with the version 14.0.2
>> intel compilers and I an having problems.  The configure script with
>> CC=icc CXX=icpc and FC=ifort runs successfully but when i issue make
>> all install this fails with the output:
>>
>>
>> Making all in tools/ompi_info
>> make[2]: En

Re: [OMPI users] openmpi-2.0.1

2016-11-17 Thread Bennet Fauber
That's a stumper.  Only thing I can think of is that the
LD_LIBRARY_PATH is being overwritten somewhere inside the Makefile, or
perhaps that it isn't properly exported...?

As a graspable straw, try

$ set -a

to export all variables, then

$ source /opt/intel/composer_xe_2013_sp1.2.144/bin/compilervars.sh

(I may have the path to your compilervars.sh wrong).  That should
insure that everything is properly exported.

It sure looks to me like the compilers aren't finding the right library paths.

-- bennet



On Thu, Nov 17, 2016 at 9:44 AM, Professor W P Jones
 wrote:
> The .configure is:
>
> ./configure PREFIX=/opt/openmpi-2.0.1-intel-14.0.2 CC=icc CXX=icpc F77=ifort
> FC=ifort
>
> and the output from printenv | grep LIBRARY is:
>
> LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/intel64/gcc4.4
> MIC_LD_LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/mpirt/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/mic
> LD_LIBRARY_PATH=/opt/lf6481/lib64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mpirt/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/intel64/gcc4.4:/opt/lf6481/lib64:/usr/StorMan:/usr/StorMan/ssl/lib:/usr/StorMan/pegasus/lib:
> MIC_LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/mic
>
> Bill
>
>
> Professor W P Jones, FREng
> Department of Mechanical Engineering
> Imperial College London
> Exhibition Road
> London SW7 2AZ
> Tel:+44 (0)20 7594 7037/7033
> Mobile  +44 (0)776 495 9702
> Fax:+44 (0)20 7594 5702
> E-mail:  w.jo...@imperial.ac.uk
> web site: http://www.imperial.ac.uk/me
>
> On 17/11/16 14:33, Bennet Fauber wrote:
>>
>> Can you include your entire ./configure line?  Also, it would be
>> useful, perhaps to look at the output of
>>
>> $ printenv | grep LIBRARY
>>
>> to make sure that all Intel library paths made it into the appropriate
>> variables.
>>
>> When I build 1.10.2, I had these:
>>
>>
>> LIBRARY_PATH=/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/mkl/lib/intel64
>>
>>
>> LD_LIBRARY_PATH=/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64_lin
>>
>> and those sufficed.  I have not tried OMPI 2.x.
>>
>> -- bennet
>>
>>
>>
>> On Thu, Nov 17, 2016 at 9:20 AM, Professor W P Jones
>>  wrote:
>>>
>>> Yes,  ifort -v and icpc -v give ifort version 14.0.2 and icpc version
>>> 14.0.2
>>> (gcc version 4.8.0 compatibility)
>>>
>>> Bill
>>>
>>> Professor W P Jones, FREng
>>> Department of Mechanical Engineering
>>> Imperial College London
>>> Exhibition Road
>>> London SW7 2AZ
>>> Tel:+44 (0)20 7594 7037/7033
>>> Mobile  +44 (0)776 495 9702
>>> Fax:+44 (0)20 7594 5702
>>> E-mail:  w.jo...@imperial.ac.uk
>>> web site: http://www.imperial.ac.uk/me
>>>
>>> On 17/11/16 14:02, Tim Prince via users wrote:


 On 11/17/2016 8:45 AM, Professor W P Jones wrote:
>
> Hi
>
> I am trying to install openmpi-2.0.1 togeter with the version 14.0.2
> intel compilers and I an having problems.  The configure script with
> CC=icc CXX=icpc and FC=ifort runs successfully but when i issue make
> all install this fails with the output:
>
>
> Making all in tools/ompi_info
> make[2]: Entering directory
> `/usr/local/src/openmpi-2.0.1/ompi/tools/ompi_info'
> CCLD ompi_info
> ld: warning: libimf.so, needed by ../../../ompi/.libs/libmpi.so, not
> found (try using -rpath or -rpath-link)
> ld: warning: libsvml.so, needed by ../../../ompi/.libs/libmpi.so, not
> found (try using -rpath or -rpath-link)
> ld: warning: libirng.so, needed by ../../../ompi/.libs/libmpi.so, not
> found (try using -rpath or -rpath-link)
> ld: warning: libintlc.so.5, needed by ../../../ompi/.libs/libmpi.so,
> not found (try using -rpath or -rpath-link)
> ld: .libs/ompi_info: hidden symbol `__intel_cpu_features_init_x' in
>
>
> /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64//libirc.a(cpu_feature_disp.o)
> is referenced by DSO
> ld: final link failed: Bad va

Re: [OMPI users] openmpi-2.0.1

2016-11-17 Thread Professor W P Jones

The .configure is:

./configure PREFIX=/opt/openmpi-2.0.1-intel-14.0.2 CC=icc CXX=icpc 
F77=ifort FC=ifort


and the output from printenv | grep LIBRARY is:

LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/intel64/gcc4.4
MIC_LD_LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/mpirt/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/mic:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/mic
LD_LIBRARY_PATH=/opt/lf6481/lib64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mpirt/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/ipp/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/intel64/gcc4.4:/opt/lf6481/lib64:/usr/StorMan:/usr/StorMan/ssl/lib:/usr/StorMan/pegasus/lib:
MIC_LIBRARY_PATH=/opt/intel/composer_xe_2013_sp1.2.144/tbb/lib/mic

Bill


Professor W P Jones, FREng
Department of Mechanical Engineering
Imperial College London
Exhibition Road
London SW7 2AZ
Tel:+44 (0)20 7594 7037/7033
Mobile  +44 (0)776 495 9702
Fax:+44 (0)20 7594 5702
E-mail:  w.jo...@imperial.ac.uk
web site: http://www.imperial.ac.uk/me

On 17/11/16 14:33, Bennet Fauber wrote:

Can you include your entire ./configure line?  Also, it would be
useful, perhaps to look at the output of

$ printenv | grep LIBRARY

to make sure that all Intel library paths made it into the appropriate
variables.

When I build 1.10.2, I had these:

LIBRARY_PATH=/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/mkl/lib/intel64

LD_LIBRARY_PATH=/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64_lin

and those sufficed.  I have not tried OMPI 2.x.

-- bennet



On Thu, Nov 17, 2016 at 9:20 AM, Professor W P Jones
 wrote:

Yes,  ifort -v and icpc -v give ifort version 14.0.2 and icpc version 14.0.2
(gcc version 4.8.0 compatibility)

Bill

Professor W P Jones, FREng
Department of Mechanical Engineering
Imperial College London
Exhibition Road
London SW7 2AZ
Tel:+44 (0)20 7594 7037/7033
Mobile  +44 (0)776 495 9702
Fax:+44 (0)20 7594 5702
E-mail:  w.jo...@imperial.ac.uk
web site: http://www.imperial.ac.uk/me

On 17/11/16 14:02, Tim Prince via users wrote:


On 11/17/2016 8:45 AM, Professor W P Jones wrote:

Hi

I am trying to install openmpi-2.0.1 togeter with the version 14.0.2
intel compilers and I an having problems.  The configure script with
CC=icc CXX=icpc and FC=ifort runs successfully but when i issue make
all install this fails with the output:


Making all in tools/ompi_info
make[2]: Entering directory
`/usr/local/src/openmpi-2.0.1/ompi/tools/ompi_info'
CCLD ompi_info
ld: warning: libimf.so, needed by ../../../ompi/.libs/libmpi.so, not
found (try using -rpath or -rpath-link)
ld: warning: libsvml.so, needed by ../../../ompi/.libs/libmpi.so, not
found (try using -rpath or -rpath-link)
ld: warning: libirng.so, needed by ../../../ompi/.libs/libmpi.so, not
found (try using -rpath or -rpath-link)
ld: warning: libintlc.so.5, needed by ../../../ompi/.libs/libmpi.so,
not found (try using -rpath or -rpath-link)
ld: .libs/ompi_info: hidden symbol `__intel_cpu_features_init_x' in

/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64//libirc.a(cpu_feature_disp.o)
is referenced by DSO
ld: final link failed: Bad value
make[2]: *** [ompi_info] Error 1
make[2]: Leaving directory
`/usr/local/src/openmpi-2.0.1/ompi/tools/ompi_info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/openmpi-2.0.1/ompi'
make: *** [all-recursive] Error 1


Do you have the Intel compilervars.[c]sh sourced (and associated library
files visible) on each node where you expect to install?


___
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


___
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users


Re: [OMPI users] openmpi-2.0.1

2016-11-17 Thread Bennet Fauber
Can you include your entire ./configure line?  Also, it would be
useful, perhaps to look at the output of

$ printenv | grep LIBRARY

to make sure that all Intel library paths made it into the appropriate
variables.

When I build 1.10.2, I had these:

LIBRARY_PATH=/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/mkl/lib/intel64

LD_LIBRARY_PATH=/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/mkl/lib/intel64:/sw/arcts/centos7/intel/2013.1.046/composer_xe_2013_sp1.2.144/compiler/lib/intel64_lin

and those sufficed.  I have not tried OMPI 2.x.

-- bennet



On Thu, Nov 17, 2016 at 9:20 AM, Professor W P Jones
 wrote:
> Yes,  ifort -v and icpc -v give ifort version 14.0.2 and icpc version 14.0.2
> (gcc version 4.8.0 compatibility)
>
> Bill
>
> Professor W P Jones, FREng
> Department of Mechanical Engineering
> Imperial College London
> Exhibition Road
> London SW7 2AZ
> Tel:+44 (0)20 7594 7037/7033
> Mobile  +44 (0)776 495 9702
> Fax:+44 (0)20 7594 5702
> E-mail:  w.jo...@imperial.ac.uk
> web site: http://www.imperial.ac.uk/me
>
> On 17/11/16 14:02, Tim Prince via users wrote:
>>
>>
>> On 11/17/2016 8:45 AM, Professor W P Jones wrote:
>>>
>>> Hi
>>>
>>> I am trying to install openmpi-2.0.1 togeter with the version 14.0.2
>>> intel compilers and I an having problems.  The configure script with
>>> CC=icc CXX=icpc and FC=ifort runs successfully but when i issue make
>>> all install this fails with the output:
>>>
>>>
>>> Making all in tools/ompi_info
>>> make[2]: Entering directory
>>> `/usr/local/src/openmpi-2.0.1/ompi/tools/ompi_info'
>>>CCLD ompi_info
>>> ld: warning: libimf.so, needed by ../../../ompi/.libs/libmpi.so, not
>>> found (try using -rpath or -rpath-link)
>>> ld: warning: libsvml.so, needed by ../../../ompi/.libs/libmpi.so, not
>>> found (try using -rpath or -rpath-link)
>>> ld: warning: libirng.so, needed by ../../../ompi/.libs/libmpi.so, not
>>> found (try using -rpath or -rpath-link)
>>> ld: warning: libintlc.so.5, needed by ../../../ompi/.libs/libmpi.so,
>>> not found (try using -rpath or -rpath-link)
>>> ld: .libs/ompi_info: hidden symbol `__intel_cpu_features_init_x' in
>>>
>>> /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64//libirc.a(cpu_feature_disp.o)
>>> is referenced by DSO
>>> ld: final link failed: Bad value
>>> make[2]: *** [ompi_info] Error 1
>>> make[2]: Leaving directory
>>> `/usr/local/src/openmpi-2.0.1/ompi/tools/ompi_info'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/usr/local/src/openmpi-2.0.1/ompi'
>>> make: *** [all-recursive] Error 1
>>>
>> Do you have the Intel compilervars.[c]sh sourced (and associated library
>> files visible) on each node where you expect to install?
>>
>
> ___
> 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

2016-11-17 Thread Professor W P Jones
Yes,  ifort -v and icpc -v give ifort version 14.0.2 and icpc version 
14.0.2 (gcc version 4.8.0 compatibility)


Bill

Professor W P Jones, FREng
Department of Mechanical Engineering
Imperial College London
Exhibition Road
London SW7 2AZ
Tel:+44 (0)20 7594 7037/7033
Mobile  +44 (0)776 495 9702
Fax:+44 (0)20 7594 5702
E-mail:  w.jo...@imperial.ac.uk
web site: http://www.imperial.ac.uk/me

On 17/11/16 14:02, Tim Prince via users wrote:


On 11/17/2016 8:45 AM, Professor W P Jones wrote:

Hi

I am trying to install openmpi-2.0.1 togeter with the version 14.0.2
intel compilers and I an having problems.  The configure script with
CC=icc CXX=icpc and FC=ifort runs successfully but when i issue make
all install this fails with the output:


Making all in tools/ompi_info
make[2]: Entering directory
`/usr/local/src/openmpi-2.0.1/ompi/tools/ompi_info'
   CCLD ompi_info
ld: warning: libimf.so, needed by ../../../ompi/.libs/libmpi.so, not
found (try using -rpath or -rpath-link)
ld: warning: libsvml.so, needed by ../../../ompi/.libs/libmpi.so, not
found (try using -rpath or -rpath-link)
ld: warning: libirng.so, needed by ../../../ompi/.libs/libmpi.so, not
found (try using -rpath or -rpath-link)
ld: warning: libintlc.so.5, needed by ../../../ompi/.libs/libmpi.so,
not found (try using -rpath or -rpath-link)
ld: .libs/ompi_info: hidden symbol `__intel_cpu_features_init_x' in
/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64//libirc.a(cpu_feature_disp.o)
is referenced by DSO
ld: final link failed: Bad value
make[2]: *** [ompi_info] Error 1
make[2]: Leaving directory
`/usr/local/src/openmpi-2.0.1/ompi/tools/ompi_info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/openmpi-2.0.1/ompi'
make: *** [all-recursive] Error 1


Do you have the Intel compilervars.[c]sh sourced (and associated library
files visible) on each node where you expect to install?



___
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users


Re: [OMPI users] openmpi-2.0.1

2016-11-17 Thread Tim Prince via users


On 11/17/2016 8:45 AM, Professor W P Jones wrote:
> Hi
>
> I am trying to install openmpi-2.0.1 togeter with the version 14.0.2
> intel compilers and I an having problems.  The configure script with
> CC=icc CXX=icpc and FC=ifort runs successfully but when i issue make
> all install this fails with the output:
>
>
> Making all in tools/ompi_info
> make[2]: Entering directory
> `/usr/local/src/openmpi-2.0.1/ompi/tools/ompi_info'
>   CCLD ompi_info
> ld: warning: libimf.so, needed by ../../../ompi/.libs/libmpi.so, not
> found (try using -rpath or -rpath-link)
> ld: warning: libsvml.so, needed by ../../../ompi/.libs/libmpi.so, not
> found (try using -rpath or -rpath-link)
> ld: warning: libirng.so, needed by ../../../ompi/.libs/libmpi.so, not
> found (try using -rpath or -rpath-link)
> ld: warning: libintlc.so.5, needed by ../../../ompi/.libs/libmpi.so,
> not found (try using -rpath or -rpath-link)
> ld: .libs/ompi_info: hidden symbol `__intel_cpu_features_init_x' in
> /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64//libirc.a(cpu_feature_disp.o)
> is referenced by DSO
> ld: final link failed: Bad value
> make[2]: *** [ompi_info] Error 1
> make[2]: Leaving directory
> `/usr/local/src/openmpi-2.0.1/ompi/tools/ompi_info'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/openmpi-2.0.1/ompi'
> make: *** [all-recursive] Error 1
>
Do you have the Intel compilervars.[c]sh sourced (and associated library
files visible) on each node where you expect to install?

-- 
Tim Prince

___
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

2016-10-12 Thread Limin Gu
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)

Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS 7.2

2016-10-12 Thread Cabral, Matias A
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 
mailto: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<mailto:users-boun...@lists.open-mpi.org>]
 On Behalf Of Limin Gu
Sent: Tuesday, October 11, 2016 6:44 PM
To: Open MPI Users mailto: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 
mailto:gil...@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?



[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<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.

[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 
mailto: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<mailto:users-boun...@lists.open-mpi.org>]
 On Behalf Of Limin Gu
Sent: Tuesday, October 11, 2016 2:58 PM
To: Open MPI Users mailto: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!


___
users mailing list
users@lists.open-mpi.org<mailto:users@lists.open-mpi.org>
https://rfd.newmexicoconsortium.org/mailman/listinfo/users



___

users mailing list

users@lists.open-mpi.org<mailto:users@lists.open-mpi.org>

https://rfd.newmexicoconsortium.org/mailman/listinfo/users


___
users mailing list
users@lists.open-mpi.org<mailto:users@lists.open-mpi.org>
https://rfd.newmexicoconsortium.o

Re: [OMPI users] Openmpi 2.0.1 build --with-psm2 failed on CentOS 7.2

2016-10-11 Thread Limin Gu
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

2016-10-11 Thread Cabral, Matias A
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 
mailto:gil...@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?



[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<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.

[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 
mailto: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<mailto:users-boun...@lists.open-mpi.org>]
 On Behalf Of Limin Gu
Sent: Tuesday, October 11, 2016 2:58 PM
To: Open MPI Users mailto: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!


___
users mailing list
users@lists.open-mpi.org<mailto:users@lists.open-mpi.org>
https://rfd.newmexicoconsortium.org/mailman/listinfo/users



___

users mailing list

users@lists.open-mpi.org<mailto:users@lists.open-mpi.org>

https://rfd.newmexicoconsortium.org/mailman/listinfo/users


___
users mailing list
users@lists.open-mpi.org<mailto: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

2016-10-11 Thread Limin Gu
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 
>
> 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

2016-10-11 Thread Gilles Gouaillardet

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 

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 
mailto: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 mailto: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!


___
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


___
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

2016-10-11 Thread Limin Gu
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 

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

2016-10-11 Thread Jeff Squyres (jsquyres)
Limin --

Can you send the items listed here:

https://www.open-mpi.org/community/help/


> On Oct 11, 2016, at 4: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


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

___
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

2016-10-11 Thread 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. 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

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:

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 *

*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 
mailto: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
mailto:l...@penguincomputing.com>> 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 *

*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


___
users mailing list
users@lists.open-mpi.

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 <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

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 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