Searched refs:mdtype (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/classes/viewer/impls/binary/ |
| H A D | binv.c | 892 MPI_Datatype mdtype; in PetscViewerBinaryWriteReadMPIIO() local 900 PetscCall(PetscDataTypeToMPIDataType(dtype, &mdtype)); in PetscViewerBinaryWriteReadMPIIO() 902 if (rank == 0) PetscCall(MPIU_File_write_at(mfdes, vbinary->moff, data, cnt, mdtype, &status)); in PetscViewerBinaryWriteReadMPIIO() 905 PetscCall(MPIU_File_read_at(mfdes, vbinary->moff, data, cnt, mdtype, &status)); in PetscViewerBinaryWriteReadMPIIO() 906 if (cnt > 0) PetscCallMPI(MPI_Get_count(&status, mdtype, &cnt)); in PetscViewerBinaryWriteReadMPIIO() 909 PetscCallMPI(MPI_Bcast(data, cnt, mdtype, 0, comm)); in PetscViewerBinaryWriteReadMPIIO() 911 PetscCallMPI(MPI_Type_get_extent(mdtype, &ul, &dsize)); in PetscViewerBinaryWriteReadMPIIO() 1001 MPI_Datatype mdtype; in PetscViewerBinaryWriteReadAll() local 1013 PetscCall(PetscDataTypeToMPIDataType(dtype, &mdtype)); in PetscViewerBinaryWriteReadAll() 1014 PetscCallMPI(MPI_Type_get_extent(mdtype, &lb, &dsize)); in PetscViewerBinaryWriteReadAll() [all …]
|