DEME - Installation Ubuntu 24.10

71 views
Skip to first unread message

Dario Scimone

unread,
Nov 29, 2024, 6:03:51 AM11/29/24
to ProjectChrono
Hi all,

I'm trying to install DEME on my laptop running Ubuntu 24.10 and CUDA 12.3 (as required per Chrono Engine installation).

I followed the instructions on the GitHub page, all good until I started building the project using Ninja. I'm getting a series of errors: identifier "__builtin_dynamic_object_size" is undefined

What am I missing? I can provide any other details that might be helpful.

Thanks in advance for your support,
Dario.

Ruochun Zhang

unread,
Nov 29, 2024, 9:55:43 AM11/29/24
to ProjectChrono
Hi Dario,

Based on my tests, CUDA 12.1~12.3 won't work with DEME (this is not unheard of as certain CUDA versions are known to break applications). You should try using the newest CUDA. From what I know, Chrono Engine should also work with the newest CUDA and is not restricted to CUDA12.3, but you can point me to it if you got that from Chrono documentation. And if using CUDA12.5+ does not fix the problem please let me know too.

Thank you,
Ruochun

Radu Serban

unread,
Nov 30, 2024, 3:31:16 AM11/30/24
to ProjectChrono

Ruochun – the CUDA-based modules in Chrono (Chrono::FSI and Chrono::GPU) currently require CUDA version 12.3. Because NVIDIA recently removed functionality in some libraries, more recent CUDA versions will not work. We plan on addressing this issue, but that requires looking for alternatives to the functionality that NVIDIA has obsoleted.

 

--Radu

--
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/e04b6072-e817-48c4-916a-1b4c8262636bn%40googlegroups.com.

Ruochun Zhang

unread,
Nov 30, 2024, 3:49:48 AM11/30/24
to ProjectChrono
Hi Radu,

That's unfortunate. But from similar situations that happened before, I suppose and hope that this conversion would be straightforward with a couple of function name argument list changes. 

Hi Dario,

In that case, I would suggest you instead install CUDA12.0. This is a version I know works for DEME, and based on what Radu said, it should be fine for Chrono as well.

Thank you,
Ruochun

Radu Serban

unread,
Nov 30, 2024, 4:00:34 AM11/30/24
to ProjectChrono

Dario and Ruochun,

 

I don’t know if anyone has tested Chrono::FSI or Chrono::GPU with CUDA 12.0 in quite a while.

I hope we will be able to update Chrono to work with 12.5 sometime soon (but it’s more than just “a couple” of simple changes).

The question however is this: Dario – do you need CUDA support in Chrono? If not, simply use CUDA 12.5 (known to work with DEME) and disable the FSI and GPU modules in your Chrono build.

Dario Scimone

unread,
Dec 16, 2024, 4:44:45 AM12/16/24
to ProjectChrono
Hi Radu and Ruochun,

In the end, I compiled Chrono using CUDA 12.0 and then updated it to 12.6 for DEME. 
It worked fine without errors!

Thanks for your support, 
Dario.
Reply all
Reply to author
Forward
0 new messages