ScaLAPACK Archives

[Scalapack] Bug report of memory leakage for Scalapack subroutine PCGEMR

Hello, Scalapack Developers,

Possible Bug of memory leakage for Scalapack
subroutine PCGEMR2D or my wrong usage.

At my program, I have to use a lot of PCGEMR2D to
distribute and re-distribute between global matrixes. 
It is OK to use a few of PCGEMR2D, but when I use too
much of PCGEMR2D, the program just crashed. Try to
point out the problem is really at PCGEMR2D, I wrote a
very simple test program with only PCGEMR2D called in
the test program (the source code is attached with
this email pcgemr2d-test.f90). 

In the test program, I set up several pause points by
reading in an integer, then I can read the memory
usage by the ?top? command of Linux. I can see the
memory usage will accumulated when more and more
PCGEMR2D is called.

If memory is accumulated large enough, the program
will crash with the following error message:

[2] Abort: VAPI_register_mr at line 65 in file
Timeout alarm signaled
Cleaning up all processes ...forrtl: error (78):
process killed (SIGTERM)
forrtl: error (78): process killed (SIGTERM)
forrtl: error (78): process killed (SIGTERM)

In my test program, the program crashed after enter 3
integers which corresponding to total number of loop
between 1500 and 2000. 

My computer setup is as following:

   Intel Xeon EM64t process 
   2GB memory
   Intel fortran compiler V8.01
   Infinband communication network
   Intel Math Kernel Library Cluster version 8.0

May be it is due to my wrong usage, if that is the
reason, please help me with the correct usage of this

Thank you very much!!


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcgemr2d-test.f90
Type: application/octet-stream
Size: 3482 bytes
Desc: 3537881889-pcgemr2d-test.f90
Url :

<Prev in Thread] Current Thread [Next in Thread>

For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or