Anthony,<br><br>Many thanks for your help. It was indeed not configured for X11 correctly.<br><br>I had a further problem in that the system I was running on did not have xwd present thus I had to configure and install it to a custom directory. Is there a way to manually configure the location of xwd during configuration? <br>
<br>There is a comment in mpe_graphics.c that indicates there might be but I couldn't find anywhere in any of the configuration scripts to do it.<br>I found changing line 750 of mpe_graphics.c to:<br>sprintf( cmdbuf, "xwd -display %s -id %ld > %s%.3d.xwd\n", handle->display_name, (long) handle->xwin->win, handle->capture_file, handle->capture_cnt++ );<br>
made the code much more versatile (rather than hardcoding the location) since I could just add my own xwd to $PATH. Obviously, a better solution would be to update the configuration but this did the trick for me.<br><br>
Thanks,<br>
<br>Ed<br><div class="gmail_quote">On 19 March 2012 15:18, Anthony Chan <span dir="ltr"><<a href="mailto:chan@mcs.anl.gov" target="_blank">chan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
<br>
----- Original Message -----<br>
<br>
> I'm trying to use the real time animator available in MPE to visualise<br>
> MPI<br>
> communication over our cluster here at Bristol.<br>
> I got jumpshot and regular logging working perfectly using the<br>
> examples<br>
> very quickly, however I would like to be able to visualise the<br>
> communication. I could not see any examples other than collchk and<br>
> logging<br>
> in my version's examples? (mpe2-1.3.0).<br>
<br>
</div>If you dont' see "graphics" under examples directory, it usually means<br>
the MPE's graphics subpackge isn't configured for some reasons. If you<br>
check MPE's configure output, you should see reason why graphics subpackage<br>
failed to configure. In typical linux box, X11 headers or libraries are not<br>
always installed that would prevent graphics subpackage from being built.<br>
<div><br>
> The links to the user guide at the bottom of the MPE software page<br>
> seem to be dead and redirect back to the MPICH page, is there another location<br>
> for the most recent edition of the user guide?<br>
<br>
</div>The most recent version of MPE user guide is the README file<br>
<a href="https://svn.mcs.anl.gov/repos/mpi/mpich2/trunk/src/mpe2/README" target="_blank">https://svn.mcs.anl.gov/repos/mpi/mpich2/trunk/src/mpe2/README</a><br>
<div><br>
> Also, I would like to be able to save the visualisation to disk, since<br>
> it is running on the cluster I won't be able to see any xwindows to<br>
> spawn. Is it possible to, say, have the master thread save the visualisation?<br>
<br>
</div>Check MPE_CaptureFile and MPE_Update.<br>
The visualization stuff has not been updated for years,<br>
so it may not be able to do what you want.<br>
<br>
A.Chan<br>
_______________________________________________<br>
mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</blockquote></div><br>