Numpy failures

  • Done
  • quality assurance status badge
Details
4 participants
  • Andreas Enge
  • Federico Beffa
  • Ludovic Courtès
  • Mark H Weaver
Owner
unassigned
Submitted by
Andreas Enge
Severity
normal
Merged with

Debbugs page

Andreas Enge wrote 10 years ago
20150207164108.GA7946@debian
python-numpy-bootstrap currently fails its tests on hydra, which entails a
bunch of other failures. On my own x86_64 machines, the build succeeds,
however.

Andreas
Federico Beffa wrote 10 years ago
(name . Andreas Enge)(address . andreas@enge.fr)
CAKrPhPOfkGiy2GTutqcW_s5p+Cgpe=hF_P0pxpuT6PxrPP5FvQ@mail.gmail.com
Andreas Enge <andreas@enge.fr> writes:

Toggle quote (4 lines)
> python-numpy-bootstrap currently fails its tests on hydra, which entails a
> bunch of other failures. On my own x86_64 machines, the build succeeds,
> however.

We believe the reason being the fact that hydra doesn't handle the flag
'#:substitutable?' properly. As a result we have the following
situation:

1. hydra builds a version of ATLAS optimized for its CPU locally.

2. 'python-numpy-bootstrap' and co., on some architectures, probably get
an incompatible version of ATLAS and therefore fail to pass some tests.

You can check in the build log of 'python-numpy-bootstrap' that ATLAS,
despite the flas, is substituted (no local build on the slave).

At some point we should fix the support for '#:substitutable?' on hydra
(or the upcoming 'guix publish').

Regards,
Fede
Ludovic Courtès wrote 10 years ago
Re: bug#19805: Numpy failures
(name . Federico Beffa)(address . beffa@ieee.org)
87zj8m7kh0.fsf@gnu.org
Federico Beffa <beffa@ieee.org> skribis:

Toggle quote (18 lines)
> Andreas Enge <andreas@enge.fr> writes:
>
>> python-numpy-bootstrap currently fails its tests on hydra, which entails a
>> bunch of other failures. On my own x86_64 machines, the build succeeds,
>> however.
>
> We believe the reason being the fact that hydra doesn't handle the flag
> '#:substitutable?' properly. As a result we have the following
> situation:
>
> 1. hydra builds a version of ATLAS optimized for its CPU locally.
>
> 2. 'python-numpy-bootstrap' and co., on some architectures, probably get
> an incompatible version of ATLAS and therefore fail to pass some tests.
>
> You can check in the build log of 'python-numpy-bootstrap' that ATLAS,
> despite the flas, is substituted (no local build on the slave).

Oh. Actually, slaves do not use substitutes at all, but they receive
missing store items from hydra.gnu.org when builds are offloaded. So I
suppose they receive something built on hydra.gnu.org, which may be
incompatible.

Toggle quote (2 lines)
> At some point we should fix the support for '#:substitutable?' on hydra

That probably means that #:substitutable? should be propagated–i.e.,
that anything depending on ATLAS should not be substituted.

Thanks for investigating!

Ludo’.
Federico Beffa wrote 10 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)
CAKrPhPOj2S5H8P1DMQ+hM5-GYd=4Z07PA3j+FkVKXgnCNBKJkA@mail.gmail.com
On Tue, Feb 10, 2015 at 12:07 AM, Ludovic Courtès <ludo@gnu.org> wrote:
Toggle quote (5 lines)
>> At some point we should fix the support for '#:substitutable?' on hydra
>
> That probably means that #:substitutable? should be propagated–i.e.,
> that anything depending on ATLAS should not be substituted.

I guess so. Is there a way to specify this in a package or does it
require changes to the guix code?

Regards,
Fede
Mark H Weaver wrote 10 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)
877fvpswko.fsf@netris.org
ludo@gnu.org (Ludovic Courtès) writes:

Toggle quote (7 lines)
> Federico Beffa <beffa@ieee.org> skribis:
>
>> At some point we should fix the support for '#:substitutable?' on hydra
>
> That probably means that #:substitutable? should be propagated–i.e.,
> that anything depending on ATLAS should not be substituted.

As I just wrote in the "texlive failure" thread, setting
#:substitutable? #f might make sense for texlive. However, in that case
we certainly would not want to propagate that setting.

So, instead of propagating it, how about simply arranging to not send
such packages to the build slaves, instead forcing them to build it
locally on their own?

I suppose this would cause the texlive build log to be prepended to some
other build log, which is not so good, but that could also be dealt with
in various ways, e.g. by changing the "send dependency to slave" logic
for non-substitutable packages to build the package on that particular
slave.

What do you think?

Mark
Ludovic Courtès wrote 10 years ago
(name . Mark H Weaver)(address . mhw@netris.org)
87wq3p6d7z.fsf@gnu.org
Mark H Weaver <mhw@netris.org> skribis:

Toggle quote (17 lines)
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Federico Beffa <beffa@ieee.org> skribis:
>>
>>> At some point we should fix the support for '#:substitutable?' on hydra
>>
>> That probably means that #:substitutable? should be propagated–i.e.,
>> that anything depending on ATLAS should not be substituted.
>
> As I just wrote in the "texlive failure" thread, setting
> #:substitutable? #f might make sense for texlive. However, in that case
> we certainly would not want to propagate that setting.
>
> So, instead of propagating it, how about simply arranging to not send
> such packages to the build slaves, instead forcing them to build it
> locally on their own?

I think there are two properties of interest: “substitutability”, and
“offloadability”.

What do we want for ATLAS, for NumPy, and for TeX Live?

However, note that we can’t currently distinguish between these two

Thanks,
Ludo’.
Ludovic Courtès wrote 9 years ago
control message for bug #19819
(address . control@debbugs.gnu.org)
87y4gcagv3.fsf@gnu.org
merge 19819 19805
Ludovic Courtès wrote 9 years ago
Re: bug#19805: Numpy failures
(name . Mark H Weaver)(address . mhw@netris.org)
87twr0ago4.fsf@gnu.org
This bug is moot now that NumPy uses OpenBLAS instead of ATLAS (commit
dbdfe515), so closing it.

The suggestion about propagating the #:substitutable? flag at
but it’s a separate issue.

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 19805@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 19805
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help