Install trouble on Ubuntu 14.04.4 LTS
Posted: Wed May 11, 2016 2:18 pm
I'm running Ubuntu 14.04.4 LTS but having difficulty getting make test to work.
I get errors that look like Magma can't find the LAPACK. I have installed OpenBLAS as well as LAPACK3. It looks like openblas libraries are installed in /usr/lib and /usr/lib/openblas-base. $OPENBLASDIR is set to /usr and the command line looks like:
I'm probably missing something obvious. Any assistance is appreciated.
I get errors that look like Magma can't find the LAPACK. I have installed OpenBLAS as well as LAPACK3. It looks like openblas libraries are installed in /usr/lib and /usr/lib/openblas-base. $OPENBLASDIR is set to /usr and the command line looks like:
Code: Select all
g++ -fPIC -fopenmp -Wl,-rpath,../lib \
-o testing/testing_sgemm testing/testing_sgemm.o \
-L./lib -lmagma \
-L./testing -ltest \
-L./testing/lin -llapacktest \
-L/usr/local/cuda/lib64 -L/usr/lib -lopenblas -lcublas -lcusparse -lcudart
I get errors like the following:
testing/testing_sgemm.o: In function `main':
testing_sgemm.cpp:(.text.startup+0x208): undefined reference to `slange_'
testing_sgemm.cpp:(.text.startup+0x256): undefined reference to `slange_'
testing_sgemm.cpp:(.text.startup+0x60c): undefined reference to `slarnv_'
testing_sgemm.cpp:(.text.startup+0x629): undefined reference to `slarnv_'
testing_sgemm.cpp:(.text.startup+0x64b): undefined reference to `slarnv_'
testing_sgemm.cpp:(.text.startup+0xbcd): undefined reference to `slange_'
testing_sgemm.cpp:(.text.startup+0xc16): undefined reference to `slange_'
testing_sgemm.cpp:(.text.startup+0xc6b): undefined reference to `slange_'
./lib/libmagma.so: undefined reference to `dorgql_'
./lib/libmagma.so: undefined reference to `ssteqr_'
./lib/libmagma.so: undefined reference to `dlaqp2_'
...