If you use the csh (or tcsh) shell:
setenv PVM_ROOT /s/pvmNote that the apostrophes in the PVM_ARCH definition are back-ticks, not forward.
setenv PVM_ARCH `$PVM_ROOT/lib/pvmgetarch`
setenv MY_PVM_BINARIES $HOME/private/pvm3/bin set path=($path $MY_PVM_BINARIES/$PVM_ARCH $PVM_ROOT/bin/$PVM_ARCH $PVM_ROOT/lib $PVM_ROOT/lib/$PVM_ARCH)
Back to the CS838-1 Home page | Back to the contents |
pvmat prompt. This opens so called PVM console.
nova2$ pvm
pvm>prompt. You're now running a one-node parallel virtual machine.
pvm> add nova3 1 successful HOST DTID nova3 c0000
helpand the console gives you a list of commands for controlling your virtual parallel machine
conf | shows the current virtual machine configuration |
add node | adds the node to your virtual machine |
halt | halts (tears down) the virtual machine |
quit | quits the virtual machine console, but doesn't tear down the virtual machine, so you can restart pvm later to manipulate your machine |
spawn process | starts a program on your virtual machine |
haltcommand.
nova1$ pvm pvm> halt nova1$
See also the Etiquette page for PVM users.
Back to the CS838-1 Home page | Back to the contents |
$HOME/pvm3It will be used for your Makefile and PVM sources
ln -s /s/pvm-3.3.11/lib $HOME/pvm3/lib
bin/$PVM_ARCH,but this will be done automatically if you will use aimk on file Makefile.aimk
$HOME/------pvm3/------bin/-|-X86SOL2 - { exec files for Intel machines with Solaris} | | |-SUN4SOL2 - { exec files for Sparc machines with Solaris} | | | |--- lib/ { link to /s/pvm-3.3.11/lib/} | | | |--- Makefile.aimk | |--- *.c
Back to the CS838-1 Home page | Back to the contents |
/afs/cs.wisc.edu/s/pvm-3.3.11/src/pvm3.3.11/examplesyou can find a couple of simple PVM source codes *.c
master.c and slave.c.You will need to write a similar code, since:
Back to the CS838-1 Home page | Back to the contents |
aimk helloor any other example code name
Back to the CS838-1 Home page | Back to the contents |
PVM works the same way on the SP2, but there's some complications that are due to our authentication setup in the department, and some limitations of kerberos 5 with multi-homed hosts.
If you don't need the communication speed of the switch, then using PVM on SP2 is simple:
fs sa ~ system:anyuser rl
~/.rhostsand add entries for each sp2-nxx host. Use the fully qualified names (with the .cs.wisc.edu).
system:anyuser lon those directories when you are not using PVM.
Back to the CS838-1 Home page | Back to the contents |
conffrom the pvm console to make sure it's not already in your virtual machine
Back to the CS838-1 Home page | Back to the contents |
Back to the CS838-1 Home page | Back to the contents |
Back to the CS838-1 Home page | Back to the contents |