Local Considerations for PVM
Environment Variables in .cshrc
Add the following lines to your .cshrc file
setenv PVM_ROOT /usr/local/pvm3
setenv PVM_ARCH `$PVM_ROOT/lib/pvmgetarch`
set path=($path $PVM_ROOT/lib/$PVM_ARCH)
set path=($path $PVM_ROOT/bin/$PVM_ARCH)
Directory for PVM Programs
Create the directory ~/pvm3/bin/PMAX to hold our executable programs for
PVM.
Include Statement in Fortran Programs
Place the following statement at the beginning of your Fortran programs.
include '/usr/local/pvm3/include/fpvm3.h'
The part in single quotes must be in lower case.
Compiling Fortran Programs for PVM
You have to include the fpvm and pvm libraries when you compile your
programs.
f77 -o ~/pvm3/bin/PMAX/file file.f -L/usr/local/pvm3/lib/PMAX -lfpvm3 -lpvm3
where file is replaced by the name of your source file.
On-Line Manual Pages for PVM
You can get on-line help for PVM routines. For example, to find out about
the pvmfrecv command, type
avocet> man -P /usr/local/pvm3/man pvmfrecv