Python tools to interact with darshan log records of HPC applications.
Project description
Python utilities to interact with Darshan log records of HPC applications. pydarshan requires darshan-utils (3.2.2+) to be installed.
Features
Darshan Report Object Wrapper
CFFI bindings to access darshan log files
Plots typically found in the darshan reports (matplotlib)
Auto-discover darshan-util.so (via darshan-parser in $PATH)
Usage
For examples and Jupyter notebooks to get started with pydarshan make sure to check out the examples subdirectory.
A brief examples showing some of the basic functionality is the following:
import darshan # Open darshan log report = darshan.DarshanReport('example.darshan') # Load some report data report.mod_read_all_records('POSIX') report.mod_read_all_records('MPI-IO') # or fetch all report.read_all_generic_records() # ... # Generate summaries for currently loaded data # Note: aggregations are still experimental and have to be activated: darshan.enable_experimental() report.summarize()
Installation
To install in most cases the following will work:
pip install darshan
For alternative installation instructions and installation from source refer to <docs/install.rst>
Testing
Targets for various tests are included in the makefile. To run the normal test suite use:
make test
Or to test against different version of Python using Tox:
make test-all
Coverage tests can be performed using:
make coverage
Conformance to PEPs can be tested using flake8 via:
make lint
Documentation
Documentation for the python bindings is generated seperatedly from the darshan-utils C library in the interest of using Sphinx. After installing the developement requirements using pip install -r requirements_dev.txt the documentation can be build using make as follows:
pip install -r requirements_dev.txt make docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for darshan-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb63a3b4622d779d98e072e22f5e2005c72f2a27d1788573a4fa986e6ce606db |
|
MD5 | db5eeb82f7a1706b8b189c4366e4f601 |
|
BLAKE2b-256 | ae1542b656cd3cea6381fdd0c57a7fbcb5aec5859e8c2e9a5a64a6af1d240f3e |
Hashes for darshan-0.0.5-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8ed674caf363cf3b828c6f97605a02cba98b8a1f5a6101862b417c8bcd94cc1 |
|
MD5 | 038c24f3655841781930d78ed37aacc9 |
|
BLAKE2b-256 | 69b749b3d37fae5ce3fa922d3f2d68912f2892cbc363ca7f06d74fa56d3cae3f |
Hashes for darshan-0.0.5-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1531a99a4f4034a1b515e324b2124d3f3a798018d47282c478099d83216ebc7 |
|
MD5 | 9ccca8c195a07901d0d6aa444156c994 |
|
BLAKE2b-256 | dbf339b6fbddaf22f51a6cd5edb5ab85c8d526086e81d805f7347c21c3806bf2 |
Hashes for darshan-0.0.5-cp39-cp39-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25b2f594a93d6a6ba5f4e391e3c69117ae43dbee0b10bcffeeb93e65297e891b |
|
MD5 | f5664fd68129578f9e5c8ee2c4993868 |
|
BLAKE2b-256 | 8b8b8c1d4b19aa85df1bae7c02eaee95e4590c8c2d76a014a6d6c9e81e3a8ce6 |
Hashes for darshan-0.0.5-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3752df0cd3dc6ccc301599ef7de29d085ef4466c0124bcf774ffea69f2f20178 |
|
MD5 | 8cbeff69bfc43ff63a4d6e5a7cc9619d |
|
BLAKE2b-256 | 47970ba46a20d62b891316cab40f3ea6fb0544bf34ec08fe3751fc0e5585f4be |
Hashes for darshan-0.0.5-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32e051e6a23ea460a7652df1c9991bf2ca4c74ea84362edc1def04a91dfe55fb |
|
MD5 | 132983951f518bb113faaf8a2c464fb6 |
|
BLAKE2b-256 | 2fd72a769246011acca4729900d8ae1438704721230b05fbae1c41eb59fa424b |
Hashes for darshan-0.0.5-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1971151f73bdd04bef7d2fb7d61b33ab6e0edff1ac18c45c2ea3bba3cdf9ef23 |
|
MD5 | 52fb824074ebdfef87addc5772b4fcc6 |
|
BLAKE2b-256 | 74a8ad46b0d0c122823ae5819a78251115fc93bcac941aa88c1cee21697f72db |
Hashes for darshan-0.0.5-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca031169d47e1408c811eec210969408244a9f9ff0d4f6b8e8580c31065eb247 |
|
MD5 | e4719c012919ad9f3fdf43e9af375d57 |
|
BLAKE2b-256 | 0e21ead58b25ef2d4abfba12cf838dc8c97a30587a78a6cb2ea5b27d55bb5803 |
Hashes for darshan-0.0.5-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d0e9157c69fd193d76d60bfd993a0f7c118742c9704da99c0478ef8201cb858 |
|
MD5 | 22f39de5a6429758cde39e1b5626e52f |
|
BLAKE2b-256 | 72042d6c4e05ff24eda03f44864e15b6acc3b96ccb62ac049947439424893a4d |
Hashes for darshan-0.0.5-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd56aba6557748430db0edf606df29aca3a12e4df1298c80f16bb1a1e0c66a93 |
|
MD5 | 371716e9a297474599b6d4d06c0a936c |
|
BLAKE2b-256 | 01d491b27cf2227437eb5b904cbae958ef86fa6d1436174ec90a11186e0f9d25 |
Hashes for darshan-0.0.5-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 842efdfd0ffcf7647de76e597bfd2bbd98952429a6b9d222e5f67b07f7943d89 |
|
MD5 | bd77fd2a5761e092f1b5d9eceefe7f21 |
|
BLAKE2b-256 | 92ab5f734193ee2ecf5f28c6cf6133c75ae8c5a7da01115495144d1a8218534c |
Hashes for darshan-0.0.5-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4993933cb628c0f4957ecc009d559fe60f41fdb19f39fc313d20bdd2d1cdda03 |
|
MD5 | fcb49ed130d94ededab720c59f01f8c2 |
|
BLAKE2b-256 | 9e6f0bfc915c80209416e308c2f97cb14cb0aadda02fea15c8f5ccee397ed4bc |
Hashes for darshan-0.0.5-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4948f0836146e571f3539c27b1a123c79ef75dc3a1109c90a9fa8822e052725d |
|
MD5 | 70314d7fe336c8f203c14413d5ead36e |
|
BLAKE2b-256 | af15a36dc3d60dbaa832b88a15bb05a3022a20d18624a87a5ce9bd9068068fcd |