flintlib / flint

FLINT (Fast Library for Number Theory)
http://www.flintlib.org
GNU Lesser General Public License v3.0
401 stars 235 forks source link

(Partially) fix profile calls to openblas's threads when not available #2019

Closed vneiger closed 1 week ago

vneiger commented 2 weeks ago

This comments out two calls to openblas_set_num_threads in profile files: this function is not necessarily available even when Flint was compiled with BLAS (this is at least the case when using a BLAS library other than OpenBLAS). This resulted in make profile not going through.

vneiger commented 2 weeks ago

This is only partially fixed, by commenting out, so that we can make profile safely. For keeping in mind the wish for a real fix, I added a comment in https://github.com/flintlib/flint/issues/1378 .