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

Update docs for FLINT + minor configuration changes #239

Merged
merged 4 commits into from
May 3, 2024

Conversation

vasdommes
Copy link
Collaborator

  • Require FLINT 2.8.0 or later
    Close Compilation errors when using FLINT 2.7.1 #238, won't fix it.
  • Update FLINT installation instructions
  • Add workaround for disabling OpenBLAS threads
    For some reason, openblas_set_num_threads(1) does not always work. In that case, one has to set environment variables OPENBLAS_NUM_THREADS=1 and/or OMP_NUM_THREADS=1.
  • Call openblas_set_num_threads(1) only when OpenBLAS is detected.
    Otherwise, compilation fails for other BLAS implementations (e.g. FlexiBLAS)

Also add workaround OPENBLAS_NUM_THREADS=1 to Usage.md

Sometimes openblas_set_num_threads(1) does not work, and one has to set environment variables
export OPENBLAS_NUM_THREADS=1
and/or
export OMP_NUM_THREADS=1
See also #238 Compilation errors when using FLINT 2.7.1
There were many changes between 2.7 and 2.8, and it's hard to support 2.7.
@vasdommes vasdommes added this to the 3.0.0 milestone May 3, 2024
@vasdommes vasdommes self-assigned this May 3, 2024
@vasdommes vasdommes merged commit 803a93c into master May 3, 2024
2 checks passed
@vasdommes vasdommes deleted the config-and-docs branch May 3, 2024 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compilation errors when using FLINT 2.7.1
1 participant