|
|
|
@ -45,13 +45,13 @@
|
|
|
|
|
! desc_a - type(psb_desc_type). The communication descriptor.
|
|
|
|
|
! info - integer. return code.
|
|
|
|
|
!
|
|
|
|
|
subroutine psb_indx_map_fnd_owner(idx,iprc,idxmap,info)
|
|
|
|
|
subroutine psi_indx_map_fnd_owner(idx,iprc,idxmap,info)
|
|
|
|
|
use psb_serial_mod
|
|
|
|
|
use psb_const_mod
|
|
|
|
|
use psb_error_mod
|
|
|
|
|
use psb_penv_mod
|
|
|
|
|
use psb_realloc_mod
|
|
|
|
|
use psb_indx_map_mod, psb_protect_name => psb_indx_map_fnd_owner
|
|
|
|
|
use psb_indx_map_mod, psb_protect_name => psi_indx_map_fnd_owner
|
|
|
|
|
#ifdef MPI_MOD
|
|
|
|
|
use mpi
|
|
|
|
|
#endif
|
|
|
|
@ -66,14 +66,10 @@ subroutine psb_indx_map_fnd_owner(idx,iprc,idxmap,info)
|
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!!$ integer(psb_lpk_), allocatable :: answers(:,:), idxsrch(:,:), hproc(:)
|
|
|
|
|
integer(psb_ipk_), allocatable :: hhidx(:)
|
|
|
|
|
!!$ integer(psb_mpk_), allocatable :: hsz(:),hidx(:), &
|
|
|
|
|
!!$ & sdsz(:),sdidx(:), rvsz(:), rvidx(:)
|
|
|
|
|
integer(psb_mpk_) :: icomm, minfo, iictxt
|
|
|
|
|
integer(psb_ipk_) :: i,n_row,n_col,err_act,hsize,ip,isz,j, k,&
|
|
|
|
|
& last_ih, last_j, nv
|
|
|
|
|
integer(psb_lpk_) :: mglob, ih
|
|
|
|
|
integer(psb_ipk_) :: i, err_act, hsize, nv
|
|
|
|
|
integer(psb_lpk_) :: mglob
|
|
|
|
|
integer(psb_ipk_) :: ictxt,np,me, nresp
|
|
|
|
|
logical, parameter :: gettime=.false.
|
|
|
|
|
real(psb_dpk_) :: t0, t1, t2, t3, t4, tamx, tidx
|
|
|
|
@ -86,8 +82,6 @@ subroutine psb_indx_map_fnd_owner(idx,iprc,idxmap,info)
|
|
|
|
|
ictxt = idxmap%get_ctxt()
|
|
|
|
|
icomm = idxmap%get_mpic()
|
|
|
|
|
mglob = idxmap%get_gr()
|
|
|
|
|
n_row = idxmap%get_lr()
|
|
|
|
|
n_col = idxmap%get_lc()
|
|
|
|
|
iictxt = ictxt
|
|
|
|
|
|
|
|
|
|
call psb_info(ictxt, me, np)
|
|
|
|
@ -142,10 +136,11 @@ subroutine psb_indx_map_fnd_owner(idx,iprc,idxmap,info)
|
|
|
|
|
|
|
|
|
|
if (.true.) then
|
|
|
|
|
|
|
|
|
|
call psb_a2a_fnd_owner(idx,iprc,idxmap,info)
|
|
|
|
|
call psi_a2a_fnd_owner(idx,iprc,idxmap,info)
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
call psb_adjcncy_fnd_owner(idx,iprc,idxmap,info)
|
|
|
|
|
|
|
|
|
|
call psi_adjcncy_fnd_owner(idx,iprc,idxmap,info)
|
|
|
|
|
|
|
|
|
|
end if
|
|
|
|
|
|
|
|
|
@ -171,4 +166,4 @@ subroutine psb_indx_map_fnd_owner(idx,iprc,idxmap,info)
|
|
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
end subroutine psb_indx_map_fnd_owner
|
|
|
|
|
end subroutine psi_indx_map_fnd_owner
|