Trouble with compiling examples

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

Trouble with compiling examples

Postby kirillg » Thu Dec 15, 2016 11:24 am

After build libs magma.lib, magma_sparse.lib 64-bit with VS2015 i get error : unresolved external symbol DLACPY in function main
Posts: 1
Joined: Thu Dec 15, 2016 11:20 am

Re: Trouble with compiling examples

Postby mgates3 » Thu Dec 15, 2016 12:29 pm

The DLACPY function is in LAPACK. What LAPACK library are you using?

Possibly, CMake got the Fortran calling convention wrong. Most Fortran compilers & libraries use lowercase and append an underscore, so it would be dlacpy_ instead of DLACPY. When configuring CMake (I assume that's what you did), did you set USE_FORTRAN on or off?
If on, can you send the magma/include/magma_mangling_cmake.h file that CMake automatically creates?
If off, what did you set FORTRAN_CONVENTION to? Most often it is -DADD_.

Posts: 765
Joined: Fri Jan 06, 2012 2:13 pm

Return to User discussion

Who is online

Users browsing this forum: Google [Bot] and 3 guests