I am trying to build MAGMA for Windows with the following development environment:
- Windows 10
- Magma 2.5.2
- CUDA 10.2
- Intel Fortran & MKL 2019 (Parallel Studio XE 2019.5.281)
- Visual Studio 2017 (15.9.20)
- CMake 3.16.4
I've been using prebuilt libraries for Pytorch so far, but they lack OpenMP support so I cannot use some of the preconditioners I'd like to test with the sparse iterative solvers, hence the need to build MAGMA locally.
I followed the instructions in README-Windows and used CMake to create Visual Studio 2017 projects. When I tried to build magma & magma_sparse projects, I got the following errors:
[/code]
magma:
Code: Select all
Building NVCC intermediate link file CMakeFiles/magma.dir/Release/magma_intermediate_link.obj
The system cannot execute the specified program.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code 9020.
Code: Select all
The command line is too long.
Any help compiling Magma for Windows with MKL & OpenMP support is deeply appreciated.
Berk