next up previous
Next: Overview of Changes Up: Description of the POS Previous: Compiling Xbatch

Testing Xbatch and Trouble Shooting

To test the xbatch program to ensure that this interface is working:

1.
Type ``make xbatch'' from within the xbatch-dir.
2.
type ``xbatch -f xbatch-test.fle'' from within the same directory. A window should be created with various objects and the text ``QSIM lives'' on the screen. If this window is not created, then there is a problem with the interface between the C program and X-windows.

If the POS interface is not working properly (i.e. a window is not created with the POS output), then the following steps will help isolate the problem. Informing us of the results of these steps will help us isolate the problem at your site.

1.
Test xbatch as described above.
2.
Check to make sure that there is a directory defined for the machine containing the binary file xbatch. If this file does not exist, an error may be returned.
3.
Within the lisp environment, perform a trace on qplot-end-display and then attempt to display a plot. The C program is called from within this function. Qplot-end-display is in nq/xpos/qplot-primitives.lisp.
4.
If you are using Lucid, perform a trace on the function user::shell. This is the call to the C program xbatch. Shell is not a Common Lisp function. If you are using a lisp other than Lucid, then this line in the code must be changed.

next up previous
Next: Overview of Changes Up: Description of the POS Previous: Compiling Xbatch
Daniel J. Clancy
5/29/1998