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.
Metadata
Release files for recorder-utils 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| recorder-utils-0.5.0.tar.gz | 29.3 kB | Without provenance | Details for recorder-utils-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| recorder_utils-0.5.0-cp310-cp310-manylinux1_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.5+ x86-64 | Details for recorder_utils-0.5.0-cp310-cp310-manylinux1_x86_64.whl |
Total release size: 82.7 kB
Release files / recorder-utils-0.5.0.tar.gz
| Download URL | recorder-utils-0.5.0.tar.gz |
|---|---|
| Size | 29.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d625d59f42e16bf8ca9b661e2ec1fcf9c2d9a0f0f0efd42609aef058af0ce55
|
|
BLAKE2b-256 checksum How to use checksums |
f332f7c8f2156d4a8169c867a00e920961fbae774f5b1281b30e9ab1bbdaff65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / recorder_utils-0.5.0-cp310-cp310-manylinux1_x86_64.whl
| Download URL | recorder_utils-0.5.0-cp310-cp310-manylinux1_x86_64.whl |
|---|---|
| Size | 53.4 kB |
| Tags | CPython 3.10 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
4f16f6f695778efa41e38a2c4556079f63860bbcbb86aa41035caddacdf51d6b
|
|
BLAKE2b-256 checksum How to use checksums |
8d99daf0e05d8aee8ba98932cc68dd725c696af260807a7072784a5ff018caa7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for recorder-utils 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.