|
|
|
@ -67,8 +67,7 @@ subroutine psb_dilu_bld(a,desc_a,p,upd,info)
|
|
|
|
|
integer :: int_err(5)
|
|
|
|
|
character :: trans, unitd
|
|
|
|
|
type(psb_dspmat_type) :: blck, atmp
|
|
|
|
|
real(kind(1.d0)) :: t1,t2,t3,t4,t5,t6,mpi_wtime, t7, t8
|
|
|
|
|
external mpi_wtime
|
|
|
|
|
real(kind(1.d0)) :: t1,t2,t3,t4,t5,t6, t7, t8
|
|
|
|
|
logical, parameter :: debugprt=.false., debug=.false., aggr_dump=.false.
|
|
|
|
|
integer nztota, nztotb, nztmp, nzl, nnr, ir, err_act,&
|
|
|
|
|
& n_row, nrow_a,n_col, nhalo, ind, iind, i1,i2,ia
|
|
|
|
@ -143,7 +142,7 @@ subroutine psb_dilu_bld(a,desc_a,p,upd,info)
|
|
|
|
|
call psb_nullify_sp(blck)
|
|
|
|
|
call psb_nullify_sp(atmp)
|
|
|
|
|
|
|
|
|
|
t1= mpi_wtime()
|
|
|
|
|
t1= psb_wtime()
|
|
|
|
|
|
|
|
|
|
if(debug) write(0,*)me,': calling psb_asmatbld',p%iprcparm(p_type_),p%iprcparm(n_ovr_)
|
|
|
|
|
if (debug) call psb_barrier(ictxt)
|
|
|
|
@ -155,7 +154,7 @@ subroutine psb_dilu_bld(a,desc_a,p,upd,info)
|
|
|
|
|
call psb_errpush(info,name,a_err=ch_err)
|
|
|
|
|
goto 9999
|
|
|
|
|
end if
|
|
|
|
|
t2= mpi_wtime()
|
|
|
|
|
t2= psb_wtime()
|
|
|
|
|
if (debug) write(0,*)me,': out of psb_asmatbld'
|
|
|
|
|
if (debug) call psb_barrier(ictxt)
|
|
|
|
|
|
|
|
|
@ -240,7 +239,7 @@ subroutine psb_dilu_bld(a,desc_a,p,upd,info)
|
|
|
|
|
goto 9999
|
|
|
|
|
end if
|
|
|
|
|
|
|
|
|
|
t3 = mpi_wtime()
|
|
|
|
|
t3 = psb_wtime()
|
|
|
|
|
if (debugprt) then
|
|
|
|
|
call psb_barrier(ictxt)
|
|
|
|
|
open(40+me)
|
|
|
|
@ -253,7 +252,7 @@ subroutine psb_dilu_bld(a,desc_a,p,upd,info)
|
|
|
|
|
!
|
|
|
|
|
! Ok, factor the matrix.
|
|
|
|
|
!
|
|
|
|
|
t5 = mpi_wtime()
|
|
|
|
|
t5 = psb_wtime()
|
|
|
|
|
blck%m=0
|
|
|
|
|
call psb_ilu_fct(atmp,p%av(l_pr_),p%av(u_pr_),p%d,info,blck=blck)
|
|
|
|
|
if(info/=0) then
|
|
|
|
@ -273,7 +272,7 @@ subroutine psb_dilu_bld(a,desc_a,p,upd,info)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else if (p%iprcparm(iren_) == 0) then
|
|
|
|
|
t3 = mpi_wtime()
|
|
|
|
|
t3 = psb_wtime()
|
|
|
|
|
! This is where we have mo renumbering, thus no need
|
|
|
|
|
! for ATMP
|
|
|
|
|
|
|
|
|
@ -289,7 +288,7 @@ subroutine psb_dilu_bld(a,desc_a,p,upd,info)
|
|
|
|
|
close(40+me)
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
t5= mpi_wtime()
|
|
|
|
|
t5= psb_wtime()
|
|
|
|
|
if (debug) write(0,*) me,' Going for ilu_fct'
|
|
|
|
|
if (debug) call psb_barrier(ictxt)
|
|
|
|
|
call psb_ilu_fct(a,p%av(l_pr_),p%av(u_pr_),p%d,info,blck=blck)
|
|
|
|
@ -323,7 +322,7 @@ subroutine psb_dilu_bld(a,desc_a,p,upd,info)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
! ierr = MPE_Log_event( ifcte, 0, "st SIMPLE" )
|
|
|
|
|
t6 = mpi_wtime()
|
|
|
|
|
t6 = psb_wtime()
|
|
|
|
|
!
|
|
|
|
|
! write(0,'(i3,1x,a,3(1x,g18.9))') me,'renum/factor time',t3-t2,t6-t5
|
|
|
|
|
! if (me==0) write(0,'(a,3(1x,g18.9))') 'renum/factor time',t3-t2,t6-t5
|
|
|
|
|