jrs65 / scalapy

A python wrapper around ScaLAPACK
32 stars 12 forks source link

Issue where blocking is larger than matrix size. #4

Open jrs65 opened 10 years ago

jrs65 commented 10 years ago

This bug bites when the block length of a dimension is longer than the total matrix length. In this case some processes end up with a local array of size zero, and this causes f2py to freak out.

zuoshifan commented 9 years ago

A little trick could overcome this issue, see a20c1eb43fd40a00f2d197a2a12cef81a4ef1460