Re: Help needed with failing PPC build: cannot find MPI with openmpi

2019-10-17 Thread Ankur Sinha
On Wed, Oct 16, 2019 22:13:16 -0600, Orion Poplawski wrote:
> 
> https://bodhi.fedoraproject.org/updates/FEDORA-2019-497f765fe8

Thank you. I've requested a buildroot override and will build MUSIC as
soon as it is active.

-- 
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | 
https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Help needed with failing PPC build: cannot find MPI with openmpi

2019-10-16 Thread Orion Poplawski

On 10/15/19 1:33 PM, Ankur Sinha wrote:

Hi Orion,

On Tue, Sep 17, 2019 15:37:57 -0600, Orion Poplawski wrote:


I have no idea as I really don't know exactly what --enable-mpi-cxx does.  I
was surprised that it didn't appear to affect more packages.


F30 still seems to suffer from this issue. Any chance the fix could be
include there also please?

https://koji.fedoraproject.org/koji/taskinfo?taskID=38314982


https://bodhi.fedoraproject.org/updates/FEDORA-2019-497f765fe8

--
Orion Poplawski
Manager of NWRA Technical Systems  720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/



smime.p7s
Description: S/MIME Cryptographic Signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Help needed with failing PPC build: cannot find MPI with openmpi

2019-10-15 Thread Ankur Sinha
Hi Orion,

On Tue, Sep 17, 2019 15:37:57 -0600, Orion Poplawski wrote:
> 
> I have no idea as I really don't know exactly what --enable-mpi-cxx does.  I
> was surprised that it didn't appear to affect more packages.

F30 still seems to suffer from this issue. Any chance the fix could be
include there also please?

https://koji.fedoraproject.org/koji/taskinfo?taskID=38314982

-- 
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | 
https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Help needed with failing PPC build: cannot find MPI with openmpi

2019-09-17 Thread Orion Poplawski
On 9/17/19 4:06 AM, Ankur Sinha wrote:
> On Sat, Sep 14, 2019 15:37:22 -0600, Orion Poplawski wrote:
>> On 9/14/19 2:08 PM, Jerry James wrote:
>>> On Fri, Sep 13, 2019 at 8:38 AM Ankur Sinha  wrote:
 Hello,
>> 
>>>
>>> The C++ headers are missing on ppc64le.  On other architectures, they
>>> are in /usr/include/openmpi-/openmpi/ompi/mpi/cxx.  The cxx
>>> subdirectory does not exist in the ppc64le build.  Indeed, if you look
>>> at build.log from the latest openmpi build on ppc64le, you'll find
>>> this line:
>>>
>>> checking if want C++ bindings... no
>>>
>>> You might want to contact the openmpi package maintainers to find out
>>> if that is deliberate or an accident.
>>>
>>> Regards,
>>>
>>
>> Indeed, this was deliberate, but should have been reverted long ago:
>>
>> commit 9f7f02128769699d51527f6c67f42885c2db8648
>> Author: Dan Horák 
>> Date:   Thu Oct 27 09:15:40 2016 +0200
>>
>> - Temporarily disable C++ bindings on ppc64/ppc64le (#1388561)
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1388561
>> https://github.com/open-mpi/ompi/issues/2055#issuecomment-256487077
>>
>> I'm working on getting this fixed at least in rawhide.
> 
> Thanks Orion, Jerry. I'll keep an eye out for the fix and then retry the
> build.
> 
> Out of curiosity: shouldn't this have affected all tools using OpenMPI
> C++ bindings?  NEST, for example built fine even on ppc:
> https://koji.fedoraproject.org/koji/buildinfo?buildID=1362315
> 
> Build log:
> https://kojipkgs.fedoraproject.org//packages/nest/2.18.0/5.fc32/data/logs/ppc64le/build.log
> 
> I see that it found mpicxx, but not headers etc. However, that didn't
> cause the build to fail (line #2439).

I have no idea as I really don't know exactly what --enable-mpi-cxx does.  I
was surprised that it didn't appear to affect more packages.

-- 
Orion Poplawski
Manager of NWRA Technical Systems  720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/



smime.p7s
Description: S/MIME Cryptographic Signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Help needed with failing PPC build: cannot find MPI with openmpi

2019-09-17 Thread Ankur Sinha
On Sat, Sep 14, 2019 15:37:22 -0600, Orion Poplawski wrote:
> On 9/14/19 2:08 PM, Jerry James wrote:
> > On Fri, Sep 13, 2019 at 8:38 AM Ankur Sinha  wrote:
> > > Hello,
> 
> > 
> > The C++ headers are missing on ppc64le.  On other architectures, they
> > are in /usr/include/openmpi-/openmpi/ompi/mpi/cxx.  The cxx
> > subdirectory does not exist in the ppc64le build.  Indeed, if you look
> > at build.log from the latest openmpi build on ppc64le, you'll find
> > this line:
> > 
> > checking if want C++ bindings... no
> > 
> > You might want to contact the openmpi package maintainers to find out
> > if that is deliberate or an accident.
> > 
> > Regards,
> > 
> 
> Indeed, this was deliberate, but should have been reverted long ago:
> 
> commit 9f7f02128769699d51527f6c67f42885c2db8648
> Author: Dan Horák 
> Date:   Thu Oct 27 09:15:40 2016 +0200
> 
> - Temporarily disable C++ bindings on ppc64/ppc64le (#1388561)
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1388561
> https://github.com/open-mpi/ompi/issues/2055#issuecomment-256487077
> 
> I'm working on getting this fixed at least in rawhide.

Thanks Orion, Jerry. I'll keep an eye out for the fix and then retry the
build.

Out of curiosity: shouldn't this have affected all tools using OpenMPI
C++ bindings?  NEST, for example built fine even on ppc:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1362315

Build log:
https://kojipkgs.fedoraproject.org//packages/nest/2.18.0/5.fc32/data/logs/ppc64le/build.log

I see that it found mpicxx, but not headers etc. However, that didn't
cause the build to fail (line #2439).

-- 
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | 
https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Help needed with failing PPC build: cannot find MPI with openmpi

2019-09-14 Thread Orion Poplawski

On 9/14/19 2:08 PM, Jerry James wrote:

On Fri, Sep 13, 2019 at 8:38 AM Ankur Sinha  wrote:

Hello,

A tool I am trying to package is failing only on PPC somehow:
https://bugzilla.redhat.com/show_bug.cgi?id=1731487


  make[2]: Leaving directory 
'/builddir/build/BUILD/MUSIC-a78a8e2c90b07274db94265db75c320dbb01f9fb/MUSIC-a78a8e2c90b07274db94265db75c320dbb01f9fb-openmpi/src'
  BUILDSTDERR: error.cc: In function 'void MUSIC::error()':
  BUILDSTDERR: error.cc:36:5: error: 'MPI' has not been declared
  BUILDSTDERR:36 | MPI::COMM_WORLD.Abort (1);
  BUILDSTDERR:   | ^~~
  BUILDSTDERR: error.cc: In function 'int MUSIC::getRank()':
  BUILDSTDERR: error.cc:70:9: error: 'MPI' has not been declared
  BUILDSTDERR:70 | if (MPI::Is_initialized ())
  BUILDSTDERR:   | ^~~
  BUILDSTDERR: error.cc:71:14: error: 'MPI' has not been declared
  BUILDSTDERR:71 |   return MPI::COMM_WORLD.Get_rank ();
  BUILDSTDERR:   |  ^~~
  BUILDSTDERR: make[2]: *** [Makefile:739: libmusic_la-error.lo] Error 1


On all other arches, it builds just fine, so there's something different
with the openmpi package on ppc here. Any ideas?


The C++ headers are missing on ppc64le.  On other architectures, they
are in /usr/include/openmpi-/openmpi/ompi/mpi/cxx.  The cxx
subdirectory does not exist in the ppc64le build.  Indeed, if you look
at build.log from the latest openmpi build on ppc64le, you'll find
this line:

checking if want C++ bindings... no

You might want to contact the openmpi package maintainers to find out
if that is deliberate or an accident.

Regards,



Indeed, this was deliberate, but should have been reverted long ago:

commit 9f7f02128769699d51527f6c67f42885c2db8648
Author: Dan Horák 
Date:   Thu Oct 27 09:15:40 2016 +0200

- Temporarily disable C++ bindings on ppc64/ppc64le (#1388561)

https://bugzilla.redhat.com/show_bug.cgi?id=1388561
https://github.com/open-mpi/ompi/issues/2055#issuecomment-256487077

I'm working on getting this fixed at least in rawhide.

- Orion

--
Orion Poplawski
Manager of NWRA Technical Systems  720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/



smime.p7s
Description: S/MIME Cryptographic Signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Help needed with failing PPC build: cannot find MPI with openmpi

2019-09-14 Thread Jerry James
On Fri, Sep 13, 2019 at 8:38 AM Ankur Sinha  wrote:
> Hello,
>
> A tool I am trying to package is failing only on PPC somehow:
> https://bugzilla.redhat.com/show_bug.cgi?id=1731487
>
> >  make[2]: Leaving directory 
> > '/builddir/build/BUILD/MUSIC-a78a8e2c90b07274db94265db75c320dbb01f9fb/MUSIC-a78a8e2c90b07274db94265db75c320dbb01f9fb-openmpi/src'
> >  BUILDSTDERR: error.cc: In function 'void MUSIC::error()':
> >  BUILDSTDERR: error.cc:36:5: error: 'MPI' has not been declared
> >  BUILDSTDERR:36 | MPI::COMM_WORLD.Abort (1);
> >  BUILDSTDERR:   | ^~~
> >  BUILDSTDERR: error.cc: In function 'int MUSIC::getRank()':
> >  BUILDSTDERR: error.cc:70:9: error: 'MPI' has not been declared
> >  BUILDSTDERR:70 | if (MPI::Is_initialized ())
> >  BUILDSTDERR:   | ^~~
> >  BUILDSTDERR: error.cc:71:14: error: 'MPI' has not been declared
> >  BUILDSTDERR:71 |   return MPI::COMM_WORLD.Get_rank ();
> >  BUILDSTDERR:   |  ^~~
> >  BUILDSTDERR: make[2]: *** [Makefile:739: libmusic_la-error.lo] Error 1
>
> On all other arches, it builds just fine, so there's something different
> with the openmpi package on ppc here. Any ideas?

The C++ headers are missing on ppc64le.  On other architectures, they
are in /usr/include/openmpi-/openmpi/ompi/mpi/cxx.  The cxx
subdirectory does not exist in the ppc64le build.  Indeed, if you look
at build.log from the latest openmpi build on ppc64le, you'll find
this line:

checking if want C++ bindings... no

You might want to contact the openmpi package maintainers to find out
if that is deliberate or an accident.

Regards,
-- 
Jerry James
http://www.jamezone.org/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Help needed with failing PPC build: cannot find MPI with openmpi

2019-09-13 Thread Ankur Sinha
Hello,

A tool I am trying to package is failing only on PPC somehow:
https://bugzilla.redhat.com/show_bug.cgi?id=1731487

>  make[2]: Leaving directory 
> '/builddir/build/BUILD/MUSIC-a78a8e2c90b07274db94265db75c320dbb01f9fb/MUSIC-a78a8e2c90b07274db94265db75c320dbb01f9fb-openmpi/src'
>  BUILDSTDERR: error.cc: In function 'void MUSIC::error()':
>  BUILDSTDERR: error.cc:36:5: error: 'MPI' has not been declared
>  BUILDSTDERR:36 | MPI::COMM_WORLD.Abort (1);
>  BUILDSTDERR:   | ^~~
>  BUILDSTDERR: error.cc: In function 'int MUSIC::getRank()':
>  BUILDSTDERR: error.cc:70:9: error: 'MPI' has not been declared
>  BUILDSTDERR:70 | if (MPI::Is_initialized ())
>  BUILDSTDERR:   | ^~~
>  BUILDSTDERR: error.cc:71:14: error: 'MPI' has not been declared
>  BUILDSTDERR:71 |   return MPI::COMM_WORLD.Get_rank ();
>  BUILDSTDERR:   |  ^~~
>  BUILDSTDERR: make[2]: *** [Makefile:739: libmusic_la-error.lo] Error 1

On all other arches, it builds just fine, so there's something different
with the openmpi package on ppc here. Any ideas?

-- 
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | 
https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org