Running pvmmake



next up previous contents
Next: Running the Parallel Up: Building the Parallel Previous: Viewing the pvmmake

Running pvmmake

 

To run pvmmake, choose the Run pvmmake entry from the Run menu in the PADE main window. This will cause the mouse prompt to change from an arrow to a watch indicating that PADE is busy. The PADE main window may resize and some of the text on the canvas may momentarily disappear. This is normal, if somewhat inelegant. Soon, a display window will appear which contains the output of the pvmmake run.

A representative sample of this output is shown below. Note that the example virtual machine has four nodes but the output shown below exhibits files transferred and commands issued on only three nodes. This illustrates the fact that it is not necessary to use all nodes of the virtual machine.

Reading in configuration file: mw.pvmmake
Your virtual machine configuration is:
262144 mithrandir.nist.org RS6K 1000
524288 galadriel.nist.org SUN4 1000
786432 shadowfax.nist.org SUN4 1000
1048576 elrond.nist.org SGIMP 1000

Spawning one process on each machine:
spawned 1 process on mithrandir.nist.org with tid 262148
spawned 1 process on galadriel.nist.org with tid 524289
spawned 1 process on shadowfax.nist.org with tid 786433
spawned 1 process on elrond.nist.org with tid 1048578


FILE BROADCAST:
The file to be broadcast is manager.c
...Broadcast to 3 machines: mithrandir.nist.org \
                            galadriel.nist.org \
                            shadowfax.nist.org 
                            
broadcasting to tid 262148 (mithrandir.nist.org)
...file to be opened on mithrandir.nist.org is manager.c 
broadcasting to tid 524289 (galadriel.nist.org)
...file to be opened on galadriel.nist.org is manager.c 
broadcasting to tid 786433 (shadowfax.nist.org)
...file to be opened on shadowfax.nist.org is manager.c 


FILE BROADCAST:
The file to be broadcast is worker.c
...Broadcast to 3 machines: mithrandir.nist.org \
                            galadriel.nist.org \
                            shadowfax.nist.org 
                            
broadcasting to tid 262148 (mithrandir.nist.org)
...file to be opened on mithrandir.nist.org is worker.c 
broadcasting to tid 524289 (galadriel.nist.org)
...file to be opened on galadriel.nist.org is worker.c 
broadcasting to tid 786433 (shadowfax.nist.org)
...file to be opened on shadowfax.nist.org is worker.c 


FILE BROADCAST:
The file to be broadcast is makefile.mithrandir
...Broadcast to 1 machines: mithrandir.nist.org 

broadcasting to tid 262148 (mithrandir.nist.org)
...file to be opened on mithrandir.nist.org is 
makefile.mithrandir 


FILE BROADCAST:
The file to be broadcast is makefile.galadriel
...Broadcast to 1 machines: galadriel.nist.org 

broadcasting to tid 524289 (galadriel.nist.org)
...file to be opened on galadriel.nist.org is 
makefile.galadriel 


FILE BROADCAST:
The file to be broadcast is makefile.shadowfax
...Broadcast to 1 machines: shadowfax.nist.org
 
broadcasting to tid 786433 (shadowfax.nist.org)
...file to be opened on shadowfax.nist.org is
makefile.shadowfax



COMMAND RESULTS:
@ mithrandir.nist.org cd ~edwards/pvm3/bin/RS6K; \
                  make -f makefile.mithrandir +errors
                  
 cc -c -I/mithrandir/nist/edwards/pvm3/include manager.c
 cc -c -I/mithrandir/nist/edwards/pvm3/include worker.c
 cc manager.o -L/mithrandir/nist/edwards/pvm3/lib/RS6K \
 	      -lpvm3 -lgpvm3 -o manager
 cc worker.o -L/mithrandir/nist/edwards/pvm3/lib/RS6K \
 	      -lpvm3 -lgpvm3 -o worker
 

COMMAND RESULTS:
@ galadriel.nist.org cd ~edwards/pvm3/bin/SUN4; \
                   make -f makefile.galadriel +errors
                   
 cc -c -I/home/galadriel/edwards/pvm3/include manager.c
 cc -c -I/home/galadriel/edwards/pvm3/include worker.c
 cc manager.o -L/home/galadriel/edwards/pvm3/lib/SUN4 
              -lpvm3 -lgpvm3 -o manager
              
 ld: manager.o: _main: multiply defined
 ld: manager.o: internal error: symbol not found
 *** Error code 4
 make: Fatal error: Command failed for target `all'
 

COMMAND RESULTS:
@ shadowfax.nist.org cd ~edwards/pvm3/bin/SUN4; \
                      make -f makefile.shadowfax +errors
                      
 gcc -c -I/home/galadriel/edwards/pvm3/include manager.c
 gcc -c -I/home/galadriel/edwards/pvm3/include worker.c
 gcc manager.o -L/home/galadriel/edwards/pvm3/lib/SUN4 
               -lpvm3 -lgpvm3 -o manager
 gcc worker.o  -L/home/galadriel/edwards/pvm3/lib/SUN4 
               -lpvm3 -lgpvm3 -o worker
 
 ********** ALL PROCESSES HAVE EXITED **********.
Note that the compile failed on the galadriel.nist.org node. The user is provided with the output of the commands issued on each host.




Fri Mar 31 20:30:34 EST 1995