[Debian-science-sagemath] Linbox optimisations

Ximin Luo infinity0 at debian.org
Tue Oct 4 14:20:00 UTC 2016


(moving back to the list)

Tobias Hansen:
> Hi Ximin,
> 
> it's strange, I'm now working with Linbox 1.4.2 and without changing
> anything these commands give no output:
> 
> objdump -S /usr/lib/x86_64-linux-gnu/liblinbox.so | grep
> '\b\(ymm\|zmm\|vfm\)'
> objdump -S /usr/lib/x86_64-linux-gnu/liblinboxsage.so | grep
> '\b\(ymm\|zmm\|vfm\)'
> 
> It's the same computer that produced the optimized builds before.
> I didn't find anything regarding a fix for this in the Linbox changelog
> or in the commit messages between 1.4.1 and 1.4.2.
> 

This is strange... I did try to disable optimisations before myself in linbox, but I couldn't find any sign of optimisations being applied - -mcpu or -march or ./configure flags, etc. Which is why I didn't do this myself already :p

If you rebuild 1.4.1 again now (with your current computer) does it still apply the optimisations? I hope it does, so we have something reproducible to work with..

If even 1.4.1 now builds without optimisations for you, perhaps do you think your previous build had some extra environment variables that enabled optimisations?

If we really can't figure it out, I suggest you add the above snippet to debian/rules as a post-build check, e.g. in override_dh_auto_test or something, just as a "sanity check" for future builds.

> But my sage build fails in the docbuild because sage segfaults. Also
> can't run the test because sage-starts fails.
> 

I have a _wip_docbuild branch in git that should fix the segfault. However, it is now running out of memory for my machine as well, that has previously run the docbuild fine. (Sometimes it even locks up my machine and I have to restart. :/)

I don't know why sage-starts fails for you though. It works for me (master branch). What's the error?

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Debian-science-sagemath mailing list