@@ -41,8 +41,7 @@ program test_deflate
41
41
42
42
if (mpi_id== 0 ) then
43
43
call test_get_deflate(fn1)
44
- ! ! quirk in HDF5? only works with mpi=.false.
45
- ! ! else get file close error
44
+ ! ! only works with mpi=.false. else get file close error
46
45
print * , ' OK: HDF5 get deflate'
47
46
endif
48
47
@@ -132,7 +131,7 @@ subroutine test_read_deflate_props(fn, N)
132
131
if (has_parallel_compression()) then
133
132
if (crat < MIN_COMP) error stop ' 2D low compression'
134
133
else
135
- print * , " MPI commpression was disabled, so " // fn // " was not compressed."
134
+ print * , " test_read_deflate_props: MPI commpression was disabled, so " // fn // " was not compressed."
136
135
endif
137
136
endif
138
137
@@ -210,7 +209,7 @@ subroutine test_deflate_whole(fn, N)
210
209
if (h5f% parallel_compression) then
211
210
if (crat < MIN_COMP) error stop fn // ' low compression'
212
211
else
213
- print * , " MPI commpression was disabled, so " // fn // " was not compressed."
212
+ print * , " test_deflate_whole: MPI commpression was disabled, so " // fn // " was not compressed."
214
213
endif
215
214
endif
216
215
@@ -265,7 +264,7 @@ subroutine test_deflate_slice(fn, N)
265
264
if (h5f% parallel_compression) then
266
265
if (crat < MIN_COMP) error stop fn // ' low compression'
267
266
else
268
- print * , " MPI commpression was disabled, so " // fn // " was not compressed."
267
+ print * , " test_deflate_slice: MPI commpression was disabled, so " // fn // " was not compressed."
269
268
endif
270
269
endif
271
270
@@ -282,9 +281,9 @@ subroutine test_get_deflate(fn)
282
281
! ! bug in HDF5? only works with MPI=.false.
283
282
284
283
if (h5f% parallel_compression) then
285
- if (.not. h5f% deflate(" /A" )) error stop " expected deflate MPI"
284
+ if (.not. h5f% deflate(" /A" )) error stop " test_get_deflate: expected deflate MPI"
286
285
else
287
- write (stderr, ' (a) ' ) " MPI compression was disabled, so " // fn // " was not compressed. "
286
+ if (h5f % deflate( " /A " )) error stop " test_get_deflate: expected no deflate MPI "
288
287
endif
289
288
290
289
if (.not. h5f% deflate(" /noMPI" )) error stop " expected deflate as dataset was written without MPI"
0 commit comments