[mpich-discuss] MPE Documentation
Ed Baunton
ed.baunton.09 at bristol.ac.uk
Tue Mar 20 14:07:24 CDT 2012
Anthony,
Many thanks for your help. It was indeed not configured for X11 correctly.
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?
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.
I found changing line 750 of mpe_graphics.c to:
sprintf( cmdbuf, "xwd -display %s -id %ld > %s%.3d.xwd\n",
handle->display_name, (long) handle->xwin->win, handle->capture_file,
handle->capture_cnt++ );
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.
Thanks,
Ed
On 19 March 2012 15:18, Anthony Chan <chan at mcs.anl.gov> wrote:
>
>
> ----- Original Message -----
>
> > I'm trying to use the real time animator available in MPE to visualise
> > MPI
> > communication over our cluster here at Bristol.
> > I got jumpshot and regular logging working perfectly using the
> > examples
> > very quickly, however I would like to be able to visualise the
> > communication. I could not see any examples other than collchk and
> > logging
> > in my version's examples? (mpe2-1.3.0).
>
> If you dont' see "graphics" under examples directory, it usually means
> the MPE's graphics subpackge isn't configured for some reasons. If you
> check MPE's configure output, you should see reason why graphics subpackage
> failed to configure. In typical linux box, X11 headers or libraries are
> not
> always installed that would prevent graphics subpackage from being built.
>
> > The links to the user guide at the bottom of the MPE software page
> > seem to be dead and redirect back to the MPICH page, is there another
> location
> > for the most recent edition of the user guide?
>
> The most recent version of MPE user guide is the README file
> https://svn.mcs.anl.gov/repos/mpi/mpich2/trunk/src/mpe2/README
>
> > Also, I would like to be able to save the visualisation to disk, since
> > it is running on the cluster I won't be able to see any xwindows to
> > spawn. Is it possible to, say, have the master thread save the
> visualisation?
>
> Check MPE_CaptureFile and MPE_Update.
> The visualization stuff has not been updated for years,
> so it may not be able to do what you want.
>
> A.Chan
> _______________________________________________
> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120320/3149afdc/attachment.htm>
More information about the mpich-discuss
mailing list