H5Part 1.6.6
Functions/Subroutines
File Opening and Closing

Functions/Subroutines

integer *8 function h5pt_close (filehandle)
 Closes a file. See H5PartCloseFile.
 
integer *8 function h5pt_opena (filename)
 Opens a file for writing in append mode. See H5PartOpenFile.
 
integer *8 function h5pt_opena_align (filename, align)
 Opens a file for writing in append mode and specifies an HDF5 alignment. See H5PartOpenFileAlign.
 
integer *8 function h5pt_opena_par (filename, mpi_communicator)
 Opens a parallel file for writing in append mode. See H5PartOpenFileParallel.
 
integer *8 function h5pt_opena_par_align (filename, mpi_communicator, align, flags)
 Opens a parallel file for writing in append mode and specifies an HDF5 alignment.
 
integer *8 function h5pt_openr (filename)
 Opens a file for reading. See H5PartOpenFile.
 
integer *8 function h5pt_openr_align (filename, align)
 Opens a file for reading and specifies an HDF5 alignment. See H5PartOpenFileAlign.
 
integer *8 function h5pt_openr_par (filename, mpi_communicator)
 Opens a parallel file for reading. See H5PartOpenFileParallel.
 
integer *8 function h5pt_openr_par_align (filename, mpi_communicator, align, flags)
 Opens a parallel file for reading and specifies an HDF5 alignment. See H5PartOpenFileParallelAlign.
 
integer *8 function h5pt_openw (filename)
 Opens a file for writing in truncate mode. See H5PartOpenFile.
 
integer *8 function h5pt_openw_align (filename, align)
 Opens a file for writing in truncate mode and specifies an HDF5 alignment. See H5PartOpenFileAlign.
 
integer *8 function h5pt_openw_par (filename, mpi_communicator)
 Opens a parallel file for writing in truncate mode. See H5PartOpenFileParallel.
 
integer *8 function h5pt_openw_par_align (filename, mpi_communicator, align, flags)
 Opens a parallel file for writing in truncate mode and specifies an HDF5 alignment.
 
integer *8 function h5pt_set_verbosity_level (level)
 See H5PartSetVerbosityLevel.
 

Detailed Description

Function/Subroutine Documentation

◆ h5pt_close()

integer*8 function h5pt_close ( integer*8, intent(in) filehandle)

Closes a file. See H5PartCloseFile.

Returns
0 on success or error code
Parameters
[in]filehandlethe handle returned during file open

◆ h5pt_opena()

integer*8 function h5pt_opena ( character(len=*), intent(in) filename)

Opens a file for writing in append mode. See H5PartOpenFile.

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for appending

◆ h5pt_opena_align()

integer*8 function h5pt_opena_align ( character(len=*), intent(in) filename,
integer*8, intent(in) align )

Opens a file for writing in append mode and specifies an HDF5 alignment. See H5PartOpenFileAlign.

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for appending
[in]alignalignment value in bytes

◆ h5pt_opena_par()

integer*8 function h5pt_opena_par ( character(len=*), intent(in) filename,
integer, intent(in) mpi_communicator )

Opens a parallel file for writing in append mode. See H5PartOpenFileParallel.

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for appending
[in]mpi_communicatorthe MPI_Communicator used by the program

◆ h5pt_opena_par_align()

integer*8 function h5pt_opena_par_align ( character(len=*), intent(in) filename,
integer, intent(in) mpi_communicator,
integer*8, intent(in) align,
character(len=*), intent(in) flags )

Opens a parallel file for writing in append mode and specifies an HDF5 alignment.

Flags are specified as a comma separated string that can include:

  • fs_lustre - enable optimizations for the Lustre file system
  • vfd_mpiposix - use the HDF5 MPI-POSIX virtual file driver
  • vfd_mpio_ind - use MPI-IO in indepedent mode

See H5PartOpenFileParallelAlign

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for appending
[in]mpi_communicatorthe MPI_Communicator used by the program
[in]alignalignment value in bytes
[in]flagsadditional flags

◆ h5pt_openr()

integer*8 function h5pt_openr ( character(len=*), intent(in) filename)

Opens a file for reading. See H5PartOpenFile.

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for reading

◆ h5pt_openr_align()

integer*8 function h5pt_openr_align ( character(len=*), intent(in) filename,
integer*8, intent(in) align )

Opens a file for reading and specifies an HDF5 alignment. See H5PartOpenFileAlign.

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for reading
[in]alignalignment value in bytes

◆ h5pt_openr_par()

integer*8 function h5pt_openr_par ( character(len=*), intent(in) filename,
integer, intent(in) mpi_communicator )

Opens a parallel file for reading. See H5PartOpenFileParallel.

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for reading
[in]mpi_communicatorthe MPI communicator used by the program

◆ h5pt_openr_par_align()

integer*8 function h5pt_openr_par_align ( character(len=*), intent(in) filename,
integer, intent(in) mpi_communicator,
integer*8, intent(in) align,
character(len=*), intent(in) flags )

Opens a parallel file for reading and specifies an HDF5 alignment. See H5PartOpenFileParallelAlign.

Flags are specified as a comma separated string that can include:

  • fs_lustre - enable optimizations for the Lustre file system
  • vfd_mpiposix - use the HDF5 MPI-POSIX virtual file driver
  • vfd_mpio_ind - use MPI-IO in indepedent mode

See H5PartOpenFileParallelAlign

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for reading
[in]mpi_communicatorthe MPI_Communicator used by the program
[in]alignalignment value in bytes
[in]flagsadditional flags

◆ h5pt_openw()

integer*8 function h5pt_openw ( character(len=*), intent(in) filename)

Opens a file for writing in truncate mode. See H5PartOpenFile.

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for writing

◆ h5pt_openw_align()

integer*8 function h5pt_openw_align ( character(len=*), intent(in) filename,
integer*8, intent(in) align )

Opens a file for writing in truncate mode and specifies an HDF5 alignment. See H5PartOpenFileAlign.

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for writing
[in]alignalignment value in bytes

◆ h5pt_openw_par()

integer*8 function h5pt_openw_par ( character(len=*), intent(in) filename,
integer, intent(in) mpi_communicator )

Opens a parallel file for writing in truncate mode. See H5PartOpenFileParallel.

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for writing
[in]mpi_communicatorthe MPI_Communicator used by the program

◆ h5pt_openw_par_align()

integer*8 function h5pt_openw_par_align ( character(len=*), intent(in) filename,
integer, intent(in) mpi_communicator,
integer*8, intent(in) align,
character(len=*), intent(in) flags )

Opens a parallel file for writing in truncate mode and specifies an HDF5 alignment.

Flags are specified as a comma separated string that can include:

  • fs_lustre - enable optimizations for the Lustre file system
  • vfd_mpiposix - use the HDF5 MPI-POSIX virtual file driver
  • vfd_mpio_ind - use MPI-IO in indepedent mode

See H5PartOpenFileParallelAlign

Returns
0 on success or error code
Parameters
[in]filenamethe filename to open for writing
[in]mpi_communicatorthe MPI_Communicator used by the program
[in]alignalignment value in bytes
[in]flagsadditional flags

◆ h5pt_set_verbosity_level()

integer*8 function h5pt_set_verbosity_level ( integer*8, intent(in) level)

See H5PartSetVerbosityLevel.

Returns
0 on success or error code
Parameters
[in]levelthe level from 0 (no output) to 5 (most detailed)