On Mon, Oct 25, 2010 at 19:35, Jack Bryan <dtustud...@hotmail.com> wrote:
> I have to use #PBS to submit any jobs in my cluster. > I cannot use command line to hang a job on my cluster. > You don't need a cluster to run MPI jobs, can you run the job on whatever you development machine is? Does it hang there? PBS interactive jobs are started with qsub -I. > > Where should I put the (gdb --batch -ex 'bt full' -ex 'info reg' -pid > ZOMBIE_PID) in the script ? > On the line after "mpirun ...", assuming that control returns to there after the hang. You didn't answer whether that was the case. > And how to get ZOMBIE_PID from the script ? > Simplest is "pgrep $COMMAND", or use ps. Jed