CFDEM COUPLING DEBUG TOOL

Submitted by FachengGong on Fri, 04/01/2022 - 19:39

Hi everyone,

I want to discover the code of CFDEM coupling. Could anyone recommend the IDE tool to debug this software?

Now I use the VS code to debug it. I COULD debug Openfoam in MPI. However, when I tried to connect OpenFoam with Liggghts, the debug command would not continue and was stuck in the MPI process. Some errors occurred in the MPI code between Openfoam and Liggght.

Could someone give me some suggestions on that?

Thanks a lot!
Facheng

tanghao | Tue, 10/21/2025 - 16:28

Hi Facheng, I'm also running into the same problem with the CFDEM debug process. I was wondering if you had found a solution yet?

cheramp | Tue, 03/31/2026 - 11:46

Hi Facheng, for MPI debugging with CFDEM, VS Code can hang. Tools like TotalView or DDT handle multi-process MPI better. Also, compile OpenFOAM and LIGGGHTS with debug flags and test smaller cases first.

cheramp | Tue, 03/31/2026 - 11:47

Hi Facheng, MPI debugging with CFDEM can be tricky. I’d suggest using TotalView or DDT for coupled OpenFOAM + LIGGGHTS, and compile both with debug flags. Start with smaller cases to isolate issues @Space Waves