Newsgroups: comp.parallel.pvm
From: rdaoud@magnus.acs.ohio-state.edu (Raja B Daoud)
Subject: Re: LAM PVM lib vs PVM lib
Organization: Ohio Supercomputer Center
Date: 4 Jul 1995 09:24:30 GMT
Message-ID: <3tb1ce$e5d@charm.magnus.acs.ohio-state.edu>

Edward Mahieu <edwardm@cs.kun.nl> wrote:
> Now i want to link the pvm library of lam instead. During execution it
> seems that buffers get overloaded, using pvm_pkbyte.

>Prov: info = -10.

You're right, it is running out of memory and a malloc() is failing.
When pack routines are called, the library allocates more buffer space
than the strict minimum needed to pack the user's message in the hope
that the next few packs would bypass calling malloc().  This amount of
extra space is different in the two systems.  You may be getting close
enough to the limit of memory such that the extra amount in LAM is
causing malloc() to fail.

> - What is the  solution for this error.

Using less memory? :-)   I'll issue a patch to LAM's PVM library to
make it use less extra space when malloc() fails.  This way it would
reach the memory limit at a more conservative pace, delaying a malloc()
failure as long as possible.

--Raja

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

