|
|
|
@ -257,9 +257,9 @@ subroutine psi_dswaptranm(flag,n,beta,y,desc_a,work,info,data)
|
|
|
|
|
proc_to_comm = d_idx(pnti+psb_proc_id_)
|
|
|
|
|
nerv = d_idx(pnti+psb_n_elem_recv_)
|
|
|
|
|
nesd = d_idx(pnti+nerv+psb_n_elem_send_)
|
|
|
|
|
call psb_get_rank(prcid(i),ictxt,proc_to_comm)
|
|
|
|
|
if (nesd>0) then
|
|
|
|
|
p2ptag = krecvid(ictxt,proc_to_comm,me)
|
|
|
|
|
call psb_get_rank(prcid(i),ictxt,proc_to_comm)
|
|
|
|
|
call mpi_irecv(sndbuf(snd_pt),n*nesd,&
|
|
|
|
|
& mpi_double_precision,prcid(i),&
|
|
|
|
|
& p2ptag,icomm,rvhd(i),iret)
|
|
|
|
@ -676,9 +676,9 @@ subroutine psi_dswaptranv(flag,beta,y,desc_a,work,info,data)
|
|
|
|
|
proc_to_comm = d_idx(pnti+psb_proc_id_)
|
|
|
|
|
nerv = d_idx(pnti+psb_n_elem_recv_)
|
|
|
|
|
nesd = d_idx(pnti+nerv+psb_n_elem_send_)
|
|
|
|
|
call psb_get_rank(prcid(i),ictxt,proc_to_comm)
|
|
|
|
|
if (nesd>0) then
|
|
|
|
|
p2ptag = krecvid(ictxt,proc_to_comm,me)
|
|
|
|
|
call psb_get_rank(prcid(i),ictxt,proc_to_comm)
|
|
|
|
|
call mpi_irecv(sndbuf(snd_pt),nesd,&
|
|
|
|
|
& mpi_double_precision,prcid(i),&
|
|
|
|
|
& p2ptag,icomm,rvhd(i),iret)
|
|
|
|
|