From: wrankin@cerberus.ee.duke.edu (William T. Rankin)
Newsgroups: comp.parallel.pvm
Subject: Re: pvm3.3 and pvm3.4 on the same computer
Date: 30 Nov 1998 11:25:11 -0500
Organization: Duke University, Durham, NC, USA
Message-Id: <73ugt7$bf1$1@cerberus.ee.duke.edu>
References: <Pine.LNX.3.96.981127120246.14338B-100000@mbpc09.mb.ing.tu-bs.de>


In article <Pine.LNX.3.96.981127120246.14338B-100000@mbpc09.mb.ing.tu-bs.de>,
Harald Harders  <harders@mbpc09.mb.ing.tu-bs.de> wrote:
>Hallo,
>
>I work with a computer on which both pvm3.3 and pvm3.4 are installed.
>The pvm3.3 libraries are in the directory /usr/local/lib. The pvm3.4
>libraries are in the directory ~/pvm3/lib/HPPA. I want to use the version
>pvm3.4. 

>If I use
>gcc -I~/pvm3/include -L~/pvm3/lib/HPPA -Wall -o prog prog.cpp -lgpvm3
>-lpvm3 -lstdc++ -lm
>the program gets compiled. But I think it is linked with the version 3.3
>libraries because when I start it, I get this output:
>libpvm [pid27982]: /tmp/pvmd.3544.rzserv6i: No such file or directory
>libpvm [pid27982]: /tmp/pvmd.3544.rzserv6i: No such file or directory
>libpvm [pid27982]: /tmp/pvmd.3544.rzserv6i: No such file or directory
>libpvm [pid27982]: pvm_mytid(): Can't contact local daemon

Hmmm.  Try linking explicitly with the library image:

 gcc -I~/pvm3/include -Wall -o prog prog.cpp ~/pvm3/lib/HPPA/libgpvm3.a
~/pvm3/lib/HPPA/libpvm3.a -lstdc++ -lm

see if that works.

>Is there a possibility to force gnu-c++ to link the libraries version 3.4
>instead of the older ones?

read the gcc info pages.  they should help you out.

-b


-- 
bill rankin ...................................... philosopher/coffee-drinker
wrankin@ee.duke.edu ........................................ doctoral wannabe
duke university dept. of electrical engr ......... scientific computing group

