target architecture is not supported


pgdbg showed an error message “target architecture is not supported”.

What am I supposed to do ?

I use the following command to run the mpi program with pgdbg

mpirun -np 4 -dbg=pgdbg programname

the program ran without stopping all the way to the end. It seems like the debugger
is not attached to the running program. When I used pgdbg directly and tried to attach
the program to it, it showed the error message that I mentioned above.

Any idea to fix it ?



Hi Eric,

This typically means that you’re using the 32-bit pgdbg with a 64-bit binary (or visa versa). Make sure the pgdbg in your PATH matches the mode of your binary.

  • Mat