Fix precbld.

pull/7/head
Salvatore Filippone 7 years ago
parent a628e9c873
commit 85ff0e404b

@ -439,10 +439,9 @@ subroutine psb_c_bjac_precbld(a,desc_a,prec,info,amold,vmold,imold)
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
ictxt=desc_a%get_context() ictxt=desc_a%get_ctxt()
call psb_info(ictxt, me, np)
call prec%set_ctxt(ictxt) call prec%set_ctxt(ictxt)
call psb_info(ictxt, me, np)
m = a%get_nrows() m = a%get_nrows()
if (m < 0) then if (m < 0) then

@ -246,7 +246,7 @@ subroutine psb_c_diag_precbld(a,desc_a,prec,info,amold,vmold,imold)
info = psb_success_ info = psb_success_
call prec%set_ctxt(desc_a%get_ctxt()) call prec%set_ctxt(desc_a%get_ctxt())
nrow = desc_a%get_local_rows() nrow = desc_a%get_local_rows()
prec%d=a%get_diag(info) prec%d=a%get_diag(info)
if (info /= psb_success_) then if (info /= psb_success_) then
info = psb_err_from_subroutine_ info = psb_err_from_subroutine_

@ -439,10 +439,9 @@ subroutine psb_d_bjac_precbld(a,desc_a,prec,info,amold,vmold,imold)
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
ictxt=desc_a%get_context() ictxt=desc_a%get_ctxt()
call psb_info(ictxt, me, np)
call prec%set_ctxt(ictxt) call prec%set_ctxt(ictxt)
call psb_info(ictxt, me, np)
m = a%get_nrows() m = a%get_nrows()
if (m < 0) then if (m < 0) then

@ -246,7 +246,7 @@ subroutine psb_d_diag_precbld(a,desc_a,prec,info,amold,vmold,imold)
info = psb_success_ info = psb_success_
call prec%set_ctxt(desc_a%get_ctxt()) call prec%set_ctxt(desc_a%get_ctxt())
nrow = desc_a%get_local_rows() nrow = desc_a%get_local_rows()
prec%d=a%get_diag(info) prec%d=a%get_diag(info)
if (info /= psb_success_) then if (info /= psb_success_) then
info = psb_err_from_subroutine_ info = psb_err_from_subroutine_

@ -439,10 +439,9 @@ subroutine psb_s_bjac_precbld(a,desc_a,prec,info,amold,vmold,imold)
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
ictxt=desc_a%get_context() ictxt=desc_a%get_ctxt()
call psb_info(ictxt, me, np)
call prec%set_ctxt(ictxt) call prec%set_ctxt(ictxt)
call psb_info(ictxt, me, np)
m = a%get_nrows() m = a%get_nrows()
if (m < 0) then if (m < 0) then

@ -246,7 +246,7 @@ subroutine psb_s_diag_precbld(a,desc_a,prec,info,amold,vmold,imold)
info = psb_success_ info = psb_success_
call prec%set_ctxt(desc_a%get_ctxt()) call prec%set_ctxt(desc_a%get_ctxt())
nrow = desc_a%get_local_rows() nrow = desc_a%get_local_rows()
prec%d=a%get_diag(info) prec%d=a%get_diag(info)
if (info /= psb_success_) then if (info /= psb_success_) then
info = psb_err_from_subroutine_ info = psb_err_from_subroutine_

@ -439,10 +439,9 @@ subroutine psb_z_bjac_precbld(a,desc_a,prec,info,amold,vmold,imold)
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
ictxt=desc_a%get_context() ictxt=desc_a%get_ctxt()
call psb_info(ictxt, me, np)
call prec%set_ctxt(ictxt) call prec%set_ctxt(ictxt)
call psb_info(ictxt, me, np)
m = a%get_nrows() m = a%get_nrows()
if (m < 0) then if (m < 0) then

@ -246,7 +246,7 @@ subroutine psb_z_diag_precbld(a,desc_a,prec,info,amold,vmold,imold)
info = psb_success_ info = psb_success_
call prec%set_ctxt(desc_a%get_ctxt()) call prec%set_ctxt(desc_a%get_ctxt())
nrow = desc_a%get_local_rows() nrow = desc_a%get_local_rows()
prec%d=a%get_diag(info) prec%d=a%get_diag(info)
if (info /= psb_success_) then if (info /= psb_success_) then
info = psb_err_from_subroutine_ info = psb_err_from_subroutine_

Loading…
Cancel
Save