PIO  2.5.4
Functions/Subroutines
Free an IOSystem

Free an IO System, releasing all resources in Fortran. More...

Functions/Subroutines

subroutine piolib_mod::finalize (iosystem, ierr)
 IO descriptor structure. More...
 

Detailed Description

Free an IO System, releasing all resources in Fortran.

Use the Fortran generic function PIO_finalize() to finalize the IO System, freeing all associated resources. The PIO_finalize() function will call finalize().

This code from examples/f03/examplePio.F90 demonstrates how to finalize the IO system.

call PIO_finalize(this%pioIoSystem, ierr)

Function/Subroutine Documentation

◆ finalize()

subroutine piolib_mod::finalize ( type (iosystem_desc_t), intent(inout)  iosystem,
integer(i4), intent(out)  ierr 
)

IO descriptor structure.

Finalizes an IO System. This is a collective call.

Parameters
iosystemThis structure defines the mapping for a given variable between compute and IO decomposition.
ierrThe error return code (see Error Handling for Fortran).
Author
Jim Edwards