util/psb_mat_dist_impl.f90

Added check on input args.
psblas3-type-indexed
Salvatore Filippone 13 years ago
parent d7a352f919
commit 668aea5de8

@ -92,7 +92,7 @@ subroutine smatdist(a_glob, a, ictxt, desc_a,&
implicit none implicit none
! parameters ! parameters
type(psb_sspmat_type) :: a_glob type(psb_sspmat_type) :: a_glob
real(psb_spk_) :: b_glob(:) real(psb_spk_) :: b_glob(:)
integer :: ictxt integer :: ictxt
type(psb_sspmat_type) :: a type(psb_sspmat_type) :: a
@ -120,8 +120,8 @@ subroutine smatdist(a_glob, a, ictxt, desc_a,&
integer :: length_row, i_count, j_count,& integer :: length_row, i_count, j_count,&
& k_count, root, liwork, nrow, ncol, nnzero, nrhs,& & k_count, root, liwork, nrow, ncol, nnzero, nrhs,&
& i, ll, nz, isize, iproc, nnr, err, err_act, int_err(5) & i, ll, nz, isize, iproc, nnr, err, err_act, int_err(5)
integer, allocatable :: iwork(:) integer, allocatable :: iwork(:)
integer, allocatable :: irow(:),icol(:) integer, allocatable :: irow(:),icol(:)
real(psb_spk_), allocatable :: val(:) real(psb_spk_), allocatable :: val(:)
integer, parameter :: nb=30 integer, parameter :: nb=30
real(psb_dpk_) :: t0, t1, t2, t3, t4, t5 real(psb_dpk_) :: t0, t1, t2, t3, t4, t5
@ -533,7 +533,7 @@ subroutine dmatdist(a_glob, a, ictxt, desc_a,&
implicit none implicit none
! parameters ! parameters
type(psb_dspmat_type) :: a_glob type(psb_dspmat_type) :: a_glob
real(psb_dpk_) :: b_glob(:) real(psb_dpk_) :: b_glob(:)
integer :: ictxt integer :: ictxt
type(psb_dspmat_type) :: a type(psb_dspmat_type) :: a

Loading…
Cancel
Save