You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure why building the demos related to GPU failed on my Windows machine. Would you mind helping me debug this issue?
I updated the submodules. I also attached part of the CMake configuration output below.
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(245,5): error MSB8066: Custom build for 'C:\workspace\chrono\src\chrono_gpu\cuda\ChGpu_SMC.cu;C:\workspace\chrono\src\chrono_gpu\cuda\ChGpu_SMC_trimesh.cu' exited with code 1.
2>Done building project "ChronoEngine_gpu.vcxproj" -- FAILED.
3>------ Build started: Project: demo_GPU_terrainBox_SMC, Configuration: Release x64 ------
4>------ Build started: Project: demo_GPU_repose, Configuration: Release x64 ------
5>------ Build started: Project: demo_GPU_movingBoundary, Configuration: Release x64 ------
6>------ Build started: Project: demo_GPU_mixer, Configuration: Release x64 ------
7>------ Build started: Project: demo_GPU_fixedterrain, Configuration: Release x64 ------
8>------ Build started: Project: demo_GPU_compression, Configuration: Release x64 ------
9>------ Build started: Project: demo_GPU_ballcosim, Configuration: Release x64 ------
3>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
3>Done building project "demo_GPU_terrainBox_SMC.vcxproj" -- FAILED.
4>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
8>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
7>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
5>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
6>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
4>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
4>Done building project "demo_GPU_repose.vcxproj" -- FAILED.
8>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
8>Done building project "demo_GPU_compression.vcxproj" -- FAILED.
7>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
7>Done building project "demo_GPU_fixedterrain.vcxproj" -- FAILED.
5>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
5>Done building project "demo_GPU_movingBoundary.vcxproj" -- FAILED.
6>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
6>Done building project "demo_GPU_mixer.vcxproj" -- FAILED.
9>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
9>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
9>Done building project "demo_GPU_ballcosim.vcxproj" -- FAILED.
10>------ Skipped Build: Project: PACKAGE, Configuration: Release x64 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: INSTALL, Configuration: Release x64 ------
11>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 8 failed, 84 up-to-date, 2 skipped ==========
Searching for MPI...
MPI (C++) found: TRUE
MPI compiler: MPI_CXX_COMPILER-NOTFOUND
MPI compile flags:
MPI include path: C:/Program Files (x86)/Microsoft SDKs/MPI/Include
MPI link flags:
MPI libraries: C:/Program Files (x86)/Microsoft SDKs/MPI/Lib/x64/msmpi.lib
MPIEXEC: C:/Program Files/Microsoft MPI/Bin/mpiexec.exe
MPIEXEC_NUMPROC_FLAG: -n
MPIEXEC_PREFLAGS:
MPIEXEC_POSTFLAGS:
Searching for CUDA...
CUDA version: 11.6
CUDA toolkit root dir: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.6
Compiling for CUDA architecture: 8.6
CUDA compile flags: -gencode;arch=compute_86,code=sm_86`
The text was updated successfully, but these errors were encountered:
I am not sure why building the demos related to GPU failed on my Windows machine. Would you mind helping me debug this issue?
I updated the submodules. I also attached part of the CMake configuration output below.
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(245,5): error MSB8066: Custom build for 'C:\workspace\chrono\src\chrono_gpu\cuda\ChGpu_SMC.cu;C:\workspace\chrono\src\chrono_gpu\cuda\ChGpu_SMC_trimesh.cu' exited with code 1.
2>Done building project "ChronoEngine_gpu.vcxproj" -- FAILED.
3>------ Build started: Project: demo_GPU_terrainBox_SMC, Configuration: Release x64 ------
4>------ Build started: Project: demo_GPU_repose, Configuration: Release x64 ------
5>------ Build started: Project: demo_GPU_movingBoundary, Configuration: Release x64 ------
6>------ Build started: Project: demo_GPU_mixer, Configuration: Release x64 ------
7>------ Build started: Project: demo_GPU_fixedterrain, Configuration: Release x64 ------
8>------ Build started: Project: demo_GPU_compression, Configuration: Release x64 ------
9>------ Build started: Project: demo_GPU_ballcosim, Configuration: Release x64 ------
3>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
3>Done building project "demo_GPU_terrainBox_SMC.vcxproj" -- FAILED.
4>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
8>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
7>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
5>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
6>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
4>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
4>Done building project "demo_GPU_repose.vcxproj" -- FAILED.
8>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
8>Done building project "demo_GPU_compression.vcxproj" -- FAILED.
7>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
7>Done building project "demo_GPU_fixedterrain.vcxproj" -- FAILED.
5>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
5>Done building project "demo_GPU_movingBoundary.vcxproj" -- FAILED.
6>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
6>Done building project "demo_GPU_mixer.vcxproj" -- FAILED.
9>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1092,5): error MSB6006: "link.exe" exited with code 1181.
9>LINK : fatal error LNK1181: cannot open input file '......\lib\Release\ChronoEngine_gpu.lib'
9>Done building project "demo_GPU_ballcosim.vcxproj" -- FAILED.
10>------ Skipped Build: Project: PACKAGE, Configuration: Release x64 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: INSTALL, Configuration: Release x64 ------
11>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 8 failed, 84 up-to-date, 2 skipped ==========
Searching for MPI...
MPI (C++) found: TRUE
MPI compiler: MPI_CXX_COMPILER-NOTFOUND
MPI compile flags:
MPI include path: C:/Program Files (x86)/Microsoft SDKs/MPI/Include
MPI link flags:
MPI libraries: C:/Program Files (x86)/Microsoft SDKs/MPI/Lib/x64/msmpi.lib
MPIEXEC: C:/Program Files/Microsoft MPI/Bin/mpiexec.exe
MPIEXEC_NUMPROC_FLAG: -n
MPIEXEC_PREFLAGS:
MPIEXEC_POSTFLAGS:
Searching for CUDA...
CUDA version: 11.6
CUDA toolkit root dir: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.6
Compiling for CUDA architecture: 8.6
CUDA compile flags: -gencode;arch=compute_86,code=sm_86`
The text was updated successfully, but these errors were encountered: