Skip to content

Commit 8b1e9a4

Browse files
committed
TL: added _all to MPI-IO interface in FieldsIO
1 parent 117c702 commit 8b1e9a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pySDC/helpers/fieldsIO.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def MPI_WRITE_AT(self, offset, data: np.ndarray):
558558
data : np.ndarray
559559
Data to be written in the binary file.
560560
"""
561-
self.mpiFile.Write_at(offset, data)
561+
self.mpiFile.Write_at_all(offset, data)
562562

563563
def MPI_READ_AT(self, offset, data):
564564
"""
@@ -572,7 +572,7 @@ def MPI_READ_AT(self, offset, data):
572572
data : np.ndarray
573573
Array on which to read the data from the binary file.
574574
"""
575-
self.mpiFile.Read_at(offset, data)
575+
self.mpiFile.Read_at_all(offset, data)
576576

577577
def MPI_FILE_CLOSE(self):
578578
"""Close the binary file in MPI mode"""

0 commit comments

Comments
 (0)