Closed Gijom closed 8 years ago
After a gdb run I realized the SIGSEGV comes from libacml.so:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff619bb9b in dmmavxalphablkb_ () from /opt/acml5.3.1/ifort64/lib/libacml.so
Possibly related to this issue: https://community.amd.com/thread/169180
Hi, Gijom:
thanks for the input. It seems that the error is from ACML. ACML has not been updated for years. Various resources report error. Instead you can link to Netlib BLAS. other than ACML as the against CPU library.
search "netlib" in /src/CMakeLists.txt for more details how to switch to "netlib".
Actually this is what I did in the first place and switched to ACML cause I had compilation errors. The compilation error correspond to #184.
However I am sure that I am using net BLAS:
$ repoquery -l blas-devel
/usr/lib/libblas.so
/usr/lib64/libblas.so
$ repoquery -l openblas-devel
/usr/include/openblas
/usr/include/openblas/cblas.h
/usr/include/openblas/f77blas.h
/usr/include/openblas/lapacke.h
/usr/include/openblas/lapacke_config.h
/usr/include/openblas/lapacke_mangling.h
/usr/include/openblas/lapacke_utils.h
/usr/include/openblas/openblas_config.h
/usr/lib64/libopenblas.so
/usr/lib64/libopenblas64.so
/usr/lib64/libopenblas64_.so
/usr/lib64/libopenblaso.so
/usr/lib64/libopenblaso64.so
/usr/lib64/libopenblaso64_.so
/usr/lib64/libopenblasp.so
/usr/lib64/libopenblasp64.so
/usr/lib64/libopenblasp64_.so
And with cmake:
Netlib_BLAS_LIBRARY=/usr/lib64/libblas.so
Nerver the less I consider this case closed then and will continue on #184 if needed.
see my solution to that error
https://github.com/clMathLibraries/clBLAS/issues/238
On Fri, Mar 11, 2016 at 4:33 AM, Gijom notifications@github.com wrote:
Actually this is what I did in the first place and switched to ACML cause I had compilation errors. The compilation error correspond to #184 https://github.com/clMathLibraries/clBLAS/issues/184.
However I am sure that I am using net BLAS:
$ repoquery -l blas-devel /usr/lib/libblas.so /usr/lib64/libblas.so
$ repoquery -l openblas-devel /usr/include/openblas /usr/include/openblas/cblas.h /usr/include/openblas/f77blas.h /usr/include/openblas/lapacke.h /usr/include/openblas/lapacke_config.h /usr/include/openblas/lapacke_mangling.h /usr/include/openblas/lapacke_utils.h /usr/include/openblas/openblasconfig.h /usr/lib64/libopenblas.so /usr/lib64/libopenblas64.so /usr/lib64/libopenblas64.so /usr/lib64/libopenblaso.so /usr/lib64/libopenblaso64.so /usr/lib64/libopenblaso64.so /usr/lib64/libopenblasp.so /usr/lib64/libopenblasp64.so /usr/lib64/libopenblasp64.so
And with cmake: Netlib_BLAS_LIBRARY=/usr/lib64/libblas.so
— Reply to this email directly or view it on GitHub https://github.com/clMathLibraries/clBLAS/issues/236#issuecomment-195311450 .
Tingxing dong
Good job @tingxingdong
Hello,
I am facing FAILED tests and a SEGV when executing either
test-correctness
ortest-short
executables.Here is the output of
test-correctness
:So after re-reading it seem there are two problems here:
For test short only one of the sgemm tests is FAILED:
And the code also ends up in a SEGV for dgemm: