D:\Program Files\Microsoft Visual
Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\yvals_core.h(902):
error : static assertion failed with "error STL1002: Unexpected compiler
version, expected CUDA 12.4 or newer."
Rebeca – I don’t know if you are interested in this, but there is PyChrono support for this, see instructions here: https://uwmadison.box.com/s/lbxgqv1qu4zd25y8naq9fkzeenmf0ri6 .
Then you wouldn’t have to downgrade MSVC and be up and running quickly.
Dan
---------------------------------------------
Bernard A. and Frances M. Weideman Professor
NVIDIA CUDA Fellow
Department of Mechanical Engineering
Department of Computer Science
University of Wisconsin - Madison
4150ME, 1513 University Avenue
Madison, WI 53706-1572
---------------------------------------------
--
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
projectchron...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/projectchrono/b3ff10c6-ac6c-42f7-bcb5-af0b30085b6fn%40googlegroups.com.
Hi Rebeca,
Could you please clarify what Chrono version you are using? Older releases will obviously not work with new CUDA releases.
The current Chrono code in the main branch of the repository should work fine with any new CUDA 12.* versions (e.g. 12.8 or 12.9), as well as CUDA 13.0 (although I only tested the latter on Linux). Any of these CUDA versions will work fine with the latest VS versions.
Please make sure that:
--Radu
From: projec...@googlegroups.com <projec...@googlegroups.com>
On Behalf Of Rebeca Guimarães
Sent: Thursday, September 18, 2025 10:45 PM
To: ProjectChrono <projec...@googlegroups.com>
Subject: [chrono] FSI won't work
Good afternoon!
--
Rebeca,
This error suggests that you either have a very old GPU (which is unlikely, as atomicAdd for double is available on devices with compute capability 6 and newer) or not really using CUDA 12.9 or 13.0 (but rather still 12.3).
You seem to have multiple versions of CUDA installed on your machine. How do you specify which one to use when you configure Chrono with CMake?
Could you please post the CMake messages during Chrono configuration that indicate which version of CUDA was found and will be used? Something like the following:
Searching for CUDA
CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/bin/nvcc.exe
CUDA toolkit version: 12.8.61
CUDA toolkit root dir: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8
CUDA archs (from cache): all-major
CUDA found and enabled.
Searching for Thrust
Thrust version: 2.7.0
Thrust include dir: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.8/include
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/3bf93f42-2f59-43b3-b63e-ee793140f586n%40googlegroups.com.
I would suggest holding off on using the PyChrono conda package that Dan mentioned. That is not based on the current Chrono code (and was set up as a temporary solution for some tutorials we recently ran at UW-Madison). Updated official PyChrono conda packages with Chrono::FSI support will come soon.
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/96f01d65-23b5-487b-9402-c739d258cd17n%40googlegroups.com.
Hi Rebeca,
So, you do have a pretty old GPU. Anything before 7.5 is now considered legacy. In fact, 7.5 is also marked for obsoletion.
I’m afraid you’ll need to get access to newer hardware.
--Radu
From: Rebeca Guimarães <rebec...@gmail.com>
Sent: Friday, September 26, 2025 1:48 PM
To: Radu Serban <ser...@wisc.edu>
Subject: Mensagem particular referente a: [chrono] FSI won't work
Hey there, Radu!
My last try had indeed been with CUDA 12.3 yet again, since my last try with 13.0 resulted on the exe simply closing right from the start.
Searching for CUDA
CUDA compiler: D:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/bin/nvcc.exe
CUDA toolkit version: 12.3.52
CUDA toolkit root dir: D:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3
CUDA archs (from cache): 60
CUDA found and enabled.
Searching for Thrust
Thrust version: 2.2.0
Thrust include dir: D:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include
I was able to surpass the atomicAdd error by defining sm_60 instead of all_major as the arch, since I have a GPU with compute capability of 6.1. On the other hand, now I'm getting a new error of too many resources requested for launch when I compile and run the single wheel FSI demo. But that only happens when I run my own compiled demo, the pre compiled demo available on the Chrono website runs normally.
I don't know if there are any differences between the source code of the pre compiled demo and latest one available on git that would explain the higher demand for GPU. Or if it's still an error due to CUDA issues.
If you could shed any light on the matter, it would help a lot!
Thanks,
Rebeca
That’s fantastic, Rebeca.
We’ll make a note about the number of threads issue (in case other users run into similar issues). The truth is we have not used older GPUs in such a long time, we take for granted certain capabilities.
If you can get access to a cluster with newer GPUs, you will see a dramatic increase in computational performance.
Best,
Radu
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/fec67aab-1bfe-452c-a2f1-80ad05f8390dn%40googlegroups.com.