Checking and Restarting the Mosaic PVMs

Checking on the PVMs

The main thing to check on regarding the PVMs is if they are connected to the proper machines. To check the status of the PVMs running on ctioa0 and ctioa8, open an xterm or xgterm and type:

mosaic@ctioa8% pvm

pvm> conf

2 hosts, 2 data formats

HOST DTID ARCH SPEED
ctioa0 40000 SUN4 1000
ctioa8 c0000 LINUX 1000

pvm> quit

pvmd still running.

Here we see that the pvm on ctioa8 is running and connected to ctioa0 and ctioa8. If both of these don't show up, move to "Restarting the Mosaic PVMs" below. A similar output should be obtained on ctioa0 if all is well.

Restarting the Mosaic PVMs

If the pvm on EITHER ctioa0 or ctioa8 is misconfigured or otherwise having problems, it is best to kill them and restart them. To do this first you must stop all pvms which are currently running. Then start them from ctioa0 (not ctioa8).

Stopping the PVMs

FIRST on ctioa8, type (in an xgterm)

mosaic@ctioa8% pvm

pvmd already running.

pvm> halt

mosaic@ctioa8%

Often on ctioa8 this will NOT stop the PVM. So you must check to see if it really stopped by typing

       mosaic@ctioa8% ps aux | grep pvm

If there are any pvm processes still running, kill them by typing

       mosaic@ctioa8% kill -9 procid

where procid is the process ID of the pvm process.

Finally (for ctioa8), check to see that there are no pvm files left in /tmp by typing

       mosaic@ctioa8% rm /tmp/pvm*

THEN do the same steps above for ctioa0. The halt command in pvm usually works on ctioa0, but it is still good to make sure with the ps command.

(Re)Starting the PVMs

To start the pvms up, open an xterm or xgterm on ctioa0 and type...

mosaic@ctioa8% pvm

pvm> conf

HOST DTID ARCH SPEED
ctioa0 40000 SUN4 1000

 

pvm> add ctioa8

pvm> conf

2 hosts, 2 data formats

HOST DTID ARCH SPEED
ctioa0 40000 SUN4 1000
ctioa8 c0000 LINUX 1000

pvm> quit

pvmd still running.

The pvm command starts up pvm on ctioa0, and the "add ctioa8" command starts the pvm up remotely on ctioa8. The "conf" command confirms that the pvm was started on ctioa8 and that the link between ctioa0 and ctioa8 has been established.

To confirm that all is running well, go to ctioa8 and type (in an xgterm)

mosaic@ctioa8% pvm

pvmd already running.

pvm> conf

2 hosts, 2 data formats

HOST DTID ARCH SPEED
ctioa0 40000 SUN4 1000
ctioa8 c0000 LINUX 1000



pvm> quit

pvmd still running.

 

Last updated Nov 29, 2002 @ 12:30 AM by CSmith

Updated on June 4, 2021, 9:34 am