views:

34

answers:

0

Hello,

I am developing a MPI program on a Linux machine where I do not have sudo/su access. As my program currently segfaults, I would like to examine the core dumps via gdb. Unfortunately, as the program is multi-threaded, all the threads write to one core dump. So I would like to be able to append the PID to each separate core dump for every process.

I know there is a way to do it via /proc/sys/kernel/core_pattern, however I do not have access to write to this.

Thanks for any help.