I am having some problems getting clMAGMA to compile, which I hope I can have some help with. When compiling clMAGMA I get the error:
- Code: Select all
g++ -O0 -DADD_ -g -Wall -DHAVE_clAmdBlas -DHAVE_CBLAS -fPIC -Xlinker -zmuldefs testing_zpotrf_gpu.o -o testing_zpotrf_gpu lin/liblapacktest.a \
-L../lib -lclmagma -lclmagmablas -L/usr/local/bin/acml/gfortran64/lib -L/usr/local/bin/acml/gfortran64_mp/lib -L/usr/local/bin/clAmdBlas/lib64 -lacml_mp -lacml_mv -lclAmdBlas -lOpenCL
../lib/libclmagma.a(magmablas_z.o): In function `magma_zher2k':
/home/floyd/Downloads/amd/clmagma-0.3.0/interface_opencl/magmablas_z.cpp:378: undefined reference to `cblas_zher2k'
collect2: error: ld returned 1 exit status
make[1]: *** [testing_zpotrf_gpu] Error 1
make[1]: Leaving directory `/home/floyd/Downloads/amd/clmagma-0.3.0/testing'
make: *** [test] Error 2
It seems clMAGMA is not compatible with the ACML version 5.2 or clAmdBlas 1.8 or that I have made a mistake somewhere. I attached my make.ink just in case.
Thank you kindly,
