Gurpreet Singh writes:
hi friends need some help with pvm
the daemon is running well, but when i run programs with the pvm code, gcc gives an error that it cannot find file pvm3.h
Export $PVM_ROOT as /usr/share/pvm3 in your .bash_profile and .bashrc. Set $PVM_ARCH to LINUX in your .bash_profile. The PVM is located in /usr/share/pvm3. The PVM header files are in the directory /usr/share/pvm3/include. Include this path while compiling your source code. Create a directory ~/pvm3/bin/LINUX and keep your executables in this directory. Use -L /usr/share/pvm3/lib/LINUX while compiling, to search for libraries like pvm3 and gpvm3. For example, to compile test.c,
cc -I /usr/share/pvm3/include -L /usr/share/pvm3/lib/LINUX test.c -lpvm3 -o ~/pvm3/bin/LINUX/test
Vinayak Hegde APGDST Student NCST-JUHU