[petsc-users] Using Compute-Sanitizer with PETSc

Barry Smith bsmith at petsc.dev
Mon May 13 20:32:57 CDT 2024


  Depending on your mpi mpiexec is not needed so

  compute-sanitizer --tool memcheck --leak-check full ./a.out args

  may work

> On May 13, 2024, at 8:16 PM, Sreeram R Venkat <srvenkat at utexas.edu> wrote:
> 
> This Message Is From an External Sender
> This message came from outside your organization.
> I am trying to check my program for GPU memory leaks with the compute-sanitizer tool. If I run my application with: 
> mpiexec -n 1 compute-sanitizer --tool memcheck --leak-check full ./a.out args
> 
> I get the message:
> Error: No attachable process found. compute-sanitizer timed-out.
> 
> Adding --target-processes all does not help.
> 
> Is there anything else I should be doing?
> 
> Thanks,
> Sreeram

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240513/582c95ed/attachment-0001.html>


More information about the petsc-users mailing list