[comp.sys.transputer] cs-tools communication and heap problem

rory@castle.ed.ac.uk (R McKinnel) (03/15/91)

Hi,

    I have for some time now been using a 12 node Meiko Computing
Surface for the dynamic simulation of distillation columns. Up until now
most of the runs which I have been doing have been reasonably short and
the total number of communications sent has been around 10 000.

In the last few days I have been trying some longer runs and have found
that when I have sent about 80 000 messages, cs-tools reports that there
is no heap left for communication.

All my simulation code is in fortran, and I perform no mallocing of
space from my code. So I assume that cs-tools is grabbing memory and
never freeing it, although only in very small amounts given the number
of communications.

If anyone could shed some light on wether this is a bug, or wether it is
normal, or wether I have done something really stupid, I would love to
hear from you.

		Rory

*************************************************************************
Rory Mckinnel
Department of Chemical Engineering
Kings Buildings
Edinburgh 
Email rory@uk.ac.ed  rory@uk.ac.ed.chemeng
Telephone (031) 650 4866
*************************************************************************

cca04@seq1.keele.ac.uk (P.J. Mitchell) (03/18/91)

From article <9182@castle.ed.ac.uk>, by rory@castle.ed.ac.uk (R McKinnel):
> In the last few days I have been trying some longer runs and have found
> that when I have sent about 80 000 messages, cs-tools reports that there
> is no heap left for communication.

Hmm, this *sounds* like you have a process or processes sending messages
that are not being received anywhere. I can't think of anything off hand
that would grab more memory as time went on, unless there is a bug in
CSTools that doesn't release some space somewhere (need Meiko technical
comment to answer that). Which version of CSTools are you using ?
-- 
Paul Mitchell (CMA#86(18) MAG#65715 DoD#0145)  | Physics Department,
JANET:  p.j.mitchell@uk.ac.keele.seq1          | Keele University, Keele,
USENET: p.j.mitchell@seq1.keele.ac.uk          | Staffordshire, ST5 5BG, U.K.
BITNET: p.j.mitchell%seq1.keele.ac.uk@ukacrl   | (+44 or 0)782 621111 ext 3966