-
Notifications
You must be signed in to change notification settings - Fork 41
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
Windows 10 support #101
Comments
If you can create a pull request with the changes (include , and the boilerplate for NoInit), I'd be happy to include this. For the BLAS/LAPACK errors, can you check the definition of
|
The contents of
However, if I replace it with the one generated on MacOS (that appears as you've described with
I hope my development environment isn't too unusual, but seeing as I mostly target linux and get MacOS for basically free, I've attempted to get my Windows environment as similar as possible with cygwin and git-bash. |
Some Fortran compilers add an underscore to routine names, and some don't (some use capital names, others lower case). Do you have another Fortran compiler on your system that you can try? Another thing to try is to compile OpenBLAS with your Fortran compiler yourself. OpenBLAS provides both BLAS and LAPACK. Then you can also compile ScaLAPACK and link it to that OpenBLAS (in case you want MPI support). |
On my production servers I only have Intel OneAPI's |
Same issue after updating visual studio and OneAPI's mkl and fortran compiler to latest version |
Can you try openblas? |
Hi there, I'm having an issue compiling this library on windows 10. I'm using Intel OneAPI 2023s next-gen compilers (ICX/ICPX), and have visual studio 2022 installed. My environment is git-bash/cygwin. I've disabled MPI, OpenMP, slate, scotch, parmetis, basically trying to get the minimal viable version to work with Intel MKL's BLAS+LAPACK implementation.
For reference, I've managed to compile this library successfully with the above configuration on MacOS Catalina & Monterey, as well on RHEL6 & RHEL7 linux. On those operating systems I target Clang, GCC-11, ICC, and ICX when available, and this library works out of the box there.
I've encountered three sets of issues that are blocking me from compiling on windows. Two of them I was able to solve, though the third I cannot. My position on my development team is not one that uses these types of libraries, though I'm responsible for preparing them, deploying them, and ensuring our code can link against them, so my knowledge is limited with regards to troubleshooting BLAS/LAPACK or even fortran issues.
std::iota
andstd::partial_sum
require including the<numeric>
header on windows. I adjusted the code as such, leading to the next error.NoInit
class seems to be missing some boilerplate to work on windows, appearing to also have non-viable implicit default/move/copy ctors:ifdef _WIN32
block):BLASLAPACKWrapper.cpp
appears to not correctly resolve the appropriate BLAS/LAPACK functions in Intel MKL's BLAS/LAPACK implementation on windows, I think. Here are some excerpts of the errors I've encountered:Is there anything I should try?
The text was updated successfully, but these errors were encountered: