|
|
@ -54,7 +54,6 @@ function psb_cget_nnz(a,desc_a,info) result(res)
|
|
|
|
type(psb_ctxt_type) :: ctxt
|
|
|
|
type(psb_ctxt_type) :: ctxt
|
|
|
|
integer(psb_ipk_) :: np, me,&
|
|
|
|
integer(psb_ipk_) :: np, me,&
|
|
|
|
& err_act, iia, jja
|
|
|
|
& err_act, iia, jja
|
|
|
|
integer(psb_lpk_) :: localnnz
|
|
|
|
|
|
|
|
character(len=20) :: name, ch_err
|
|
|
|
character(len=20) :: name, ch_err
|
|
|
|
!
|
|
|
|
!
|
|
|
|
name='psb_cget_nnz'
|
|
|
|
name='psb_cget_nnz'
|
|
|
@ -72,9 +71,9 @@ function psb_cget_nnz(a,desc_a,info) result(res)
|
|
|
|
goto 9999
|
|
|
|
goto 9999
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
localnnz = a%get_nzeros()
|
|
|
|
res = a%get_nzeros()
|
|
|
|
|
|
|
|
|
|
|
|
call psb_sum(ctxt,localnnz)
|
|
|
|
call psb_sum(ctxt,res)
|
|
|
|
|
|
|
|
|
|
|
|
call psb_erractionrestore(err_act)
|
|
|
|
call psb_erractionrestore(err_act)
|
|
|
|
return
|
|
|
|
return
|
|
|
|