Imaging I/O test¶
This module contains the functions to run Imaging IO benchmark.
-
sdpbenchmarks.imagingiobench.
check_iotest_arguments
(conf)[source]¶ Checks the arguments passed in the config file
-
sdpbenchmarks.imagingiobench.
compile_imaging_iotest
(conf)[source]¶ Compiles Imaging IO test by cloning the code from Git
- Parameters
conf (dict) – A dict containing configuration.
- Returns
0 OK, 1 Not OK
- Return type
- Raises
ImagingIOTestError – An error occurred during compiling of the code
-
sdpbenchmarks.imagingiobench.
create_bench_conf
(tag, run_mode, num_nodes, rep, rec_set, vis_set, chunk_sizes)[source]¶ Creates a dict containing the parameters for a given run
- Parameters
- Returns
A dict containing all the parameters
- Return type
-
sdpbenchmarks.imagingiobench.
extract_metrics
(filename, mpi_startup)[source]¶ Extract data transfer metrics from benchmark output
-
sdpbenchmarks.imagingiobench.
get_command_to_execute_bench
(conf, param)[source]¶ This function forms the command string to be executed
-
sdpbenchmarks.imagingiobench.
get_mpi_args
(conf, num_nodes, num_omp_threads, num_processes)[source]¶ Extract all MPI specific arguments and form a string
-
sdpbenchmarks.imagingiobench.
get_num_processes
(conf, rec_set, num_nodes)[source]¶ Estimates producers, streamers OpenMP threads.
- Parameters
- Returns
total cpu cores (only physical) on all nodes combined, threads per each core, number of OpenMP threads, number of producers, number of MPI processes
- Return type
-
sdpbenchmarks.imagingiobench.
get_telescope_config_settings
(param)[source]¶ This function returns the telescope related configurations
-
sdpbenchmarks.imagingiobench.
prepare_iotest
(conf)[source]¶ Prepare IO Imaging Benchmark installation.
-
sdpbenchmarks.imagingiobench.
print_key_stats
(run_prefix, metrics)[source]¶ This prints the key metrics to stdout