All PVM applications must be linked with the libpvm library to allow them to communicate with other entities in the PVM system. The base library (libpvm3.a) is written in C and directly supports C and C++ applications. Applications written in C must be linked with at least the base PVM library, libpvm3.a. Programs that use group functions must also be linked with libgpvm3.a. Compile the program for an architecture and place the executable at a location accessible from all the machines in the host pool. Manually run an initiating task or “master”, which spawns all other tasks that interact with one another to solve the problem. For compiling the source program, we use the following compilation options:
gcc -o -I$PVM_ROOT/include -L$PVM_ROOT/lib/LINUX –lpvm3 – lgpvm3
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment