lammps/tools/valgrind
Axel Kohlmeyer c869a7aac2
update OpenMP suppressions for gcc-12
2022-08-11 23:36:25 -04:00
..
FlexiBLAS.supp add suppressions for FlexiBLAS on Fedora 2021-08-02 15:45:32 -04:00
GTest.supp add suppressions for googletest 2020-07-11 13:18:14 -04:00
OpenMP.supp update OpenMP suppressions for gcc-12 2022-08-11 23:36:25 -04:00
OpenMPI.supp more OpenMPI suppressions 2020-07-11 13:17:51 -04:00
Python3.supp Add memory checker support in CMake 2020-06-23 13:35:59 -04:00
README update OpenMP suppressions for gcc-12 2022-08-11 23:36:25 -04:00
readline.supp suppressions for readline function calls from lammps-shell 2021-08-04 17:06:02 -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 \
   --suppressions=/path/to/lammps/tools/valgrind/GTest.supp \
   --suppressions=/path/to/lammps/tools/valgrind/FlexiBLAS.supp \
   --suppressions=/path/to/lammps/tools/valgrind/readline.supp \
    lmp -in in.melt

Last update: 2022-08-11