[MPICH] getchar
devteam
devteam at transvalor.com
Tue Nov 14 10:51:56 CST 2006
Hi all,
When using mpich1 with mpirun I used to put some getchar() in my code for debug purpose.
Then during computation I had to hit "enter" Nproc times.
I wonder why when using mpiexec (I use mpich2 1.0.4), if I do the same my code freeze and I can't go on.
To obtain the same behaviour I write now:
If (mytid ==0) getchar();MPI_Barrier(MPI_COMM_WORLD);
Thanks,
Regards,
Etienne Perchat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20061114/a7675c21/attachment.htm>
More information about the mpich-discuss
mailing list