test-short fails on Ubuntu with AMD Card
JonnoFTW opened this issue · 3 comments
JonnoFTW commented
When I run test-short, I get the following error after compiling with Debug
:
$ ./test-short
Initialize OpenCL and clblas...
---- Advanced Micro Devices, Inc.
SetUp: about to create command queues
Test environment:
Device name: Oland
Device vendor: Advanced Micro Devices, Inc.
Platform (bit): Linux
clblas version: 2.10.0
Driver version: 1800.11 (VM)
Device version: OpenCL 1.2 AMD-APP (1800.11)
Global mem size: 146 MB
---------------------------------------------------------
[==========] Running 10096 tests from 125 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from TRSM_extratest
[ RUN ] TRSM_extratest.strsm
Calling reference xTRSM routine... Illegal instruction
I also get an another, possibly related error when running clBLAS-tune
:
$ ./clBLAS-tune --gemm
GEMM is being tuned, progress: 12.53% clEnqueueNDRangeKernel() failed with -4(UNKNOWN)
MigMuc commented
Did you compile the library by yourself? If so you could try the development version instead.
JonnoFTW commented
I did compile it myself with the latest development version.
I fixed the ACML_LIBRARIES
variable pointing to the MP version, and now I get this error:
$ ./test-short
Initialize OpenCL and clblas...
---- Advanced Micro Devices, Inc.
SetUp: about to create command queues
Test environment:
Device name: Oland
Device vendor: Advanced Micro Devices, Inc.
Platform (bit): Linux
clblas version: 2.10.0
Driver version: 1800.11 (VM)
Device version: OpenCL 1.2 AMD-APP (1800.11)
Global mem size: 233 MB
---------------------------------------------------------
[==========] Running 10096 tests from 125 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from TRSM_extratest
[ RUN ] TRSM_extratest.strsm
Calling reference xTRSM routine... Calling clblas xTRSM routine... Done
[ OK ] TRSM_extratest.strsm (269 ms)
[ RUN ] TRSM_extratest.dtrsm
Calling reference xTRSM routine... Calling clblas xTRSM routine... OpenCL error -11 on line 228
test-short: /scratch/temp/clBLAS/src/library/blas/xtrsm.cc:228: void makeKernel(_cl_kernel**, cl_command_queue, const char*, const char*, const unsigned char**, size_t*, const char*): Assertion `false' failed.
Aborted
Here's my cmake variables (from ccmake
, is _acml_mv_library
a problem):
ACML_INCLUDE_DIRS /scratch/package/install/opt/acml5.3.1/gfortran64_int64/include
ACML_LIBRARIES /scratch/package/install/opt/acml5.3.1/gfortran64_int64/lib/libacml.so
AUTOGEMM_ARCHITECTURE Hawaii
BLAS_DEBUG_TOOLS OFF
BLAS_DUMP_CLBLAS_KERNELS OFF
BLAS_KEEP_KERNEL_SOURCES OFF
BLAS_PRINT_BUILD_ERRORS ON
BLAS_TRACE_MALLOC OFF
BUILD_CLIENT ON
BUILD_KTEST ON
BUILD_PERFORMANCE ON
BUILD_RUNTIME ON
BUILD_SAMPLE ON
BUILD_SHARED_LIBS ON
BUILD_TEST ON
Boost_DIR Boost_DIR-NOTFOUND
Boost_INCLUDE_DIR /scratch/oclcaffe_stuff/dl/boost_1_60_0
Boost_LIBRARY_DIR_DEBUG /scratch/oclcaffe_stuff/dl/boost_1_60_0/stage/lib
Boost_LIBRARY_DIR_RELEASE /scratch/oclcaffe_stuff/dl/boost_1_60_0/stage/lib
Boost_PROGRAM_OPTIONS_LIBRARY_ /scratch/oclcaffe_stuff/dl/boost_1_60_0/stage/lib/libboost_program_options.a
Boost_PROGRAM_OPTIONS_LIBRARY_ /scratch/oclcaffe_stuff/dl/boost_1_60_0/stage/lib/libboost_program_options.a
CMAKE_AR /usr/bin/ar
CMAKE_BUILD_TYPE Debug
CMAKE_COLOR_MAKEFILE ON
CMAKE_CXX_COMPILER /usr/bin/c++
CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS_DEBUG -g
CMAKE_CXX_FLAGS_MINSIZEREL -Os -DNDEBUG
CMAKE_CXX_FLAGS_RELEASE -O3 -DNDEBUG
CMAKE_CXX_FLAGS_RELWITHDEBINFO -O2 -g -DNDEBUG
CMAKE_C_COMPILER /usr/bin/cc
CMAKE_C_FLAGS -std=c99 -Wstrict-prototypes -std=c99 -Wstrict-prototypes -std=c99 -Wstrict-prototypes
CMAKE_C_FLAGS_DEBUG -g
CMAKE_C_FLAGS_MINSIZEREL -Os -DNDEBUG
CMAKE_C_FLAGS_RELEASE -O3 -DNDEBUG
CMAKE_C_FLAGS_RELWITHDEBINFO -O2 -g -DNDEBUG
CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_MINSIZE
CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELWITH
CMAKE_EXPORT_COMPILE_COMMANDS OFF
CMAKE_Fortran_COMPILER /usr/bin/f95
CMAKE_Fortran_FLAGS
CMAKE_Fortran_FLAGS_DEBUG -g
CMAKE_Fortran_FLAGS_MINSIZEREL -Os
CMAKE_Fortran_FLAGS_RELEASE -O3
CMAKE_Fortran_FLAGS_RELWITHDEB -O2 -g -DNDEBUG
CMAKE_INSTALL_PREFIX /scratch/package/install
CMAKE_LINKER /usr/bin/ld
CMAKE_MAKE_PROGRAM /usr/bin/make
CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS_DEBU
CMAKE_MODULE_LINKER_FLAGS_MINS
CMAKE_MODULE_LINKER_FLAGS_RELE
CMAKE_MODULE_LINKER_FLAGS_RELW
CMAKE_NM /usr/bin/nm
CMAKE_OBJCOPY /usr/bin/objcopy
CMAKE_OBJDUMP /usr/bin/objdump
CMAKE_RANLIB /usr/bin/ranlib
CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS_DEBU
CMAKE_SHARED_LINKER_FLAGS_MINS
CMAKE_SHARED_LINKER_FLAGS_RELE
CMAKE_SHARED_LINKER_FLAGS_RELW
CMAKE_SKIP_INSTALL_RPATH OFF
CMAKE_SKIP_RPATH ON
CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS_DEBU
CMAKE_STATIC_LINKER_FLAGS_MINS
CMAKE_STATIC_LINKER_FLAGS_RELE
CMAKE_STATIC_LINKER_FLAGS_RELW
CMAKE_STRIP /usr/bin/strip
CMAKE_VERBOSE_MAKEFILE OFF
CORR_TEST_WITH_ACML ON
Netlib_BLAS_LIBRARY /usr/lib/libblas.so
OPENCL_COMPILER_DIR OPENCL COMPILER PATH
OPENCL_INCLUDE_DIRS /scratch/package/install/opt/AMDAPPSDK-3.0/include
OPENCL_LIBRARIES /scratch/package/install/opt/AMDAPPSDK-3.0/lib/x86_64/libOpenCL.so
OPENCL_VERSION 1.2
PRECOMPILE_GEMM_PRECISION_CGEM OFF
PRECOMPILE_GEMM_PRECISION_DGEM OFF
PRECOMPILE_GEMM_PRECISION_SGEM OFF
PRECOMPILE_GEMM_PRECISION_ZGEM OFF
PRECOMPILE_GEMM_TRANS_CC OFF
PRECOMPILE_GEMM_TRANS_CN OFF
PRECOMPILE_GEMM_TRANS_CT OFF
PRECOMPILE_GEMM_TRANS_NC OFF
PRECOMPILE_GEMM_TRANS_NN OFF
PRECOMPILE_GEMM_TRANS_NT OFF
PRECOMPILE_GEMM_TRANS_TC OFF
PRECOMPILE_GEMM_TRANS_TN OFF
PRECOMPILE_GEMM_TRANS_TT OFF
PRECOMPILE_TRSM_DTRSM OFF
PRECOMPILE_TRSM_STRSM OFF
PYTHON_EXECUTABLE /home/CSEM/mack0242/.pyenv/shims/python
SUFFIX_BIN
SUFFIX_LIB 64
TARGET_PLATFORM 64
USE_SYSTEM_GTEST OFF
_acml_mv_library _acml_mv_library-NOTFOUND
tingxingdong commented
The oland device is too old. I am afraid the driver does not support well.