[Debian-science-sagemath] Problems with CPU extensions used by dependencies

Jerome BENOIT calculus at rezozer.net
Tue Aug 9 19:26:33 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On 09/08/16 19:55, Tobias Hansen wrote:
> I checked now and I have all of these extensions available. That could
> explain why less tests are failing for me. Jerome, did you already run
> that one-liner to check?

Because of my zombie story (yes, I believe in zombies), I postpone the test.

Jerome

PS:
1] I closed the ITP for speaklater
2] but I maintain my request to be member of the Python list.

> 
> Best,
> Tobias
> 
> 
> On 08/09/2016 02:46 AM, Ximin Luo wrote:
>> It might be that Sage is adding extra optimisations not supported by our CPUs. For example, running this from sagemath.git after a failed test:
>>
>> $ x=$(grep -o ' -m[^ ]*' sage/logs/pkgs/sagelib-7.2.log | sort -u | tee /dev/fd/2 | cut -b4- | tr '\n' '|'); grep --color -P "${x%|}" /proc/cpuinfo
>>  -mavx2
>>  -mfma
>>  -mmmx
>>  -msse
>>  -msse2
>>  -msse4.1
>> flags		: [..] mmx fxsr sse sse2 [..] ssse3 [..] sse4_1 sse4_2 [..]
>> [..]
>>
>> I can see that avx2 fma are missing for me at least.
>>
>> The difficulty for Debian is that we need to support all i386/amd64/etc CPUs, so we basically have to switch off all optimisations like this.
>>
>> X
>>
>> Jerome BENOIT:
>>> Hi,
>>>
>>> On 08/08/16 19:45, Tobias Hansen wrote:
>>>> I don't know. I think nobody packaged it yet because it's a relatively
>>>> new dependency of Sage. And that things fail is because of the hacky way
>>>> we are using it currently.
>>>
>>> I will think about it. Meanwhile I submitted an ITP for SageTeX.
>>>
>>> Thanks,
>>> Jerome
>>>
>>>
>>>> Best,
>>>> Tobias
>>>
>>>> On 08/08/2016 06:52 PM, Jerome BENOIT wrote:
>>>>> Is cysignals a very tricky/involve Cyphon software package ?
>>>>>
>>>>> Jerome
>>>>>
>>>>> On 08/08/16 12:59, Tobias Hansen wrote:
>>>>>> Hi,
>>>>>
>>>>>> so there still seem to be big problems with cysignals:
>>>>>
>>>>>> 877x
>>>>>>       File "src/cysignals/signals.pyx", line 100, in
>>>>>> cysignals.signals.sig_raise_exception (build/src/cysignals/signals.c:1225)
>>>>>>     SignalError: Illegal instruction
>>>>>
>>>>>> Best,
>>>>>> Tobias
>>>>>
>>>>>> On 08/07/2016 02:27 PM, Jerome BENOIT wrote:
>>>>>>> Please find in attachment my last log files:
>>>>>>> the number of Failed examples is 1949
>>>>>>>
>>>>>>> Jerome
>>>>>>>
>>>>>>> On 05/08/16 11:57, Tobias Hansen wrote:
>>>>>>>> On 08/05/2016 11:46 AM, Jerome BENOIT wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 05/08/16 11:25, Tobias Hansen wrote:
>>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>>> the first two errors I noticed were
>>>>>>>>>
>>>>>>>>>> 1839x
>>>>>>>>>> In order to initialize the database,
>>>>>>>>>> /home/jgmb/.local/share/sagemath/conway_polynomials/conway_polynomials.sobj
>>>>>>>>>> must exist.
>>>>>>>>>
>>>>>>>>>> 999x
>>>>>>>>>> Desired database (='cremona mini') does not exist
>>>>>>>>>
>>>>>>>>>> So it looks in /home/jgmb/.local/share/sagemath instead of
>>>>>>>>>> /usr/share/sagemath, where for example
>>>>>>>>>> conway_polynomials/conway_polynomials.sobj is installed by the package
>>>>>>>>>> sagemath-database-conway-polynomials. I think this is due to
>>>>>>>>>
>>>>>>>>>> -export SAGE_SHARE="/usr/share/sagemath"
>>>>>>>>>> +export SAGE_SHARE="$HOME/.local/share/sagemath"
>>>>>>>>>
>>>>>>>>>> in debian-temp-userdir.patch.
>>>>>>>>>
>>>>>>>>>> I don't understand why Ximin and I don't get these errors, but it should
>>>>>>>>>> be fixed by cleaning up the mixed /usr and $HOME situation.
>>>>>>>>>
>>>>>>>>>> BTW, my failed tests count went up from ~200 to 423 because now some
>>>>>>>>>> files from cysignals are not found.
>>>>>>>>>
>>>>>>>>> please let me know when the git material is updated in view to make new test
>>>>>>>>> (and getting familiar with the process).
>>>>>>>
>>>>>>>> I will probably not have time to work on that today. It's complicated
>>>>>>>> because it's hard to know for what exactly all the variables such as
>>>>>>>> SAGE_LOCAL etc are used for. If you want you can also try it to get
>>>>>>>> familiar with the stuff. In that case I could write a bit more about
>>>>>>>> what to do.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>
>>>>>>>>>> BTW2, SageMath 7.3 was released. Obviously with Singular 3.1.7. But at
>>>>>>>>>> least when they get that Singular 4 ticket done, we can backport the
>>>>>>>>>> patch. Or maybe SageMath 7.4 comes soon enough to target that for
>>>>>>>>>> Stretch. I guess we should fix your huge number of failing doctests
>>>>>>>>>> before upgrading to SageMath 7.3
>>>>>>>>>
>>>>>>>>> Meanwhile we may have a working libgap 4.8.3 packages.
>>>>>>>>>
>>>>>>>>> Jerome
>>>>>>>
>>>>>>>> Very good. After uploading the git repo you can also try pushing to the
>>>>>>>> apt and update the sagemath git to use it. The configure.ac in
>>>>>>>> debian/pruner needs to be updated in order to find it, so you can get
>>>>>>>> familiar with that.
>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Best,
>>>>>>>>>> Tobias
>>>>>>>>>
>>>>>>>>>> On 08/05/2016 10:54 AM, Jerome BENOIT wrote:
>>>>>>>>>>> Hello Tobias,
>>>>>>>>>>>
>>>>>>>>>>> please find in attachment my last log files.
>>>>>>>>>>>
>>>>>>>>>>> Jerome
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>
> 
> 
> _______________________________________________
> Debian-science-sagemath mailing list
> Debian-science-sagemath at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
> 

- -- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
-----BEGIN PGP SIGNATURE-----

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mpNzEDqCM/4nIbquNp7sxVFRy7Mo
T0GF6+Ihwu2KL3yNS5iDxlEV+uAQn8Vcz07ceeNdA+ah+6SugF19f29y1KTVVhKz
Zmdbbqlc2jpc+8nMw8ywHb4cItt6nYQ77Bk5wRdRDMrsh1hKQr6EJ+TcQ2XrHatN
NjVigGpTkE56gry8Fqlgu/F+3bytUoRVHyAV4jmKTDzLgrgscsWcyQie95IZcnOa
wY5IKY2NCfrsCNbM+EqzHutYOceF1cZJ5MHFAr+16XyuZAbOdoHsdpLJ/VZfXgp7
N99zcJwkYWtJ97pmYQ1hUnfzFMLKzVYo5A9t25nXv1H5sunNbX+DADkoMGBTeLg=
=g6qN
-----END PGP SIGNATURE-----



More information about the Debian-science-sagemath mailing list