PIO  2.5.4
Data Types | Functions/Subroutines
piolib_mod.f90 File Reference

Functions/Subroutines

logical function, public piolib_mod::pio_file_is_open (File)
 Get the local size of a distributed array. More...
 
integer function, public piolib_mod::pio_get_local_array_size (iodesc)
 IO descriptor structure. More...
 
subroutine piolib_mod::advanceframe (file, vardesc)
 File descriptor structure. More...
 
subroutine piolib_mod::setframe (file, vardesc, frame)
 File descriptor structure. More...
 
subroutine piolib_mod::setdebuglevel (level)
 
subroutine piolib_mod::seterrorhandlingfile (file, method, oldmethod)
 File descriptor structure. More...
 
subroutine piolib_mod::seterrorhandlingiosystem (iosystem, method, oldmethod)
 The error handling setting controls what happens if errors are encountered by PIO. The three types of error handling methods are: More...
 
subroutine piolib_mod::seterrorhandlingiosysid (iosysid, method, oldmethod)
 The error handling setting controls what happens if errors are encountered by PIO. The three types of error handling methods are: More...
 
subroutine piolib_mod::pio_initdecomp_bc (iosystem, basepiotype, dims, compstart, compcount, iodesc)
 IO system descriptor structure. More...
 
subroutine piolib_mod::initdecomp_1dof_bin_i8 (iosystem, basepiotype, dims, lenblocks, compdof, iodofr, iodesc)
 PIO supports different kinds of Fortran types. More...
 
subroutine piolib_mod::initdecomp_1dof_bin_i4 (iosystem, basepiotype, dims, lenblocks, compdof, iodofr, iodesc)
 PIO supports different kinds of Fortran types. More...
 
subroutine piolib_mod::initdecomp_2dof_nf_i4 (iosystem, basepiotype, dims, lenblocks, compdof, iodofr, iodofw, start, count, iodesc)
 PIO supports different kinds of Fortran types. More...
 
subroutine piolib_mod::initdecomp_2dof_nf_i8 (iosystem, basepiotype, dims, lenblocks, compdof, iodofr, iodofw, start, count, iodesc)
 PIO supports different kinds of Fortran types. More...
 
subroutine piolib_mod::initdecomp_1dof_nf_i4 (iosystem, basepiotype, dims, lenblocks, compdof, iodof, start, count, iodesc)
 PIO supports different kinds of Fortran types. More...
 
subroutine piolib_mod::initdecomp_1dof_nf_i8 (iosystem, basepiotype, dims, lenblocks, compdof, iodof, start, count, iodesc)
 PIO supports different kinds of Fortran types. More...
 
subroutine piolib_mod::pio_initdecomp_dof_i4 (iosystem, basepiotype, dims, compdof, iodesc, rearr, iostart, iocount)
 IO system descriptor structure. More...
 
subroutine piolib_mod::pio_initdecomp_dof_i8 (iosystem, basepiotype, dims, compdof, iodesc, rearr, iostart, iocount)
 
subroutine piolib_mod::init_intracom (comp_rank, comp_comm, num_iotasks, num_aggregator, stride, rearr, iosystem, base, rearr_opts)
 Rearranger methods. More...
 
subroutine piolib_mod::init_intercom (iosystem, incomm, procs_per_component, comp_proc_list, io_proc_list, rearranger, comp_comm, io_comm)
 
subroutine piolib_mod::init_intercom_from_comms (iosystem, world_comm, comp_comms, io_comm, rearranger)
 
subroutine, public piolib_mod::pio_set_hint (iosystem, hint, hintval)
 IO descriptor structure. More...
 
subroutine piolib_mod::finalize (iosystem, ierr)
 IO descriptor structure. More...
 
subroutine piolib_mod::getnumiotasks (iosystem, numiotasks)
 
logical function, public piolib_mod::pio_iotype_available (iotype)
 Is an iotype available?
 
integer function piolib_mod::createfile (iosystem, file, iotype, fname, amode_in)
 An integer parameter which controls the iotype. More...
 
integer function, public piolib_mod::pio_openfile (iosystem, file, iotype, fname, mode)
 The error return code (see Error Handling for Fortran). More...
 
subroutine piolib_mod::syncfile (file)
 File descriptor structure. More...
 
subroutine piolib_mod::freedecomp_ios (ios, iodesc)
 free all allocated storage associated with this decomposition More...
 
subroutine piolib_mod::freedecomp_file (file, iodesc)
 File descriptor structure. More...
 
subroutine piolib_mod::closefile (file)
 File descriptor structure. More...
 
subroutine, public piolib_mod::pio_deletefile (ios, fname)
 
integer function, public piolib_mod::pio_set_rearr_opts (ios, comm_type, fcd, enable_hs_c2i, enable_isend_c2i, max_pend_req_c2i, enable_hs_i2c, enable_isend_i2c, max_pend_req_i2c)
 There are two choices for rearranger communication. More...
 

Detailed Description

Initialization Routines for PIO.

Function/Subroutine Documentation

◆ pio_deletefile()

subroutine, public piolib_mod::pio_deletefile ( type(iosystem_desc_t ios,
character(len=*)  fname 
)

Delete a file.

Parameters
iosa pio system handle
fnamea filename
Author
Jim Edwards

◆ pio_file_is_open()

logical function, public piolib_mod::pio_file_is_open ( type(file_desc_t), intent(in)  File)

Get the local size of a distributed array.

This logical function indicates if a file is open.

Parameters
FileFile descriptor structure. This structure holds information associated with each open file
Author
Jim Edwards

◆ pio_set_rearr_opts()

integer function, public piolib_mod::pio_set_rearr_opts ( type(iosystem_desc_t), intent(inout)  ios,
integer, intent(in)  comm_type,
integer, intent(in)  fcd,
logical, intent(in)  enable_hs_c2i,
logical, intent(in)  enable_isend_c2i,
integer, intent(in)  max_pend_req_c2i,
logical, intent(in)  enable_hs_i2c,
logical, intent(in)  enable_isend_i2c,
integer, intent(in)  max_pend_req_i2c 
)

There are two choices for rearranger communication.

Set the rerranger options.

Parameters
ioshandle to pio iosystem
comm_type- PIO_rearr_comm_p2p : Point to point
  • PIO_rearr_comm_coll : Collective
fcd: There are four choices for rearranger communication direction.
  • PIO_rearr_comm_fc_2d_enable : COMM procs to IO procs and vice versa
  • PIO_rearr_comm_fc_1d_comp2io: COMM procs to IO procs only
  • PIO_rearr_comm_fc_1d_io2comp: IO procs to COMM procs only
  • PIO_rearr_comm_fc_2d_disable: Disable flow control
    Parameters
    enable_hs_c2iEnable handshake (compute procs to io procs)
    enable_isend_c2iEnable isends (compute procs to io procs)
    max_pend_req_c2iMaximum pending requests (compute procs to io procs)
    enable_hs_i2cEnable handshake (io procs to compute procs)
    enable_isend_i2cEnable isends (io procs to compute procs)
    max_pend_req_i2cMaximum pending requests (io procs to compute procs)
    Type that defines the PIO rearranger options.
    • enable_hs : Enable handshake (true/false)
  • enable_isend : Enable Isends (true/false)
  • max_pend_req : Maximum pending requests (To indicated unlimited number of requests use PIO_REARR_COMM_UNLIMITED_PEND_REQ)
    Author
    Jim Edwards