H5Part  1.6.6
Functions
File Opening and Closing
H5Part F90 API

Functions

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.

Function Documentation

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
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
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
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
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
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
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
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
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
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
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
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
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
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)