mld2p4-dev:

Fixes for possible empty local row set.
stopcriterion
Salvatore Filippone 16 years ago
parent d8284f038a
commit f51126b977

@ -322,7 +322,7 @@ contains
! Using a simple BLOCK distribution. ! Using a simple BLOCK distribution.
! !
nt = (m+np-1)/np nt = (m+np-1)/np
nr = min(nt,m-(iam*nt)) nr = max(0,min(nt,m-(iam*nt)))
nt = nr nt = nr
call psb_sum(ictxt,nt) call psb_sum(ictxt,nt)

@ -360,7 +360,7 @@ contains
! Using a simple BLOCK distribution. ! Using a simple BLOCK distribution.
! !
nt = (m+np-1)/np nt = (m+np-1)/np
nr = min(nt,m-(iam*nt)) nr = max(0,min(nt,m-(iam*nt)))
nt = nr nt = nr
call psb_sum(ictxt,nt) call psb_sum(ictxt,nt)

@ -323,7 +323,7 @@ contains
! Using a simple BLOCK distribution. ! Using a simple BLOCK distribution.
! !
nt = (m+np-1)/np nt = (m+np-1)/np
nr = min(nt,m-(iam*nt)) nr = max(0,min(nt,m-(iam*nt)))
nt = nr nt = nr
call psb_sum(ictxt,nt) call psb_sum(ictxt,nt)

@ -361,7 +361,7 @@ contains
! Using a simple BLOCK distribution. ! Using a simple BLOCK distribution.
! !
nt = (m+np-1)/np nt = (m+np-1)/np
nr = min(nt,m-(iam*nt)) nr = max(0,min(nt,m-(iam*nt)))
nt = nr nt = nr
call psb_sum(ictxt,nt) call psb_sum(ictxt,nt)

@ -456,7 +456,7 @@ contains
! Using a simple BLOCK distribution. ! Using a simple BLOCK distribution.
! !
nt = (m+np-1)/np nt = (m+np-1)/np
nr = min(nt,m-(iam*nt)) nr = max(0,min(nt,m-(iam*nt)))
nt = nr nt = nr
call psb_sum(ictxt,nt) call psb_sum(ictxt,nt)

@ -456,7 +456,7 @@ contains
! Using a simple BLOCK distribution. ! Using a simple BLOCK distribution.
! !
nt = (m+np-1)/np nt = (m+np-1)/np
nr = min(nt,m-(iam*nt)) nr = max(0,min(nt,m-(iam*nt)))
nt = nr nt = nr
call psb_sum(ictxt,nt) call psb_sum(ictxt,nt)

Loading…
Cancel
Save