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/41b7a1c7-431e-453d-bd00-cf570d2720cdn%40googlegroups.com.

Reply via email to