<flags CXXFLAGS="-O0 -g3 -fno-inline">
valgrind --leak-check=full cmsRun -p mycfg
valgrind --tool=memcheck cmsRun -p mycfg