Section: PVM Version 3.4 (3PVM)
Updated: 27 June, 1994
Return to Main Contents
libpvm3.a, libfpvm3.a - PVM C and Fortran programming libraries
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.
The Fortran library (libfpvm3.a) consists of wrapper functions to
convert Fortran calling sequences to C.
Applications written in C
must be linked with at least the base PVM library, libpvm3.a.
Fortran applications must be linked with both libfpvm3.a and libpvm3.a.
On some operating systems,
PVM programs must be linked with
other vendor-provided libraries
(containing for example, socket or XDR functions).
Programs that use group functions
must also be linked with libgpvm3.a.
The libpvm subroutines can be divided into roughly five classes:
- Message Passing
- Task Control
- Group Library Functions
- Virtual Machine Control
On success, most libpvm functions return the constant PvmOk.
The following error conditions can be returned by libpvm functions:
The requested operation requires exclusive access,
and another was already in progress.
The received messages has a data format native to another machine,
which cannot be decoded by libpvm.
A bad parameter was passed to the function.
Two PVM components (pvmd and task, two pvmds or two tasks) have
incompatible protocol versions and cannot interoperate.
A pvmd could not be started on the local host,
or a slave pvmd could not be started on a remote host.
Some internal mechanism in the pvmd failed during the requested operation.
The class server already has an entry matching the insert request.
[In Version 3.4: Relaced by PvmExists]
The task has already a member of the group it attempted to join.
An attempt was made to add the same host to a virtual machine more than
or to add a host already a member of another virtual machine owned by
the same user.
Operation is refused due to locking, permissions, etc.
There is already an entry matching the insert request.
A foreign host in the virtual machine failed during the requested operation.
A parameter does not match a corresponding one.
There is no current message buffer to pack or unpack.
The end of a message buffer was reached while trying to unpack data.
The class server has no entry matching the lookup request.
[In Version 3.4: Relaced by PvmNotFound]
The named executable does not exist.
The named group does not exist.
There is no host in the virtual machine with the given name,
or the name could not be resolved to an address.
The named group has no member with this instance.
Malloc failed to get memory for libpvm.
This task has no parent task.
There is no message buffer with the given buffer handle.
No task exists with the given tid.
No entry matching the lookup request was found.
This libpvm function or option is not implemented.
The named group has no such member task.
A null group name was passed to a function.
The requested operation could not be completed due to lack of resources.
A value is too large to be packed or unpacked.
Libpvm could not contact a pvmd on the local host,
or the pvmd failed during an operation.
Fortran header file
C header file
Header file for tasker, hoster and resource manager tasks
Header file for tasks manipulating trace events
C (base) library
Fortran wrapper library
Group function library
- SEE ALSO
linux.jgfs.net manual pages