Increasing DEME wildcards number

20 views
Skip to first unread message

Dario Scimone

unread,
Dec 16, 2024, 5:06:57 AM12/16/24
to ProjectChrono
Hi all,

We are using DEME to model the interaction between solid bodies and a granular material for small-body exploration missions.

As we developed our custom model for mechanical, electrostatic, and thermal forces we used the maximum allowed number of wildcards to make the C++ code communicate with the CUDA one.

Noticing that inside DEM-Engine/src/DEM/Defines.h there's the option to raise the maximum (currently set to 8) we modified the value and recompiled DEME. However, we are now getting the following error: 

File multimediali.jpeg

Could you provide some guidance on how to handle the issue?

Thanks in advance,
Sabrina, Dario, Gianni

Ruochun Zhang

unread,
Dec 16, 2024, 5:35:11 AM12/16/24
to ProjectChrono
Hi Dario,

First thing first, did you change DEME_MAX_WILDCARD_NUM and re-compile in-place, or did you re-compile starting from a clean, empty build directory? It is important to compile in an empty folder after this change is enforced (or you could re-compile in-place then manually copy over the just-in-time kernel files, but let's simplify this conversation).

If you re-compiled starting from an empty build directory and then still got the error, please let me know and we go from there, probably I'll need the script you are running.

Thank you,
Ruochun

Reply all
Reply to author
Forward
0 new messages