Newsgroups: comp.parallel.pvm,comp.parallel
From: dbatten@postoffice.ptd.net (Dean Batten)
Subject: Re: Compiling a PVM App
Organization: ProLog - PenTeleData, Inc.
Date: Mon, 6 Nov 1995 02:49:02 GMT
Message-ID: <dbatten-0511952149020001@cs1-13.all.ptd.net>

In article <47er42$1m13@fidoii.cc.lehigh.edu>, mjz2@nss2.cc.lehigh.edu
(mjz2) wrote:

> I'm a beginner PVM'er and I'm trying to compile the Fork Join example
> given in the PVM Book. I have PVM installed and working. I can add
> hosts and run the sample hello and hello_other example they include
> with the distribution. But I'm having a problem compiling the fork-join
> code.
> 
> I enter the following:
> 
> ------------------------------------------------------------------------
> 
> cc -I$PVM_ROOT/include forkjoin.c -L$PVM_ROOT/lib/$PVM_ARCH -lfpvm3
> -lgpvm3 -lpvm3
> ------------------------------------------------------------------------
> 
> 
> and I get the following response:
> 
> ------------------------------------------------------------------------
> 
> 0706-317 ERROR: Unresolved or undefined symbols detected:
>                  Symbols in error (followed by references) are
>                  dumped to the load map.
>                  The -bloadmap:<filename> option will create a load
> map.
> .pvm_error
> ------------------------------------------------------------------------
> 
> Does anyone have any suggestions on what I might be missing? Thanks.

This answer isn't going to get me any respect, but it might help you. I
had your problem, and when I figured out what compiler flags, options,
etc., fixed my problem, I put the command line in a file and never thought
about again, so now I can't explain it very well. Here it is.

cc -O -I/home/drb2/pvm3/include -DSYSVSIGNAL -o master master.c lib.o
-L/home/drb2/pvm3/lib/RS6K -lpvm3

-O is optimize

-DSYSVSIGNAL ???

-o output file specified

master.c is my source file

lib.o is my library object

Otherwise, looks same as yours. I'll have to check what -DSYSVSIGNAL is
when I get to work tomorrow. I'm working on AIX 3.2 on RS/6000.

Perhaps a help...

Dean Batten

Dean Batten
dbatten@postoffice.ptd.net
Allentown, PA, USA



