Hi Davide,

Then this is asking whether you can run CUDA code on AMD GPUs. While tools 
like *Heterogeneous-compute Interface for Portability* might offer porting 
CUDA code to HIP code for AMD GPUs to run, you probably see more failures 
than successes. For DEME, the chance that it works is even slimmer since it 
uses NIVIDA jitify. So I'd say no, unless you are super hacky and ready to 
legitimately become a developer of DEME by contributing to it.

Thank you,
Ruochun

On Thursday, December 28, 2023 at 3:44:39 AM UTC-6 [email protected] 
wrote:

> Hi Ruochun,
> Thank you for your answer! Just a further clarification: is it necessary 
> to have a NVIDIA GPU? Could DEM-Engine also work on an AMD GPU?
>
> Il giorno dom 24 dic 2023 alle ore 01:27 Ruochun Zhang <[email protected]> 
> ha scritto:
>
>> Hi Davide,
>>
>> Unless you are willing to do something super hacky, I'd say Chrono should 
>> be installed on Linux too, if you are going to do co-simulations between 
>> DEME and Chrono (true for both C++ and Python versions). Until I found a 
>> solution to the Windows build problem, that is.
>>
>> Thank you,
>> Ruochun
>>
>> On Saturday, December 23, 2023 at 9:02:41 AM UTC-6 [email protected] 
>> wrote:
>>
>>> Thank you Ruochun for your answer! Just a clarification: given that DEME 
>>> works only on Linux, also Chrono must be installed on Linux or is it 
>>> possible to work with the Windows version of Chrono?
>>>
>>> Il giorno venerdì 15 dicembre 2023 alle 17:29:50 UTC+1 Ruochun Zhang ha 
>>> scritto:
>>>
>>>> Hi Davide,
>>>>
>>>> I see. If it's a full-vehicle mobility simulation we are talking about, 
>>>> then compared to the terrain, the memory needed for a vehicle is 
>>>> negligible. For a test bed ~20m² in area and ~30cm in depth and using 
>>>> elements with size ~1cm (which is usually enough for accuracy), I expect 
>>>> 1.5M complex-shaped elements, and that probably uses something like 3 GiB, 
>>>> which is possible with consumer cards.  It is, of course, a rough estimate 
>>>> and it's easy to shift that number up or down by an order of magnitude by 
>>>> selecting your own element size. The simulation time usually does not have 
>>>> an impact on the memory needed. 
>>>>
>>>> Thank you,
>>>> Ruochun
>>>>
>>>> On Friday, December 15, 2023 at 4:25:26 AM UTC-6 [email protected] 
>>>> wrote:
>>>>
>>>>> Hi Ruochun,
>>>>> I mean how much does it weight, on average, a simulation of a vehicle 
>>>>> + terrain DEM in terms of GB. I know that it could depend on several 
>>>>> factors such as the number of particles involved or the simulation time, 
>>>>> but I would like to know just a rough estimate.
>>>>>
>>>>> Thank you,
>>>>> Davide
>>>>>
>>>>> Il giorno ven 15 dic 2023 alle ore 11:05 Ruochun Zhang <
>>>>> [email protected]> ha scritto:
>>>>>
>>>>>> Hi Davide,
>>>>>>
>>>>>> I didn't quite understand. The weight in terms of what? Did you mean 
>>>>>> the total weight of all the simulation entities?
>>>>>>
>>>>>> Thank you,
>>>>>> Ruochun
>>>>>>
>>>>>> On Friday, December 15, 2023 at 3:56:07 AM UTC-6 
>>>>>> [email protected] wrote:
>>>>>>
>>>>>>> Thank you very much for your quick answer! Could you give me an 
>>>>>>> indicative estimate of the weight of the final results of a vehicle 
>>>>>>> simulation + terrain DEM? 
>>>>>>>
>>>>>>> Davide
>>>>>>>
>>>>>>> Il giorno giovedì 14 dicembre 2023 alle 17:49:00 UTC+1 Ruochun Zhang 
>>>>>>> ha scritto:
>>>>>>>
>>>>>>>> Hi Davide,
>>>>>>>>
>>>>>>>> Yes, it's fine. The utility provided by DEME remains completely the 
>>>>>>>> same. As you noted, the only difference is the computational time and 
>>>>>>>> the 
>>>>>>>> amount of VRAM that you have access to.
>>>>>>>>
>>>>>>>> Ruochun
>>>>>>>>
>>>>>>>> On Thursday, December 14, 2023 at 9:53:13 AM UTC-6 
>>>>>>>> [email protected] wrote:
>>>>>>>>
>>>>>>>>> Thank you Ruochun and Radu for your answer! So, is it fine to use 
>>>>>>>>> only one GPU for Chrono and DEM-Engine? Apart from higher 
>>>>>>>>> computational 
>>>>>>>>> time, are there other critical issues?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Il giorno sabato 9 dicembre 2023 alle 01:07:28 UTC+1 Ruochun Zhang 
>>>>>>>>> ha scritto:
>>>>>>>>>
>>>>>>>>>> Hi Davide,
>>>>>>>>>>
>>>>>>>>>> To add a bit further explanation in addition to Radu's reply... 
>>>>>>>>>> DEM-Engine *works* on one GPU. 
>>>>>>>>>>
>>>>>>>>>> For running co-simulation with DEM-Engine specifically, you can:
>>>>>>>>>>
>>>>>>>>>>    1. Use pyDEME, in conjunction with pyChrono or other python 
>>>>>>>>>>    packages. This is probably easy.
>>>>>>>>>>    2. Refer to this post 
>>>>>>>>>>    <https://groups.google.com/g/projectchrono/c/CknPD7X_5cY> or this 
>>>>>>>>>>    section of DEME's documentation 
>>>>>>>>>>    <https://github.com/projectchrono/DEM-Engine#install-as-library> 
>>>>>>>>>> to 
>>>>>>>>>>    build the C++ version of DEME as a library, then link your 
>>>>>>>>>> simulation 
>>>>>>>>>>    scripts against it. This gives you C++ performance.
>>>>>>>>>>
>>>>>>>>>> For other potential approaches to your research project, you can 
>>>>>>>>>> explore the options in Radu's reply.
>>>>>>>>>>
>>>>>>>>>> Thank you,
>>>>>>>>>> Ruochun
>>>>>>>>>>
>>>>>>>>>> On Thursday, December 7, 2023 at 8:49:13 AM UTC-6 
>>>>>>>>>> [email protected] wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi all,
>>>>>>>>>>> I am writing my master's thesis about tyre-ground interaction 
>>>>>>>>>>> and I have read that there is the possibility to use DEM-engine in 
>>>>>>>>>>> collaboration with Chrono. I was wondering if it could work also on 
>>>>>>>>>>> CPU or 
>>>>>>>>>>> on a single GPU instead of two.
>>>>>>>>>>> Thank you in advance!
>>>>>>>>>>>
>>>>>>>>>>> Davide
>>>>>>>>>>> - 
>>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>
>>>>> 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/6ab06615-1863-44d5-a3e0-aa71555c89e1n%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/projectchrono/6ab06615-1863-44d5-a3e0-aa71555c89e1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>> 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/175f235c-8522-426c-aa93-bfa34a8edaa1n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/projectchrono/175f235c-8522-426c-aa93-bfa34a8edaa1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/2c322d05-8453-4766-a030-98597d7aecabn%40googlegroups.com.

Reply via email to