Skip to content
Axel Huebl edited this page May 16, 2014 · 36 revisions

You are here: Home > Developer Documentation > Debugging


This page collects some useful hints about how to debug a hybrid (CUDA + device) parallel (MPI) application.

MPI + Valgrind

Use the OpenMPI supressions list

mpiexec <mpi flags> valgrind --suppressions=$MPI_ROOT/share/openmpi/openmpi-valgrind.supp picongpu ...

MPI + GDB

Login into an interactive shell/batch session with X-forwarding ssh -X. Launch PIConGPU with gdb and trigger start and back trace automatically:

mpiexec <mpi flags> xterm -e gdb -ex r -ex tb --args picongpu ...

CUDA + Valgrind

Check this thread (cuda 2.0) and cudagrind (-> cuda-memcheck)