PVM Example
Home > Help Files >
Software Applications >
PVM >
Examples >
- Log into a linux machine such as kepler.berkeley.edu
- mkdir -p ~/pvm3/bin/LINUX
- cd ~/pvm3/bin/LINUX
- cp /usr/share/pvm3/examples/hello* ./
- cc -g -Wall -I/usr/share/pvm3/include -L/usr/share/pvm3/lib/LINUX -o hello_other hello_other.c -lpvm3
- Follow the instructions on our online PVM help page on how to start PVM, adding 2 or more machines for testing.
- ./hello
- ./hello
- If you run hello a few times, it will go through all the hosts you added to PVM. And you will see echos from those hosts.
|