| User Opinions |
100%
0%
(13 votes)
|
|
Thank you for rating this answer.
|
1) find out where the PVM installation is, e.g.:
sol64 /home/flex/session_9_scripting> which pvm (results for example in: )
/usr/local/lib/pvm3/64/lib/pvm
the (underlined) part before lib will usually be the $PVM_ROOT setting
2) edit your .cshrc to reflect proper PVM settings
This is what a .cshrc (for tcsh and csh) may look like:
setenv PVM_ROOT /usr/local/lib/pvm3/64/
setenv PVM_EXPORT DISPLAY
setenv PVM_RSH /usr/bin/ssh
setenv XPVM_ROOT /usr/X11R6/lib/xpvm
setenv PVM_DPATH ${PVM_ROOT}/lib/pvmd
setenv PVM_ARCH `$PVM_ROOT/lib/pvmgetarch`
# mind the reverse `s ---^
set path= ( $path \
$PVM_ROOT/lib \
$PVM_ROOT/lib/$PVM_ARCH )
setenv PVM_VMID my_first_pvm_job
3) start pvm
There are two new variables/flags in Version 1.20 and Release2
· The variable PVM_VMID makes it possible to use multiple parallel PVM jobs for 1 user!
· The config.dat flag USE_PVM_FEATURE makes it possible to run a serial job and parallel jobs at the same time.
|