@ -708,12 +708,14 @@ contains
integer , intent ( out ) :: totxch , idxr , idxs , info
integer , intent ( out ) :: totxch , idxr , idxs , info
! locals
! locals
integer :: np , me , ictxt , err_act
integer :: np , me , ictxt , err_act , debug_level , debug_unit
logical , parameter :: debug = . false . , debugprt = . false .
logical , parameter :: debug = . false . , debugprt = . false .
character ( len = 20 ) , parameter :: name = 'psb_cd_get_list'
character ( len = 20 ) , parameter :: name = 'psb_cd_get_list'
info = 0
info = 0
call psb_erractionsave ( err_act )
call psb_erractionsave ( err_act )
debug_unit = psb_get_debug_unit ( )
debug_level = psb_get_debug_level ( )
ictxt = psb_cd_get_context ( desc )
ictxt = psb_cd_get_context ( desc )
@ -726,15 +728,17 @@ contains
ipnt = > desc % ovrlap_index
ipnt = > desc % ovrlap_index
case ( psb_comm_ext_ )
case ( psb_comm_ext_ )
ipnt = > desc % ext_index
ipnt = > desc % ext_index
if ( . not . associated ( desc % base_desc ) ) then
if ( debug_level > = psb_debug_ext_ ) then
write ( 0 , * ) trim ( name ) , &
if ( . not . associated ( desc % base_desc ) ) then
& ': Warning: trying to get ext_index on a descriptor ' , &
write ( debug_unit , * ) trim ( name ) , &
& 'which does not have a base_desc!'
& ': Warning: trying to get ext_index on a descriptor ' , &
end if
& 'which does not have a base_desc!'
if ( . not . psb_is_ovl_desc ( desc ) ) then
end if
write ( 0 , * ) trim ( name ) , &
if ( . not . psb_is_ovl_desc ( desc ) ) then
& ': Warning: trying to get ext_index on a descriptor ' , &
write ( debug_unit , * ) trim ( name ) , &
& 'which is not overlap-extended!'
& ': Warning: trying to get ext_index on a descriptor ' , &
& 'which is not overlap-extended!'
end if
end if
end if
case ( psb_comm_mov_ )
case ( psb_comm_mov_ )
ipnt = > desc % ovr_mst_idx
ipnt = > desc % ovr_mst_idx