LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Philip Mason (pmason_at_[hidden])
Date: 2005-04-08 05:36:02


Hi,

Simple query:

I am running a LAM(7.1.1) application on Linux(RH7_IA32)/GM2 with
the memory manager off.

The LAM-"Installation Guide suggests configuring LAM with
"-with-memory-manager=external" and then defining your own "sbrk"-routine.

Alternatively, is it OK to configure LAM with "--with-memory-manager=none"
and then use the MPI_ALLOC_MEM/MPI_FREE_MEM routines to allocate/deallocate
any MPI-send/recieve buffers? I assume these routines automatically pin/upin
memory when runing in "gm-mode"(or ib)?

Have tried the above, seems to work. However, I also tried using non-MPI
allocate/deallocate routines for MPI-send/recieve buffers and still
works OK ->
was under the impression freeing buffers without explicitly unpinning
memory is
liable to fail? - worried this might have worked by luck.

Side-question: If I allocate an array BUFFER and then MPI-send/recieve
this BUFFER in sub-sections - is it sufficient to MPI_ALLOC_MEM/FREE BUFFER
and not have to MPI_ALLOC_MEM/FREE each subsection sent/recieved?

Thanks in advance.

Philip

-- 
----------------------------------------
Phil Mason
Software Development Engineer
Ricardo Consulting Engineers Ltd
Email - Philip.Mason_at_[hidden]
Tel:    01273 794914
-- 
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this e-mail in error please notify the sender immediately
and delete this e-mail from your system.  Please note that any views or opinions
presented in this e-mail are solely those of the author and do not necessarily
represent those of Ricardo (save for reports and other documentation formally
approved and signed for release to the intended recipient).  Only Directors
or Duly Authorised Officers are authorised to enter into legally binding
obligations on behalf of Ricardo unless the obligation is contained within
a Ricardo Purchase Order.
Ricardo may monitor outgoing and incoming e-mails and other telecommunications
on its e-mail and telecommunications systems.  By replying to this e-mail you
give consent to such monitoring.  The recipient should check this e-mail and
any attachments for the presence of viruses.  Ricardo accepts no liability for
any damage caused by any virus transmitted by this e-mail.  "Ricardo" means
Ricardo plc and its subsidiary companies.
Ricardo plc is a public limited company registered in England with registered
number 00222915.
The registered office of Ricardo plc is Bridge Works, Shoreham-by Sea,
West Sussex, BN43 5FG.