Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The BLAS library used by PETSc is not found by GSL in Fedora #6

Open
gtheler opened this issue Sep 2, 2021 · 1 comment
Open

The BLAS library used by PETSc is not found by GSL in Fedora #6

gtheler opened this issue Sep 2, 2021 · 1 comment

Comments

@gtheler
Copy link
Contributor

gtheler commented Sep 2, 2021

The GNU GSL needs a BLAS implementation to work. To enhance flexibility and allow different BLAS implementations to be used, even though it provides a libgslcblas it is not automatically linked when linking against libgsl.

Since PETSc is already linked agains a BLAS implementation and chances are that this implementation is more efficient than libgslcblas, configure does not link against libgslcblas if PETSc is found. This works well in Debian but does not work in Fedora, that uses libflexiblas that exports the symbol cblas_dgemm that configure searchs for but it is not found during linking.

Source: #4

@gtheler
Copy link
Contributor Author

gtheler commented Sep 7, 2021

For now FeenoX will link against gsclbas even if PETSc is found (see 0da38bb). Still, I'd like to leave this open until we find a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant