lammps/tools/valgrind
Axel Kohlmeyer bdb4cc561c
add update README files
2020-06-26 11:11:59 -04:00
..
OpenMP.supp Add memory checker support in CMake 2020-06-23 13:35:59 -04:00
OpenMPI.supp Add memory checker support in CMake 2020-06-23 13:35:59 -04:00
Python3.supp Add memory checker support in CMake 2020-06-23 13:35:59 -04:00
README add update README files 2020-06-26 11:11:59 -04:00

README

These files contain additional suppressions for LAMMPS when using valgrind's
memcheck tool to search for memory access violations and memory leaks.
These will suppress known false positives and thus help to focus finding
and fixing real issues. When using CMake, these are automatically included
when running "ctest -T memcheck". To manually add them to do a memory check
on running LAMMPS, use a command line like following:

valgrind --show-leak-kinds=all --track-origins=yes \
   --suppressions=/path/to/lammps/tools/valgrind/OpenMP.supp \
   --suppressions=/path/to/lammps/tools/valgrind/OpenMPI.supp \
   --suppressions=/path/to/lammps/tools/valgrind/Python3.supp \
    lmp -in in.melt

Last update: 2020-06-24