[mpich-discuss] MPE Documentation

Anthony Chan chan at mcs.anl.gov
Tue Mar 20 14:22:30 CDT 2012



----- Original Message -----

> 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.

Good point.  My guess is that the code was written when systems had
xwd lived in /usr/X11* and not all users had it in their path then.
I assume this has changed xwd could be assumed in user's path, like
/usr/bin. I will update the code.

Thanks,
A.Chan


More information about the mpich-discuss mailing list