@@ -151,7 +151,7 @@ subroutine pioperformancetest(filename, piotypes, mype, npe_base, &
151151 integer (kind= PIO_Offset_kind) :: maplen, gmaplen
152152 integer :: ndims
153153 integer , pointer :: gdims(:)
154- character (len= 20 ) :: fname
154+ character (len= 24 ) :: fname
155155 type (var_desc_t) :: vari(nvars), varr(nvars), vard(nvars)
156156 type (iosystem_desc_t) :: iosystem
157157 integer :: stride, n
@@ -266,7 +266,7 @@ subroutine pioperformancetest(filename, piotypes, mype, npe_base, &
266266
267267 call pio_init(mype, comm, ntasks, 0 , stride, PIO_REARR_SUBSET, iosystem)
268268
269- write (fname, ' (a,i1,a,i4.4 ,a,i1,a)' ) ' pioperf.' ,rearr,' -' ,ntasks,' -' ,k ,' .nc'
269+ write (fname, ' (a,i1,a,i6.6 ,a,i1,a)' ) ' pioperf.' ,rearr,' -' ,ntasks,' -' ,iotype ,' .nc'
270270
271271 call PIO_set_hint(iosystem, " nc_var_align_size" , " 1" )
272272
@@ -379,7 +379,7 @@ subroutine pioperformancetest(filename, piotypes, mype, npe_base, &
379379! Now the Read
380380#ifdef DOREAD
381381
382- write (fname, ' (a,i1,a,i4.4 ,a,i1,a)' ) ' pioperf.' ,rearr,' -' ,ntasks,' -' ,iotype,' .nc'
382+ write (fname, ' (a,i1,a,i6.6 ,a,i1,a)' ) ' pioperf.' ,rearr,' -' ,ntasks,' -' ,iotype,' .nc'
383383
384384 ierr = PIO_OpenFile(iosystem, File, iotype, trim (fname), mode= PIO_NOWRITE);
385385 do nv= 1 ,nvars
0 commit comments