V
vramac
Guest
Hi,
I'm trying to compile the Magma library and getting the error. The error is coming from line# 220 in Microsoft.CppCommon.targets file. Not sure how to resolve this. I'm using Visual Studio 2019 if this helps? The output window messages are as below!
1>cl : Command line warning D9002: ignoring unknown option '-fPIC'
1>C:/Magma/magma-2.5.1/include\magma_operators.h(54): warning C4100: 'x': unreferenced formal parameter
1>C:/Magma/magma-2.5.1/include\magma_operators.h(55): warning C4100: 'x': unreferenced formal parameter
1>C:/Magma/magma-2.5.1/magmablas/cpotf2_kernels_var.cu(81): warning C4100: 'uplo': unreferenced formal parameter
1>C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/include\crt/host_runtime.h(256): warning C4505: '__cudaUnregisterBinaryUtil': unreferenced local function has been removed
1>Building NVCC intermediate link file CMakeFiles/magma.dir/Release/magma_intermediate_link.obj
1>The system cannot execute the specified program.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(220,5): error MSB6006: "cmd.exe" exited with code 9020.
1>Done building project "magma.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Continue reading...
I'm trying to compile the Magma library and getting the error. The error is coming from line# 220 in Microsoft.CppCommon.targets file. Not sure how to resolve this. I'm using Visual Studio 2019 if this helps? The output window messages are as below!
1>cl : Command line warning D9002: ignoring unknown option '-fPIC'
1>C:/Magma/magma-2.5.1/include\magma_operators.h(54): warning C4100: 'x': unreferenced formal parameter
1>C:/Magma/magma-2.5.1/include\magma_operators.h(55): warning C4100: 'x': unreferenced formal parameter
1>C:/Magma/magma-2.5.1/magmablas/cpotf2_kernels_var.cu(81): warning C4100: 'uplo': unreferenced formal parameter
1>C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/include\crt/host_runtime.h(256): warning C4505: '__cudaUnregisterBinaryUtil': unreferenced local function has been removed
1>Building NVCC intermediate link file CMakeFiles/magma.dir/Release/magma_intermediate_link.obj
1>The system cannot execute the specified program.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(220,5): error MSB6006: "cmd.exe" exited with code 9020.
1>Done building project "magma.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Continue reading...