Running the application in an <em>xterm</em> window



next up previous contents
Next: Running the application Up: Running the Parallel Previous: Running the Parallel

Running the application in an xterm window

 

To launch the compiled parallel application in an xterm window requires two steps. First, the executable binary must be set, and second, it must be launched.

The binary is set by selecting the PVM application menu-entry from the RUN menu in the PADE main window. Selection of this entry causes the file browser to appear. The user then selects the appropriate PVM binary file to be launched. Note that the parallel application can only be launched from the development host using this method.

Once the appropriate binary has been set, the user can launch this program in an xterm window by selecting the Run menu-entry within the Run menu in the PADE main window. Selection of this button opens an xterm window and the application is launched. The user can then respond to any requests by the parallel program for terminal input. Anything written to standard output by the program will also appear in this window. When the program run ends, the xterm window will stay on the screen for one hour unless manually closed by the user. Any information contained in the window will be lost after it closes.

To run the manager/worker example program, the user chooses the manager executable which should be located in the PVM binary directory when the file browser window has appeared. Then choose the Run menu-entry. The xterm window will appear. A sample session is shown below.

How many worker programs (1-32)?
10
I got 700.000000 from 4
I got 100.000000 from 1
I got 500.000000 from 3
I got 300.000000 from 2
I got 1700.000000 from 9
I got 900.000000 from 0
I got 1500.000000 from 8
I got 900.000000 from 5
I got 1100.000000 from 6
I got 1300.000000 from 7
The response to the question must be supplied by the user.




Fri Mar 31 20:30:34 EST 1995