PetscErrorCode PetscBinarySynchronizedRead(MPI_Comm comm,int fd,void *p,PetscInt n,PetscDataType type)Collective on MPI_Comm Many br
comm | - the MPI communicator Many br | |
fd | - the file Many br | |
n | - the number of items to read Many br | |
type | - the type of items to read (PETSC_INT, PETSC_DOUBLE or PETSC_SCALAR) Many br |
Many br
PetscBinarySynchronizedRead() uses byte swapping to work on all machines. Many brIntegers are stored on the file as 32 long, regardless of whether Many brthey are stored in the machine as 32 or 64, this means the same Many brbinary file may be read on any machine. Many br
Level:developer
Location:src/sys/fileio/sysio.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages