Fix copy of ictxt in prec%build.

pull/7/head v3.5.0-1
Salvatore Filippone 7 years ago
parent a044889257
commit a628e9c873

@ -244,6 +244,7 @@ subroutine psb_c_diag_precbld(a,desc_a,prec,info,amold,vmold,imold)
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
info = psb_success_ info = psb_success_
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)

@ -244,6 +244,7 @@ subroutine psb_d_diag_precbld(a,desc_a,prec,info,amold,vmold,imold)
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
info = psb_success_ info = psb_success_
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)

@ -244,6 +244,7 @@ subroutine psb_s_diag_precbld(a,desc_a,prec,info,amold,vmold,imold)
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
info = psb_success_ info = psb_success_
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)

@ -244,6 +244,7 @@ subroutine psb_z_diag_precbld(a,desc_a,prec,info,amold,vmold,imold)
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
info = psb_success_ info = psb_success_
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)

@ -134,7 +134,6 @@ module psb_c_bjacprec
contains contains
subroutine psb_c_bjac_precdescr(prec,iout,root) subroutine psb_c_bjac_precdescr(prec,iout,root)
use psb_penv_mod
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
implicit none implicit none

@ -161,8 +161,6 @@ contains
subroutine psb_c_diag_precdescr(prec,iout,root) subroutine psb_c_diag_precdescr(prec,iout,root)
use psb_penv_mod
use psb_error_mod
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
Implicit None Implicit None

@ -122,7 +122,7 @@ contains
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
info = psb_success_ info = psb_success_
call prec%set_ctxt(desc_a%get_ctxt())
call psb_erractionrestore(err_act) call psb_erractionrestore(err_act)
return return
@ -159,8 +159,6 @@ contains
subroutine psb_c_null_precdescr(prec,iout,root) subroutine psb_c_null_precdescr(prec,iout,root)
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
use psb_penv_mod
use psb_error_mod
Implicit None Implicit None

@ -134,7 +134,6 @@ module psb_d_bjacprec
contains contains
subroutine psb_d_bjac_precdescr(prec,iout,root) subroutine psb_d_bjac_precdescr(prec,iout,root)
use psb_penv_mod
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
implicit none implicit none

@ -161,8 +161,6 @@ contains
subroutine psb_d_diag_precdescr(prec,iout,root) subroutine psb_d_diag_precdescr(prec,iout,root)
use psb_penv_mod
use psb_error_mod
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
Implicit None Implicit None

@ -122,7 +122,7 @@ contains
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
info = psb_success_ info = psb_success_
call prec%set_ctxt(desc_a%get_ctxt())
call psb_erractionrestore(err_act) call psb_erractionrestore(err_act)
return return
@ -159,8 +159,6 @@ contains
subroutine psb_d_null_precdescr(prec,iout,root) subroutine psb_d_null_precdescr(prec,iout,root)
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
use psb_penv_mod
use psb_error_mod
Implicit None Implicit None

@ -134,7 +134,6 @@ module psb_s_bjacprec
contains contains
subroutine psb_s_bjac_precdescr(prec,iout,root) subroutine psb_s_bjac_precdescr(prec,iout,root)
use psb_penv_mod
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
implicit none implicit none

@ -161,8 +161,6 @@ contains
subroutine psb_s_diag_precdescr(prec,iout,root) subroutine psb_s_diag_precdescr(prec,iout,root)
use psb_penv_mod
use psb_error_mod
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
Implicit None Implicit None

@ -122,7 +122,7 @@ contains
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
info = psb_success_ info = psb_success_
call prec%set_ctxt(desc_a%get_ctxt())
call psb_erractionrestore(err_act) call psb_erractionrestore(err_act)
return return
@ -159,8 +159,6 @@ contains
subroutine psb_s_null_precdescr(prec,iout,root) subroutine psb_s_null_precdescr(prec,iout,root)
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
use psb_penv_mod
use psb_error_mod
Implicit None Implicit None

@ -134,7 +134,6 @@ module psb_z_bjacprec
contains contains
subroutine psb_z_bjac_precdescr(prec,iout,root) subroutine psb_z_bjac_precdescr(prec,iout,root)
use psb_penv_mod
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
implicit none implicit none

@ -161,8 +161,6 @@ contains
subroutine psb_z_diag_precdescr(prec,iout,root) subroutine psb_z_diag_precdescr(prec,iout,root)
use psb_penv_mod
use psb_error_mod
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
Implicit None Implicit None

@ -122,7 +122,7 @@ contains
call psb_erractionsave(err_act) call psb_erractionsave(err_act)
info = psb_success_ info = psb_success_
call prec%set_ctxt(desc_a%get_ctxt())
call psb_erractionrestore(err_act) call psb_erractionrestore(err_act)
return return
@ -159,8 +159,6 @@ contains
subroutine psb_z_null_precdescr(prec,iout,root) subroutine psb_z_null_precdescr(prec,iout,root)
use psb_penv_mod use psb_penv_mod
use psb_error_mod use psb_error_mod
use psb_penv_mod
use psb_error_mod
Implicit None Implicit None

Loading…
Cancel
Save