compiled magma library has no functionality

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)

compiled magma library has no functionality

Postby Klausb » Mon Oct 09, 2017 3:07 pm

Hello,

after many issues with a MKL based installation on Ubuntu 16.04, I tried to install magma with openblas support based on the make.inc example for openblas.

Findings:

1: make shared
Compilation takes place

2: make test
Something happens but as there's no "feedback" concerning a result or success, I don't know whether it was successful

3: (sudo) make install prefix=/usr/local/magma
This installs the shared and a static libraries libmagma.so libmagma.a libmagma_sparse.so libmagma_sparse.a in /usr/local/magma/lib

4: /testing ()
All tests fail as if there would be no functionality

Code: Select all
$ ./run_tests.py
...
testing_dgesvd doesn't exist (original name: testing_zgesvd, precision: d)
testing_cgesvd doesn't exist (original name: testing_zgesvd, precision: c)
testing_zgesvd doesn't exist (original name: testing_zgesvd, precision: z)
testing_sgesvd doesn't exist (original name: testing_zgesvd, precision: s)
testing_dgesvd doesn't exist (original name: testing_zgesvd, precision: d)
testing_cgesvd doesn't exist (original name: testing_zgesvd, precision: c)
testing_zgesvd doesn't exist (original name: testing_zgesvd, precision: z)
testing_sgebrd doesn't exist (original name: testing_zgebrd, precision: s)
testing_dgebrd doesn't exist (original name: testing_zgebrd, precision: d)
testing_cgebrd doesn't exist (original name: testing_zgebrd, precision: c)
testing_zgebrd doesn't exist (original name: testing_zgebrd, precision: z)
testing_sorgbr doesn't exist (original name: testing_zungbr, precision: s)
testing_dorgbr doesn't exist (original name: testing_zungbr, precision: d)
testing_cungbr doesn't exist (original name: testing_zungbr, precision: c)
testing_zungbr doesn't exist (original name: testing_zungbr, precision: z)
testing_sormbr doesn't exist (original name: testing_zunmbr, precision: s)
testing_dormbr doesn't exist (original name: testing_zunmbr, precision: d)
testing_cunmbr doesn't exist (original name: testing_zunmbr, precision: c)
testing_zunmbr doesn't exist (original name: testing_zunmbr, precision: z)

****************************************************************************************************
summary
****************************************************************************************************
all 0 tests in 0 commands passed!


5: /examples (make all)
The examples are compiled but they don't work because libmagma_sparse.so is not found; The Makefile provides the correct location /usr/local/magma/lib:
Code: Select all
MAGMADIR     ?= /usr/local/magma
MAGMA_LIBS       := -L$(MAGMADIR)/lib -lmagma_sparse -lmagma \


error:
./example_sparse
./example_sparse: error while loading shared libraries: libmagma_sparse.so: cannot open shared object file: No such file or directory

Does anybody have an idea what went wrong and needs fixing?

Klaus
Klausb
 
Posts: 18
Joined: Thu Oct 05, 2017 3:04 pm

Return to User discussion

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron