|
|
|
@ -293,12 +293,9 @@ program df_sample
|
|
|
|
|
end if
|
|
|
|
|
!!$ call psb_precdump(prec,info,prefix=trim(mtrx_file)//'_')
|
|
|
|
|
|
|
|
|
|
allocate(x_col_glob(m_problem),r_col_glob(m_problem),stat=ierr)
|
|
|
|
|
if (ierr /= 0) then
|
|
|
|
|
write(psb_err_unit,*) 'allocation error: no data collection'
|
|
|
|
|
else
|
|
|
|
|
call psb_gather(x_col_glob,x_col,desc_a,info,root=psb_root_)
|
|
|
|
|
call psb_gather(r_col_glob,r_col,desc_a,info,root=psb_root_)
|
|
|
|
|
if (info == psb_success_) &
|
|
|
|
|
& call psb_gather(r_col_glob,r_col,desc_a,info,root=psb_root_)
|
|
|
|
|
if (iam == psb_root_) then
|
|
|
|
|
write(psb_err_unit,'(" ")')
|
|
|
|
|
write(psb_err_unit,'("Saving x on file")')
|
|
|
|
@ -314,7 +311,6 @@ program df_sample
|
|
|
|
|
write(20,998) i,x_col_glob(i),r_col_glob(i),b_col_glob(i)
|
|
|
|
|
enddo
|
|
|
|
|
end if
|
|
|
|
|
end if
|
|
|
|
|
998 format(i8,4(2x,g20.14))
|
|
|
|
|
993 format(i6,4(1x,e12.6))
|
|
|
|
|
|
|
|
|
|