We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb11b5a commit 4f3e6d2Copy full SHA for 4f3e6d2
src/tests/unit/test_string.f90
@@ -20,10 +20,8 @@ program test_string
20
call mpi_comm_rank(MPI_COMM_WORLD, mpi_id, ierr)
21
if (ierr /= 0) error stop "mpi_comm_rank"
22
23
-if(mpi_id == 0) then
24
- call test_write(fn)
25
- print *, "OK: HDF5 string write"
26
-endif
+call test_write(fn)
+if(mpi_id == 0) print *, "OK: HDF5 string write"
27
28
call test_read(fn)
29
if(mpi_id == 0) print *,'OK: HDF5 string read'
@@ -40,7 +38,7 @@ subroutine test_write(fn)
40
38
41
39
type(hdf5_file) :: h
42
43
-call h%open(fn, action='w', mpi=.false.)
+call h%open(fn, action='w', mpi=.true.)
44
45
call h%write('/little', '42')
46
call h%write('/MySentence', 'this is a little sentence.')
0 commit comments