Moving from mailing lists to discussions #2
Replies: 2 comments 2 replies
-
Saludos hermano Germán and hello all, Well, first of all, congrats. Like to see feenox coming into the light. But let's go to the ugly part. As usual, even not planning to use feenox in the near future, I want to help testing it. And, for my surprise, I got a problem right in the ./configure step: configure.ac line 327 I decided to check by myself and got this program
So, compiling and linking with gcc:
and bang!
Linking error. But why, since I'm linking against gsl?
It works now! What is the problem? I use Fedora (version 34 now) and it seems that when using gsl in Fedora the user also needs to link against cblas library. Yes, really weird. Feel free to follow this quite old discussion. So, I come with a (dirty) solution:
After changing these lines in
You may ask: "Why not to open an issue and patch the fix?". Because it is not a fix. I'm just solving the problem for my Fedora box while ruining the Of course, I'm open to suggestions. If someone knows how to make Regards and glad to share with you, Vitor |
Beta Was this translation helpful? Give feedback.
-
Hey Vitor! Long time no see!
Just a quick answer through the phone, more details tomorrow.
Actually it's not a GSL nor Fedora bug, it's a feature. GSL needs and
explicit link to gslcblas in case the user wants to use a faster/different
blas library (even a non-free one like MKL).
The thing is that PETSc already uses (and provides) a blas library which
can be used by GSL. So I tried to put a logic in configure.am such that
when PETSc is used, the blas provided by PETSc is used by GSL as well and
link to gslcblas if there's no PETSc. But I think I failed to do that (or
my trick does not work on Fedora). Will investigate tomorrow.
Feel free to open an issue so we can track the fix.
Thanks!
|
Beta Was this translation helpful? Give feedback.
-
Hey all. Hopefully all questions, requirements and discussions will take place here, on GitHub discussions (pun).
The wasora mailing list at [email protected] will be transitioned to this place and eventually closed, as this is a better way to stay up to date and to follow improvements and changes in the code.
Welcome to the FeenoX community!
Beta Was this translation helpful? Give feedback.
All reactions