util/psb_c_mmio_impl.f90
 util/psb_d_mmio_impl.f90
 util/psb_s_mmio_impl.f90
 util/psb_z_mmio_impl.f90

Use i0 while generating a format string for array_write.
psblas-3.2.0
Salvatore Filippone 11 years ago
parent 30346971b0
commit 1e878989c6

@ -217,7 +217,7 @@ subroutine mm_cvet2_write(b, header, info, iunit, filename)
ncol = size(b,2)
write(outfile,*) nrow,ncol
write(frmtv,'(a,i5.5,a)') '(',2*ncol,'(es26.18,1x))'
write(frmtv,'(a,i0,a)') '(',2*ncol,'(es26.18,1x))'
do i=1,size(b,1)
write(outfile,frmtv) b(i,1:ncol)
@ -273,7 +273,7 @@ subroutine mm_cvet1_write(b, header, info, iunit, filename)
ncol = 1
write(outfile,*) nrow,ncol
write(frmtv,'(a,i5.5,a)') '(',2*ncol,'(es26.18,1x))'
write(frmtv,'(a,i0,a)') '(',2*ncol,'(es26.18,1x))'
do i=1,size(b,1)
write(outfile,frmtv) b(i)

@ -210,7 +210,7 @@ subroutine mm_dvet2_write(b, header, info, iunit, filename)
ncol = size(b,2)
write(outfile,*) nrow,ncol
write(frmtv,'(a,i3.3,a)') '(',ncol,'(es26.18,1x))'
write(frmtv,'(a,i0,a)') '(',ncol,'(es26.18,1x))'
do i=1,size(b,1)
write(outfile,frmtv) b(i,1:ncol)
@ -266,7 +266,7 @@ subroutine mm_dvet1_write(b, header, info, iunit, filename)
ncol = 1
write(outfile,*) nrow,ncol
write(frmtv,'(a,i3.3,a)') '(',ncol,'(es26.18,1x))'
write(frmtv,'(a,i0,a)') '(',ncol,'(es26.18,1x))'
do i=1,size(b,1)
write(outfile,frmtv) b(i)

@ -212,7 +212,7 @@ subroutine mm_svet2_write(b, header, info, iunit, filename)
ncol = size(b,2)
write(outfile,*) nrow,ncol
write(frmtv,'(a,i3.3,a)') '(',ncol,'(es26.18,1x))'
write(frmtv,'(a,i0,a)') '(',ncol,'(es26.18,1x))'
do i=1,size(b,1)
write(outfile,frmtv) b(i,1:ncol)
@ -268,7 +268,7 @@ subroutine mm_svet1_write(b, header, info, iunit, filename)
ncol = 1
write(outfile,*) nrow,ncol
write(frmtv,'(a,i3.3,a)') '(',ncol,'(es26.18,1x))'
write(frmtv,'(a,i0,a)') '(',ncol,'(es26.18,1x))'
do i=1,size(b,1)
write(outfile,frmtv) b(i)

@ -217,7 +217,7 @@ subroutine mm_zvet2_write(b, header, info, iunit, filename)
ncol = size(b,2)
write(outfile,*) nrow,ncol
write(frmtv,'(a,i5.5,a)') '(',2*ncol,'(es26.18,1x))'
write(frmtv,'(a,i0,a)') '(',2*ncol,'(es26.18,1x))'
do i=1,size(b,1)
write(outfile,frmtv) b(i,1:ncol)
@ -273,7 +273,7 @@ subroutine mm_zvet1_write(b, header, info, iunit, filename)
ncol = 1
write(outfile,*) nrow,ncol
write(frmtv,'(a,i5.5,a)') '(',2*ncol,'(es26.18,1x))'
write(frmtv,'(a,i0,a)') '(',2*ncol,'(es26.18,1x))'
do i=1,size(b,1)
write(outfile,frmtv) b(i)

Loading…
Cancel
Save