Hello,<br>
<br>
I'm making a multithreaded mpich2 program.<br>
Normally it is designed that it never finishes.<br>
A lot of threads have most of the time an outstanding blocking receive (I decided not to work with Irecv's).<br>
<br>
I want to do some profiling with Jumpshot, but I have to consider the following :<br>
1) I can't write to the final log file as long as there are outstanding receives.<br>
2) I have to call MPI_Finalize() to write to the log file...<br>
<br>
So I wonder if there is a way to write the logfile on a chosen time (with outstanding receives)?<br>
Since, otherwise, I have to cancel all the threads with a receive I
used (then they become zombies, and it can take some time before they
are really cancelled, using w32-pthreads).<br>
<br>
Allso, does Jumpshot works well with multithreaded programs?<br>
<br>
Thanks for any hints or help.<br>
<br>
Jim.<br>
<br>
<br>