Header Files



next up previous contents index
Next: Linking Up: Compiling Applications Previous: Compiling Applications

Header Files

PVM applications written in C should include header file pvm3.h, as follows: #include <pvm3.h>

Programs using the trace functions should additionally include pvmtev.h, and resource manager programs should include pvmsdpro.h. You may need to specify the PVM include directory in the compiler flags as follows: cc ... -I$PVM_ROOT/include ...

A header file for Fortran (fpvm3.h) is also supplied. Syntax for including files in Fortran is variable; the header file may need to be pasted into your source. A statement commonly used is: INCLUDE '/usr/local/pvm/include/fpvm3.h'