Newsgroups: comp.parallel.pvm
From: edwardm@cs.kun.nl (Edward Mahieu)
Subject: Re: compiling pvm with LAM library
Organization: University of Nijmegen, The Netherlands
Date: 30 Jun 1995 10:38:05 GMT
Message-ID: <3t0k6d$q88@wn1.sci.kun.nl>

In <3sia89$e5s@charm.magnus.acs.ohio-state.edu> rdaoud@magnus.acs.ohio-state.edu (Raja B Daoud) writes:

>Edward Mahieu <edwardm@cs.kun.nl> wrote:
>>is there anybody who has some experience compiling a
>>PVM program with the hcc tool from LAM. Hcc uses the cc C compiler.

>>ld: Undefined symbol 
>>   __kio_cleanup 

>A patch fixing this problem was issued in Sep. 94.   The LAM patches
>(lam52-patch.tar) are available from:

Thanks, this problem is solved!

>http://www.osc.edu/lam.html   or    ftp://tbag.osc.edu/pub/lam

>If you prefer an event-driven approach :-), new patches are posted
>on the LAM mailing list.  To join it, send a message to

>lam-request@tbag.osc.edu

>with the word "add" (no quotes) in the subject field.

OK

>Regards,

>--Raja

>-=-
>Raja Daoud				raja@tbag.osc.edu
>Ohio Supercomputer Center		http://www.osc.edu/lam.html

I have a master slave program original designed and compiled using PVM3.2.6.
Not all PVM routines are implemented in the PVM library of LAM.
(Routines for deleting and adding hosts of the multicomputer)
During execution I get other problems.
The following program fragment leads to this problem:

    ........
    for(i=0;i<channels;i++)
    {
        printf("Prov: still packing..... step %d.\n",i);
	info = pvm_pkbyte(cellptr3[i],lines*elements,1);
        printf("Prov: info = %d.\n",info);
         ..............


Gives the following output:

Prov: still packing..... step 0.
Prov: info = 0.
Prov: still packing..... step 1.
Prov: info = 0.
Prov: still packing..... step 2.
Prov: info = 0.
Prov: still packing..... step 3.
Prov: info = 0.
Prov: still packing..... step 4.
Prov: info = 0.
Prov: still packing..... step 5.
Prov: info = 0.
....
Prov: still packing..... step 0.
Prov: info = 0.
Prov: still packing..... step 1.
Prov: info = -10.
Prov: still packing..... step 2.

In pvm3.h is the error code explainded as:
#define PvmNoMem        -10                     /* could not malloc */

Why this result in LAM pvm and not from PVM original?

Does somebody have the same experiences with a solution?

Edward.

-- 
+------------------------------------+
      E.M.P.A. Mahieu
      email: edwardm@cs.kun.nl
+------------------------------------+
--
+------------------------------------+
      E.M.P.A. Mahieu
      email: edwardm@cs.kun.nl
+------------------------------------+

