How do I debug if -start_in_debugger does not work on my machine?
For a uniprocessor job, ex1, with MPICH using ch_p4 as the underlying communication layer, the procedure is: – Create a dummy file with the text “local 0” – – Start the debugger directly: gdb ex1 – Run with a command such as: run -p4pg dummy With MPICH using shmem as the underlying communication layer, the procedure is: – dbx ex1 – run -np 3 (other petsc options) .