Building a Beowulf Cluster/Parallelization of computation/PVM

From Wikibooks, open books for an open world
Jump to navigation Jump to search

The Parallel Virtual Machine (PVM) allows computers which are connected over a network to be used as a single distributed parallel computer.

Installation of PVM is straightforward from packages, for configuration environment variables need to be set up:

add to /etc/profile: 

export PVM_ROOT=/usr/share/pvm3
export PVM_TMP=/tmp
export PVM_RSH=/usr/bin/ssh
export PVM_ARCH=LINUXX86_64
export PATH=/usr/local/bin/:$PATH

In the pvm environment (which you enter typing 'pvm') after adding your machines you can then try the following and see if you can get a list of your machines.

spawn -> -10 /bin/hostname