Entering files using the <tt>Tree View</tt> window



next up previous contents
Next: Saving the setup Up: Entering Setup Information Previous: Entering files using

Entering files using the Tree View window

 

The user now enters similar information for all of the other hosts on the virtual machine. A convenient way of doing this is to use the Tree View window. This window is pictured in Fig. 5.9. When the user chooses the Tree View button in the Setup window the Tree View window will appear. If the user has been following this example, several large circles will be displayed on a large canvas - each representing one host on the virtual machine. One of these hosts will have three rectangles attached to it - each rectangle representing one file that is to be sent to the host associated with the circle. The user can very quickly add the manager.c and worker.c files to the other hosts as follows. The user first chooses the Duplicate button at the top of the window and then clicks on the manager.c rectangle. A copy of this rectangle will appear attached to the same circle.

Repeating this operation several times results in n copies of the manager.c rectangle, where n is the number of hosts in the user's virtual machine. This set of operations can be repeated with the worker.c and makefile rectangles. At the end there should n copies of the three basic programs - all attached to a single circle. The user can then distribute these files to the other circles (hosts) by using the mouse to drag the various rectangles to their proper places. Note that, in order to attach a rectangle to a new circle, the mouse arrow point (not just any part of the cursor) must lie within the new circle (while dragging the rectangle) when the mouse button is released. Once all of the files are distributed to their circles, the user must then modify each of them to ensure that all host-specific information is correct. To modify a file, choose the Modify button at the top of the window and then click on the appropriate rectangle. The PADE Modify File window will appear as was described above. When all entries have been modified, the user then chooses the Save button and the Tree View window will exit.

Note that any files specified using either the Setup Files window or the Tree View window need not exist on the disk. To create these files, the user can invoke the preferred editor by using the Edit File button found in the Setup Files window or in the Tree View window by duplicating an existing file entry, modifying the name, and double-clicking this new rectangle. Note that the user must edit each host-specific makefile by changing such things as the include and library paths as well as any other host-specific information that.



next up previous contents
Next: Saving the setup Up: Entering Setup Information Previous: Entering files using




Fri Mar 31 20:30:34 EST 1995