|
SCORPIO 1.9.0
|
Write/Save the I/O decomposition. More...
Functions/Subroutines | |
| subroutine | pio_writedof_int (fname, gdims, map, comm, ioid, ierr) |
| Write/Save an I/O decomposition. | |
| subroutine | pio_writedof_offset (fname, gdims, map, comm, ioid, ierr) |
| Write/Save an I/O decomposition. | |
Write/Save the I/O decomposition.
| subroutine __spio_decomp_f90__::pio_writedof_int | ( | character(len=*), intent(in) | fname, |
| integer, dimension(:), intent(in) | gdims, | ||
| integer(i4), dimension(:), intent(in) | map, | ||
| integer, intent(in) | comm, | ||
| integer, intent(in), optional | ioid, | ||
| integer, intent(out), optional | ierr | ||
| ) |
Write/Save an I/O decomposition.
| [in] | fname | The name of the output file where the I/O decomposition will be saved/written out |
| [in] | gdims | The global dimensions of the I/O decomposition |
| [in] | map | The mapping between local data index and the global linearized index for each local data element e.g. If after partitioning the local array contains A(2,3) and A(3,3) of an array A[4x4], the map needs to contain [10, 11] corrsponding to the linearized indices of A(2,3) & A(3,3) |
| [in] | comm | The MPI communicator (that contains the MPI processes in the I/O system associated with the I/O decomposition) |
| [in] | ioid | (Optional) The I/O decomposition id |
| [out] | ierr | (Optional) : The error return code. |
Set to PIO_NOERR on success, or an error code otherwise (See PIO_seterrorhandling for more information on how to customize/set error handling)
| subroutine __spio_decomp_f90__::pio_writedof_offset | ( | character(len=*), intent(in) | fname, |
| integer, dimension(:), intent(in) | gdims, | ||
| integer(pio_offset_kind), dimension(:), intent(in) | map, | ||
| integer, intent(in) | comm, | ||
| integer, intent(in), optional | ioid, | ||
| integer, intent(out), optional | ierr | ||
| ) |
Write/Save an I/O decomposition.
| [in] | fname | The name of the output file where the I/O decomposition will be saved/written out |
| [in] | gdims | The global dimensions of the I/O decomposition |
| [in] | map | The mapping between local data index and the global linearized index for each local data element e.g. If after partitioning the local array contains A(2,3) and A(3,3) of an array A[4x4], the map needs to contain [10, 11] corrsponding to the linearized indices of A(2,3) & A(3,3) |
| [in] | comm | The MPI communicator (that contains the MPI processes in the I/O system associated with the I/O decomposition) |
| [in] | ioid | (Optional) The I/O decomposition id |
| [out] | ierr | (Optional) : The error return code. |
Set to PIO_NOERR on success, or an error code otherwise (See PIO_seterrorhandling for more information on how to customize/set error handling)