Just a side note: I saw that you enabled Multicore and you are playing with 
CUDA; please mind that USE_MULTICORE_CUDA is currently bugged, at least on 
Win. 
I have the fix but not yet pushed so if you are trying things around do not 
get mad with that. 

Il giorno sabato 11 gennaio 2025 alle 04:21:47 UTC+1 Ruochun Zhang ha 
scritto:

> Hi Gianni,
>
> For building this Chrono-DEME co-simulation project, it probably doesn't 
> matter. You could try if you can run the smallest demo in it which is the 
> ball drop co-simulation version. If it runs, everything should be fine.
>
> Thank you,
> Ruochun
>
> On Saturday, January 11, 2025 at 4:22:05 AM UTC+8 eldest...@gmail.com 
> wrote:
>
>> Hi Ruochun,
>>
>> I found that the power cap problem for nvidia GPU has been widely 
>> discussed and reported. I found out that one possible solution could be 
>> downgrading the driver to 525 version, which is still compatible with both 
>> CUDA 12.3 and 12.6 and capable of allowing the user to set the power cap as 
>> desired.
>>
>> Another question that came up to me while compiling a project with chrono 
>> and DEME is the following one. As you can see in the image, cmake detects 
>> the CUDA version 12.3 which satisfies Multicore. However, I know from the 
>> instructions that DEME does not work well with this version. Thus, which 
>> CUDA version do you advice to specify to cmake? I tried with CUDA 12.3 and 
>> everything seems to work at a first glance but I want to be sure of what I 
>> am doing.
>> [image: Screenshot From 2025-01-10 21-11-26.png]
>>
>> Thank you again.
>>
>> Gianni
>> Il giorno venerdì 10 gennaio 2025 alle 00:10:25 UTC+1 Ruochun Zhang ha 
>> scritto:
>>
>>> Hi Gianni,
>>>
>>> That's good to know. I'd like to note that depending on the model of 
>>> your GPU and the problem you are running, it could be natural that the 
>>> actual consumption is a bit far from the power limit. But as you said, it 
>>> could also be related to the driver. DEME does not touch the driver so I 
>>> would say if you don't update the driver out of the CUDA installation 
>>> supported range, then it should be fine.
>>>
>>> Thank you,
>>> Ruochun
>>>
>>> On Friday, January 10, 2025 at 6:28:54 AM UTC+8 eldest...@gmail.com 
>>> wrote:
>>>
>>>> Hi Ruochun,
>>>> thank you again now everything is working fine! 
>>>> However, I have another question related to the nvidia driver. For now, 
>>>> I have the 560 version and I have noticed a power cap on my GPU of 35W 
>>>> against the 110W limit specified by the manufacturer. Looking in some 
>>>> forums I understood that the problem may be related to the driver itself, 
>>>> therefore I want to update it. Do you know if this will cause any problem 
>>>> to DEME?
>>>>
>>>> Thank you again.
>>>>
>>>> Gianni 
>>>>
>>>> Il giorno giovedì 9 gennaio 2025 alle 11:54:59 UTC+1 Ruochun Zhang ha 
>>>> scritto:
>>>>
>>>>> Hi Gianni,
>>>>>
>>>>> The error you saw is about an outdated API. *UpdateStepSize *now 
>>>>> needs a number as an argument. I am surprised I didn't spot it when I 
>>>>> tried 
>>>>> it. It's certainly not a big problem though: I pushed a new version of 
>>>>> chrono-project, could you please do a pull and rebuild the project? Thank 
>>>>> you for the catch and for testing it!
>>>>>
>>>>> Ruochun
>>>>>
>>>>> On Thursday, January 9, 2025 at 8:33:31 AM UTC+8 eldest...@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> Hi Ruochun,
>>>>>>
>>>>>> first of all thank you for your patience. I did more attempts and in 
>>>>>> the end, I saw that the problem was due to the fact that I cloned the 
>>>>>> main 
>>>>>> branch of chrono-projects. Instead, if I clone the feature/DEME branch 
>>>>>> the 
>>>>>> prompt "ENABLE_DEME_TESTS" appears and I can link DEME against Chrono. 
>>>>>> However, while building the following errors appear.
>>>>>>
>>>>>> [image: Screenshot From 2025-01-09 01-27-19.png]
>>>>>>
>>>>>> I left as active only the option to compile the scripts where DEME 
>>>>>> and Chrono are used together since in Chrono I have only Core, Vehicle 
>>>>>> and 
>>>>>> Multicore installed so I didn't want to trigger some kind of error 
>>>>>> related 
>>>>>> to other missing modules. To be clearer, these are the screenshots 
>>>>>> showing 
>>>>>> CMAKE settings and outputs during configuration.
>>>>>>
>>>>>> [image: Screenshot From 2025-01-09 01-20-39.png]
>>>>>>
>>>>>> [image: Screenshot From 2025-01-09 01-21-43.png]
>>>>>>
>>>>>> [image: Screenshot From 2025-01-09 01-21-57.png]
>>>>>>
>>>>>> [image: Screenshot From 2025-01-09 01-22-09.png]
>>>>>>
>>>>>> [image: Screenshot From 2025-01-09 01-22-36.png]
>>>>>>
>>>>>> Thank you again.
>>>>>>
>>>>>> Gianni
>>>>>>
>>>>>> Il giorno mercoledì 8 gennaio 2025 alle 20:53:17 UTC+1 Ruochun Zhang 
>>>>>> ha scritto:
>>>>>>
>>>>>>> Hi Gianni,
>>>>>>>
>>>>>>> Can you post a screenshot of the Cmake UI after you 
>>>>>>> "ENABLE_PROJECTS" and re-generate? If DEME-DIR is not shown, I'd like 
>>>>>>> to 
>>>>>>> know what is shown. Besides, if there is any warning or error in the 
>>>>>>> process, please show them too.
>>>>>>>
>>>>>>> Ruochun
>>>>>>>
>>>>>>> On Thursday, January 9, 2025 at 2:09:38 AM UTC+8 eldest...@gmail.com 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> I am trying to compile DEM-Engine as a Chrono library on my pc 
>>>>>>>> running a Linux system on Ubuntu 24.10. I have already compiled both 
>>>>>>>> Project Chrono (with CUDA toolkit 12.3) and DEM-Engine (with CUDA 
>>>>>>>> toolkit 
>>>>>>>> 12.6). I am following the instructions given on the website to 
>>>>>>>> complete 
>>>>>>>> this passage but I am stuck at the point where I have to set the field 
>>>>>>>> DEME-DIR. In fact, this field does not appear even though I have put 
>>>>>>>> "ENABLE_PROJECTS" to ON therefore I am unable to link DEM-Engine with 
>>>>>>>> Chrono.
>>>>>>>>
>>>>>>>> Could you please give me some guidance about how to resolve the 
>>>>>>>> problem?
>>>>>>>> Plus, do I need CUDA 12.3 or 12.6 to complete this process?
>>>>>>>>
>>>>>>>> Thank you in advance for your assistance and kindness.
>>>>>>>>
>>>>>>>> Gianni
>>>>>>>>
>>>>>>>

-- 
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 projectchrono+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/443c3525-82c5-42c7-89f5-a62852964bd7n%40googlegroups.com.

Reply via email to