Set up monitoring

This file does pre-processing steps of the metric data collection

class monitormetrics.prepostmonitoring.setupmonitoring.SetUpMonitoring(config)[source]

Set up all the required steps to start monitoring

acquire_lock()[source]

Acquires lock by locking the created file

create_ipc_file()[source]

Create Inter process communicator (IPC) file. It will be used to signal the toolkit that main job has ended

create_lock_file()[source]

Creates a lock file

create_node_list()[source]

Create a list of node names

find_launcher_type()[source]

Find which launcher is used to launch MPI jobs

get_job_id()[source]

Find the workload manager and job ID. Exit if none found

prepare_dirs()[source]

Make directories to save the results

prepare_file_paths()[source]

Prepare file paths for different result files

release_lock()[source]

Release lock file

shutdown()[source]

Finish monitoring

start()[source]

Preprocessing steps of data collection