Fixes for possible empty local row set.
@ -322,7 +322,7 @@ contains
! Using a simple BLOCK distribution.
!
nt = (m+np-1)/np
nr = min(nt,m-(iam*nt))
nr = max(0,min(nt,m-(iam*nt)))
nt = nr
call psb_sum(ictxt,nt)
@ -360,7 +360,7 @@ contains
@ -323,7 +323,7 @@ contains
@ -361,7 +361,7 @@ contains
@ -456,7 +456,7 @@ contains