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 i guess i need to set some path right? but what n how??
my pvm_root directory is /usr/share/pvm3
plz reply fast! gurpreet
Gurpreet Singh Student Final Yr Computer Sc. & Engg. --------------------------------------------------------------------- M A K E Y O U R O W N R O A D --------------------------------------------------------------------
On Thu, Mar 06, 2003 at 10:53:42AM -0000, Gurpreet Singh wrote:
- LUG meet - 4:00 pm 9th March, 2003 @ Ruparel College, Matunga (W). *
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 i guess i need to set some path right? but what n how??
my pvm_root directory is /usr/share/pvm3
man gcc
look for the -I, -L and -l options
gcc -I/usr/share/pvm3/include
Amitay.
On 6 Mar 2003 10:53:42 -0000, Gurpreet Singh tonysingh@rediffmail.com wrote:
- LUG meet - 4:00 pm 9th March, 2003 @ Ruparel College, Matunga (W). *
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 i guess i need to set some path right? but what n how??
my pvm_root directory is /usr/share/pvm3
plz reply fast! gurpreet
Gurpreet Singh Student Final Yr Computer Sc. & Engg.
M A K E Y O U R O W N R O A D
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