HDFql Reference Manual v2.6.0

6.7.40SHOW MPI HINT

Syntax

SHOW [USE FILE] MPI HINT

[post_processing_option]

[output_redirecting_option]

Description

Show (i.e. get) MPI hints for accessing HDF5 files in an MPI environment. If using an HDFql non MPI-based distribution, an error is raised. If the keyword USE FILE is not specified, the MPI hints refer to the default hints for accessing (subsequent) files. Otherwise, if the keyword USE FILE is specified, the MPI hints of the file currently in use are returned.

Parameter(s)

post_processing_option – optional option that transforms the result set according to the programmer’s needs, such as ordering or truncating (please refer to the section PROCESSING for additional information).

output_redirecting_option – optional option that specifies the cursor in use, an HDF5 object (i.e. dataset or attribute), a (text, binary, or Excel) file, or memory (i.e. user-defined variable) to write the result set into (please refer to the subsection INTO for additional information). If not specified, the cursor in use is populated with the result set instead (please refer to the chapter CURSOR for additional information).

Return

The MPI hints for accessing HDF5 files as an HDFQL_VARCHAR.

Example(s)

# set MPI hint "my_hint_key" to "my_hint_value" 
SET MPI HINT my_hint_key my_hint_value

# show (i.e. get) MPI hints (should return "my_hint_key", "my_hint_value") 
SHOW MPI HINT 

# set MPI hints to the default value (i.e. empty) 
SET MPI HINT DEFAULT

# show (i.e. get) MPI hints (should return nothing) 
SHOW MPI HINT 

# set MPI hints "striping_factor" to "4", "striping_unit" to "65536", and "cb_buffer_size" to "8388608"
SET MPI HINT striping_factor 4, striping_unit 65536, cb_buffer_size 8388608

# show (i.e. get) MPI hints (should return "striping_factor", "4", "striping_unit", "65536", "cb_buffer_size", and "8388608")
SHOW MPI HINT