Page 1 of 1

Trouble with compiling examples

Posted: Thu Dec 15, 2016 11:24 am
by kirillg
After build libs magma.lib, magma_sparse.lib 64-bit with VS2015 i get error : unresolved external symbol DLACPY in function main

Re: Trouble with compiling examples

Posted: Thu Dec 15, 2016 12:29 pm
by mgates3
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_.

-mark