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

Find BLAS and LAPACK if not using MKL #39

Merged
merged 2 commits into from
Oct 4, 2023
Merged

Find BLAS and LAPACK if not using MKL #39

merged 2 commits into from
Oct 4, 2023

Conversation

zfergus
Copy link
Member

@zfergus zfergus commented Aug 22, 2023

No description provided.

@zfergus zfergus requested review from teseoch and jdumas August 22, 2023 00:38
@@ -19,8 +19,11 @@ if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm64" OR "${CMAKE_OSX_ARCHITECTURES}" M
# Use Accelerate on macOS M1
set(BLA_VENDOR Apple)
find_package(BLAS REQUIRED)
else()
# Use MKL on other platforms
elseif(POLYSOLVE_WITH_MKL)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would you ever want the system version over the MKL BLAS if available? MKL BLAS should be faster...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When POLYSOLVE_WITH_MKL=OFF, I would expect MKL to not be used entirely.

@teseoch teseoch merged commit 2915048 into main Oct 4, 2023
6 checks passed
@teseoch teseoch deleted the find-blas-lapack branch October 4, 2023 17:33
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

Successfully merging this pull request may close these issues.

3 participants