-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Describe the bug
GOMC does not build properly in GPU with CUDA 12.2. It looks like the "compute_35" needs removed from the base GOMC code for current and development versions.
Error produced
nvcc fatal : Unsupported gpu architecture 'compute_35' nvcc fatal : Unsupported gpu architecture 'compute_35' make[3]: *** [CMakeFiles/GPU_NVT.dir/build.make:76: CMakeFiles/GPU_NVT.dir/src/GPU/CalculateEnergyCUDAKernel.cu.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [CMakeFiles/GPU_NVT.dir/build.make:104: CMakeFiles/GPU_NVT.dir/src/GPU/CalculateEwaldCUDAKernel.cu.o] Error 1 nvcc fatal : Unsupported gpu architecture 'compute_35' make[3]: *** [CMakeFiles/GPU_NVT.dir/build.make:132: CMakeFiles/GPU_NVT.dir/src/GPU/CUDAMemoryManager.cu.o] Error 1 nvcc fatal : Unsupported gpu architecture 'compute_35' nvcc fatal : Unsupported gpu architecture 'compute_35' make[3]: *** [CMakeFiles/GPU_NVT.dir/build.make:90: CMakeFiles/GPU_NVT.dir/src/GPU/CalculateForceCUDAKernel.cu.o] Error 1 make[3]: *** [CMakeFiles/GPU_NVT.dir/build.make:118: CMakeFiles/GPU_NVT.dir/src/GPU/ConstantDefinitionsCUDAKernel.cu.o] Error 1 nvcc fatal : Unsupported gpu architecture 'compute_35' make[3]: *** [CMakeFiles/GPU_NVT.dir/build.make:146: CMakeFiles/GPU_NVT.dir/src/GPU/TransformParticlesCUDAKernel.cu.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:175: CMakeFiles/GPU_NVT.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:182: CMakeFiles/GPU_NVT.dir/rule] Error 2
Please complete the following information:
- OS: RHEL 8.9
- Ensemble: All GPU ensemble builds fail
- Code version : GOMC 2.75a and development branch (1-1-2024)