Trouble with compiling examples
Trouble with compiling examples
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
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
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