Whichever method used above, uncompress the resultant file by executing the command
> uncompress pvm3.3.3.tar.Zthen un
tarthe file with
> tar -xvf pvm3.3.3.tarThis last step will create a
pvm3directory with source code and makefiles for many different machines included. These source files for PVM will take up about 1 Mbyte when uncompressed and unpacked.
To build the executable for your target machine, type the command
make while in the
This will automatically determine the architecture (PVM_ARCH) you are using and
compile the source files with the appropriate system libraries.
This process will create four files in the
libfpvm3.a libpvm3.a pvm pvmd3
For example, if you were to build PVM on makina1,
machine were a Sun 4, the above files would be found in the directory
*.a files are PVM library routines,
pvmd3 is the
daemon that handles the execution of PVM applications and
is the PVM console program.
You should copy the file
pvm3/lib/cshrc.stub into your
.cshrc file on all machines you wish to run PVM applications.
This stub will automatically determine the type of architecture it is
on and set up environment variables (PVM_ROOT and PVM_ARCH) for PVM to use.
The stub can also add the directory of your PVM executables.
The stub must be placed in a position after your
has been defined within the
A copy of the
cshrc.stub file is included in the Appendix of
this guide for those users that do not need to install their own
copies of PVM.