Skip to main content

Recorder utility build upon the package 'recorder-viz'

Project description

Prerequisite

MPI implementation such as openmpi or MPICH

Install

Install from source

pip install -r requirements.txt
pip install .

Or Install from pip

pip install recorder-utils

Usage

recorder2csv /path/to/your_trace_folder/   /path/to/output.csv/

A csv trace file will be generated to the output file you specified

Test

Use the test file under test directory, the output will be in the data directory

Example

Under Recorder-util directory

python3 test/test_convert_text.py

API

RecorderReader:

  • GM : RecorderMetadata
  • funcs : string[], utf-8
  • records : *PyRecord[], range(): 0 - total_rank-1
  • LMs : LocalMetadata[], range(): 0 - total_rank-1

RecorderMetadata:

  • total_ranks : c_int
  • start_ts : c_double
  • time_resolution : c_double
  • ts_buffer_elements : c_int
  • ts_compression_algo : c_int

LocalMetadata:

  • total_records : c_size_t
  • num_files : int
  • filemap : set()
  • function_count : int[], share the index with Recorder.funcs

PyRecord:

  • tstart : c_double
  • tend : c_double
  • level : c_ubyte
  • func_id : c_ubyte
  • tid : c_int
  • arg_count : c_ubyte

args_to_strs : string[], utf-8

Intervals

Current intervals are taken from POSIX and MPIIO layers. They are stored in the dataframe that return by the function build_offset_intervals. The intervals contain I/O records and corresponding file_id, rank, function, offset, size, start time, and end time.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recorder-utils-0.4.0.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recorder_utils-0.4.0-cp310-cp310-manylinux1_x86_64.whl (53.1 kB view details)

Uploaded CPython 3.10

File details

Details for the file recorder-utils-0.4.0.tar.gz.

File metadata

  • Download URL: recorder-utils-0.4.0.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for recorder-utils-0.4.0.tar.gz
Algorithm Hash digest
SHA256 080ce560e247f4876af2f07f21a2ef60741dd0713a9998c69d61202bb40f2f70
MD5 aa85dd87ec6d77389c9ecd31f2c048e1
BLAKE2b-256 ed9204e4e6648eedb994eb5c1808b53f80cbf579fe31ad2c1fcbf40ae2051c9c

See more details on using hashes here.

File details

Details for the file recorder_utils-0.4.0-cp310-cp310-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for recorder_utils-0.4.0-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ccb5b58271740cbf7bcf099c7f23848b435fca33b7c6a0e4d1c06d35555c0823
MD5 01b49dd6b860176653fa2ee458dd54ad
BLAKE2b-256 0ac781dc8afddc30df1c200744653c1d2ba8a1c92927fac58499935d75612d07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page