base/modules/psb_d_mat_mod.f03
 base/psblas/psb_dspnrm1.f90

Fixed inconsistent interfaces, discovered with nagfor.
psblas3-type-indexed
Salvatore Filippone 14 years ago
parent 46da91cdc7
commit 80487d7c9c

@ -638,34 +638,38 @@ module psb_d_mat_mod
end interface end interface
interface interface
subroutine psb_d_rowsum(d,a) subroutine psb_d_rowsum(d,a,info)
import :: psb_dspmat_type, psb_dpk_ import :: psb_dspmat_type, psb_dpk_
class(psb_dspmat_type), intent(in) :: a class(psb_dspmat_type), intent(in) :: a
real(psb_dpk_), intent(out) :: d(:) real(psb_dpk_), intent(out) :: d(:)
integer, intent(out) :: info
end subroutine psb_d_rowsum end subroutine psb_d_rowsum
end interface end interface
interface interface
subroutine psb_d_arwsum(d,a) subroutine psb_d_arwsum(d,a,info)
import :: psb_dspmat_type, psb_dpk_ import :: psb_dspmat_type, psb_dpk_
class(psb_dspmat_type), intent(in) :: a class(psb_dspmat_type), intent(in) :: a
real(psb_dpk_), intent(out) :: d(:) real(psb_dpk_), intent(out) :: d(:)
integer, intent(out) :: info
end subroutine psb_d_arwsum end subroutine psb_d_arwsum
end interface end interface
interface interface
subroutine psb_d_colsum(d,a) subroutine psb_d_colsum(d,a,info)
import :: psb_dspmat_type, psb_dpk_ import :: psb_dspmat_type, psb_dpk_
class(psb_dspmat_type), intent(in) :: a class(psb_dspmat_type), intent(in) :: a
real(psb_dpk_), intent(out) :: d(:) real(psb_dpk_), intent(out) :: d(:)
integer, intent(out) :: info
end subroutine psb_d_colsum end subroutine psb_d_colsum
end interface end interface
interface interface
subroutine psb_d_aclsum(d,a) subroutine psb_d_aclsum(d,a,info)
import :: psb_dspmat_type, psb_dpk_ import :: psb_dspmat_type, psb_dpk_
class(psb_dspmat_type), intent(in) :: a class(psb_dspmat_type), intent(in) :: a
real(psb_dpk_), intent(out) :: d(:) real(psb_dpk_), intent(out) :: d(:)
integer, intent(out) :: info
end subroutine psb_d_aclsum end subroutine psb_d_aclsum
end interface end interface

@ -112,8 +112,8 @@ function psb_dspnrm1(a,desc_a,info)
end if end if
if ((m /= 0).and.(n /= 0)) then if ((m /= 0).and.(n /= 0)) then
call a%aclsum(v) call a%aclsum(v,info)
call psb_halo(v,desc_a,info,tran='T') if (info == psb_success_) call psb_halo(v,desc_a,info,tran='T')
if(info /= psb_success_) then if(info /= psb_success_) then
info=psb_err_from_subroutine_ info=psb_err_from_subroutine_
ch_err='psb_halo' ch_err='psb_halo'

Loading…
Cancel
Save