-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
build openblas with CMAKE GUI and MSVC 2019 #3977
Comments
#2825 may be related, but in any case a pure MSVC build will be inferior due to using generic, relatively poorly optimized C sources instead of the cpu-specific assembly routines available to other compilers |
Hi jac |
openblas_utest is run without command line arguments, its output should look like
not all these regression tests are executed in all configurations, so you will probably see a smaller total than 38, the important point is that what is there should not report anything other than "OK". |
hi |
Ok, there are some more in-depth BLAS tests in the test and ctest folders (the BLAS1 tests with "1" in their name need no arguments, the others require the correspondingly named (first character for input type, number for BLAS rank) input files to be fed as STDIN. (Note also that if you just built 0.3.22, it is now known to have a serious bug in LAPACK function GETF2) |
OK thanks |
Hi I checked th ctest directory |
Oh, right - lack of a Fortran compiler would be another argument against a pure MSVC build. (On the other hand, if you did not see C equivalents for the Fortran files there, chances are you are looking at an older release and thus not affected by the current problem(s?) with the latest. ) |
hi |
In versions since 0.3.21, xccblat1 has an alternate source file c_cblat1c.c that replaces c_cblat1.f when building without a Fortran compiler, so at least in theory it should build. |
Hi |
with regard to ctest |
The CMakeLists.txt there is supposed to do that automatically , or is this not picked up by the gui ? The ...TEST_ functions are mapped by the header file cblas_test.h to the corresponding F77_... functions that are defined in the (original) C files. |
Hello
I tried to build Openbals using CMAKE and MSVC for X64
The configuration with CMAKE goes fine but when I try to build the library I get a number of errors
(missing functions).
I know i can build the library under miniconda and CMAKE - i just wonder if someone has managed to build openblas under MSVC
best
jac
The text was updated successfully, but these errors were encountered: