P.S. as mentioned in other posts CUDA 12.5 is not currently working fine with Chrono so you may need to downgrade to 12.3 or 12.4 or wait for the appropriate fix to Chrono (in the coming days probably)
Thanks, Dario Il giorno venerdì 14 giugno 2024 alle 23:37:54 UTC+2 Dario Mangoni ha scritto: > Hi, > > - do you *really *need both MPI and CUDA? > - does a simple plain compilation of Chrono *with no modules enabled* > work fine? > - which modules did you enable? Can you please *share the > CMakeCache.txt* inside your build folder? > - you are showing errors during *compilation*: was your* CMake log* > completely and perfectly clean? Please share it as well > > Bests, > Dario > > Il giorno venerdì 14 giugno 2024 alle 23:29:11 UTC+2 [email protected] > ha scritto: > >> Hi. I'm trying to build Chrono. After facing issues in setting up MPI on >> Windows (Package 'mpi-c', required by 'virtual:world', not found), I >> switched to Linux instead. >> >> Problem: >> - I followed the first 6 steps of the Installation guide >> <https://api.projectchrono.org/tutorial_install_chrono.html> successfully. >> On step 7, trying to build generates an error "error: ‘__syncthreads’ was >> not declared in this scope >> 271 | __syncthreads();" that leads to a stream of errors. I have >> attached a log file that might help someone more experienced realise the >> error. >> >> Tried: >> - reinstalling CUDA toolkit, OS >> - building CUDA-samples works. just fine, so I'm relatively confident >> that my CUDA installation is alright. >> - using Chrono versions release 9.0 and master. Same error on both >> - make -k eventually fails >> - make and ninja generate the same error >> >> Any leads on how to fix this issue would be great. Let me know what >> information might help diagnose it. Thanks. >> >> Specs: >> Ubuntu 22.04 LTS >> gcc 12.3.0 >> Cuda compilation tools, release 12.5, V12.5.40 >> NVIDIA-SMI 555.42.02 >> Driver Version: 555.42.02 >> CUDA Version: 12.5 >> > -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/bded2bef-4d30-43d7-86e2-c66438bfd1cfn%40googlegroups.com.
