calcdecomp Module

@file @brief calcdecomp This module computes the IO decomposition when generated by PO internally.

$Revision$ $LastChangedDate$



Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: default_blocksize = 884736
integer, public :: blocksize = default_blocksize

Subroutines

public subroutine pio_set_blocksize(newsize)

@defgroup PIO_set_blocksize Sets the contiguous block size read or written from each IO task. The optimal value of this parameter is filesystem specific.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: newsize

public subroutine CalcStartandCount(basetype, ndims, gdims, num_io_procs, myiorank, start, kount, use_io_procs, innermostdecomposed)

Arguments

Type IntentOptional Attributes Name
integer(kind=i4), intent(in) :: basetype
integer(kind=i4), intent(in) :: ndims
integer(kind=i4), intent(in) :: gdims(ndims)
integer(kind=i4), intent(in) :: num_io_procs
integer(kind=i4), intent(in) :: myiorank
integer(kind=PIO_OFFSET), intent(out) :: start(ndims)
integer(kind=PIO_OFFSET), intent(out) :: kount(ndims)
integer, intent(out) :: use_io_procs
integer, intent(out), optional :: innermostdecomposed

public subroutine computestartandcount(gdim, ioprocs, rank, start, kount)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: gdim
integer, intent(in) :: ioprocs
integer, intent(in) :: rank
integer(kind=pio_offset), intent(out) :: start
integer(kind=pio_offset), intent(out) :: kount