NVIDIA MLNX_OFED Documentation Rev 4.9-5.1.0.0 LTS
Linux Kernel Upstream Release Notes v5.17

Debugging Related Issues

Issue

Cause

Solution

False positive errors when running applications with valgrind.

Default MLNX_OFED libraries are compiled with- out valgrind support and several resources are managed by the kernel.

The following MLNX_OFED libraries are now also compiled with valgrind support:

  • libibverbs

  • libmlnx4

  • libmlx5

  • librdmacm

Libraries' files compiled with valgrind support are installed under "/usr/ lib64/mlnx_ofed/valgrind/"

  • To run an application over these libraries, thus prevent false positive errors:
    # env LD_LIBRARY_PATH=/usr/ lib64/mlnx_ofed/valgrind/ val- grind [valgrind options] <application cmd>

  • To suppress most of valgrind's false positive errors, generate the suppression file:
    #./generate_mlnx_ofed_- supp.sh > mlnx.supp

© Copyright 2023, NVIDIA. Last updated on May 23, 2023.