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

Add Windows Openblas+lapack #875

Merged
merged 4 commits into from
Aug 12, 2020
Merged

Conversation

vvilpas
Copy link
Contributor

@vvilpas vvilpas commented Aug 10, 2020

Summary

Add Windows Openblas+lapack

Details and comments

To enable openblas+lapack on windows we need a library compiled with clang-cl and flang compilers following the procedure for Native (MSVC) ABI described here: https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio, except that we need to build the shared lib instead, adding the flag -DBUILD_SHARED_LIBS=1. If we use the static library instead, there could be an error when running with conda for example, when omp library is loaded twice.
We also need to distribute few .dll for running: flang.dll, flangrti.dll and libomp.dll.

@vvilpas vvilpas changed the title [WIP] Add Windows Openblas+lapack Add Windows Openblas+lapack Aug 12, 2020
Copy link
Member

@atilag atilag left a comment

Choose a reason for hiding this comment

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

LGTM

@atilag atilag merged commit c1ee3e2 into Qiskit:master Aug 12, 2020
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.

3 participants