Hello,
I'd like to know how to compile/link Magma Sparse on Windows using MSVS 2012. Could someone please advise a CMake based procedure similar to the one for Magma Dense?
Thanks!
-Raffay.
Compiling/linking Magma Sparse on Windows 7 using MSVS 2012
-
- Posts: 3
- Joined: Sun Jan 05, 2014 2:32 am
Re: Compiling/linking Magma Sparse on Windows 7 using MSVS 2
When I'am right you need at least the nvcc Compiler from NVidia because the sparse-iter folder contains .cu-files.
If you want to use the MSVS compiler instead of the g++ and gcc, you will have to change the Variables CC and CXX in the make.inc file from gcc and g++ to the MSVS-compiler. After that run make in the sparse-iter-folder. But I think there maybe will be some errors, because there are differences between MSVS and he GNU compiler.
Greetz Noran
If you want to use the MSVS compiler instead of the g++ and gcc, you will have to change the Variables CC and CXX in the make.inc file from gcc and g++ to the MSVS-compiler. After that run make in the sparse-iter-folder. But I think there maybe will be some errors, because there are differences between MSVS and he GNU compiler.
Greetz Noran
-
- Posts: 90
- Joined: Tue Sep 02, 2014 5:44 pm
Re: Compiling/linking Magma Sparse on Windows 7 using MSVS 2
Thank you, for picking up on that - you are totally correct, Noran. And indeed, there are some bugs because of the MS C compiler. I apologize for those. I did never work on a MS system to test the functionalities. However, I am now working on fixing these bugs, and they should all be resolved in the next release - probably in January.
Thanks, Hartwig
Thanks, Hartwig