If you are debugging a program with one MPI process, you can just do "-start_in_debugger noxterm". Otherwise, have a look at https://petsc.org/release/docs/manualpages/Sys/PetscSetDebugTerminal.html
Jose > El 15 nov 2021, a las 9:55, Karthikeyan Chockalingam - STFC UKRI > <[email protected]> escribió: > > Hello, > > I am running PETSc 3.16.0 on a cluster compiled in debug mode using the flag > -start_in_debugger. But I getting following error message: > > Unable to start debugger in xterm. No such file or directory. > > I think the program is searching in the wrong path, probably under /usr/bin > but xterm is located in a different path. > How do I set it to the right path? > > Best, > Karthik. > This email and any attachments are intended solely for the use of the named > recipients. If you are not the intended recipient you must not use, disclose, > copy or distribute this email or any of its attachments and should notify the > sender immediately and delete this email from your system. UK Research and > Innovation (UKRI) has taken every reasonable precaution to minimise risk of > this email or any attachments containing viruses or malware but the recipient > should carry out its own virus and malware checks before opening the > attachments. UKRI does not accept any liability for any losses or damages > which the recipient may sustain due to presence of any viruses. >
