Hello,
I downloaded magma and I am trying to compile it on a windows 10 system, using visual studio 17, and cuda 10.1.
I used CMake to generate the projects, according to the readme.windows.txt, with NOCHANGE, I used lapack from Intel mkl without fortran, and I have a compilation problem.
It seems that the cu files are all compiled with the -cudart static option which is the default. I don't have an option to change it to dynamic.
The error I am receiving is the following
>magma_sparse.lib(magma_sparse_generated_djacobisetup.cu.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in testing_dsolver.obj
I went back to the Cmake and I unchecked the CUDA_USE_STATIC_CUDA_RUNTIME, I clicked configure and generate and I rebuilt the projects. The same message appears. I did a clean compile with the same procedure and I still obtain this message.
Any help would be appreciated.
magma compilation, microsoft visual studio and cmake runtime_library conflict
Re: magma compilation, microsoft visual studio and cmake runtime_library conflict
Thanks for the report. We can look into it. We're revising the CMake file now to address some other issues, so that may resolve this issue as well.
-mark
[Sorry for the delay in posting. A misconfiguration left messages in the moderation queue.]
-mark
[Sorry for the delay in posting. A misconfiguration left messages in the moderation queue.]