ahp_graph - Python Attributed Hierarchical Port Graph
AHP Graphs - https://arxiv.org/pdf/1802.06492.pdf
Requires Python3.9 at a minimum. There is a "noTyping" branch which works with older versions of Python (like 3.6)
Ubuntu apt packages:
apt install graphviz libgraphviz-dev
RHEL/CentOS yum packages:
yum install graphviz graphviz-devel
Python3 packages:
python3 -m pip install pygraphviz orjson
Useful Tips
- Assembly names are automatically prefixed to the expanded devices names when the graph is flattened
- Besides graph construction, the main features that ahp_graph provides are several outputs
SSTGraph.build()will immediately turn your graph into SST components and begin a simulationSSTGraph.write_json()will output the graph along with parameters in JSON formatDeviceGraph.write_dot()will output the graph in DOT format and optionally draw SVGs with them
- All output generated by ahp_graph goes into a folder called 'output'
- This is for the
SSTGraph.write_json()andDeviceGraph.write_dot()functions
- This is for the
- SST global parameters are set by adding things to the DeviceGraph attr field
- SST component parameters are set by adding things to the Device attr field
- You can still do normal SST Python things (examples below):
sst.setProgramOption()sst.setStatisticLoadLevel()sst.setStatisticOutput()
SSTGraph.build()returns a dictionary of devices with their name as the key- You can use this to enable statistics for devices after they are created
- If you plan to build the graph with ahp_graph partitioning and run with MPI, remember to include the
--parallel-load=SINGLEflag to sst--parallel-loadby default will work with multiple unique files- ahp_graph can generate the graph for each rank using a single file, so it needs the value 'SINGLE'
- By default sst grabs all command line parameters
- You can pass parameters to the python script by putting
--before your script parameters
- You can pass parameters to the python script by putting
Metadata
Release files for ahp-graph 2.0.4
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 |
|---|---|---|---|---|
| ahp_graph-2.0.4.tar.gz | 69.3 kB | Without provenance | Details for ahp_graph-2.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ahp_graph-2.0.4-py3-none-any.whl | Python 3 | none | any | Details for ahp_graph-2.0.4-py3-none-any.whl |
Total release size: 84.9 kB
Release files / ahp_graph-2.0.4.tar.gz
| Download URL | ahp_graph-2.0.4.tar.gz |
|---|---|
| Size | 69.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
657dd1731f9e25e4b2466261c543a385201d044bbc88ec206e8c21dc9cb1dd61
|
|
BLAKE2b-256 checksum How to use checksums |
e32ff3145c05c30a30c0759f67ed20ca2b067ab5adf2c46571f49d7da815627b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Release files / ahp_graph-2.0.4-py3-none-any.whl
| Download URL | ahp_graph-2.0.4-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58a35e3dda746c2184d201c0cd9175581fe9e7385b3a8f1a154e6e6f45dfeacf
|
|
BLAKE2b-256 checksum How to use checksums |
a8aa822a9dff2c852ec72f5d342772f40d036c3307aa912a1148acd4561c4de9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|
Security for ahp-graph 2.0.4
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.