archspec

A library for detecting, labeling, and reasoning about microarchitectures

https://github.com/archspec/archspec

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 11 committers (18.2%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.9%) to scientific vocabulary

Keywords

archspec microarchitectures python

Keywords from Contributors

radiuss build-tools hpsf spack unit-test genome
Last synced: 6 months ago · JSON representation ·

Repository

A library for detecting, labeling, and reasoning about microarchitectures

Basic Info
Statistics
  • Stars: 121
  • Watchers: 9
  • Forks: 31
  • Open Issues: 16
  • Releases: 11
Topics
archspec microarchitectures python
Created over 6 years ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.md

Archspec (Python bindings)

CI CodeCov Documentation Status

Archspec aims at providing a standard set of human-understandable labels for various aspects of a system architecture like CPU, network fabrics, etc. and APIs to detect, query and compare them.

This project grew out of Spack and is currently under active development. At present it supports APIs to detect and model compatibility relationships among different CPU microarchitectures.

Getting started with development

The archspec Python package needs poetry to be installed from VCS sources. The preferred method to install it is via its custom installer outside of any virtual environment:

console curl -sSL https://install.python-poetry.org | python3 -

You can refer to Poetry's documentation for further details or for other methods to install this tool. You'll also need tox to run unit test:

console pip install --user tox

Finally, you'll need to clone the repository:

console git clone --recursive https://github.com/archspec/archspec.git

Running unit tests

Once you have your environment ready you can run archspec unit tests using tox from the root of the repository:

console $ tox [ ... ] py27: commands succeeded py35: commands succeeded py36: commands succeeded py37: commands succeeded py38: commands succeeded pylint: commands succeeded flake8: commands succeeded black: commands succeeded congratulations :)

Citing Archspec

If you are referencing archspec in a publication, please cite the following paper:

License

Archspec is distributed under the terms of both the MIT license and the Apache License (Version 2.0). Users may choose either license, at their option.

All new contributions must be made under both the MIT and Apache-2.0 licenses.

See LICENSE-MIT, LICENSE-APACHE, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (Apache-2.0 OR MIT)

LLNL-CODE-811653

Owner

  • Name: archspec
  • Login: archspec
  • Kind: organization

Citation (CITATION.cff)

# Here's the raw citation:
#
# M. Culpo, G. Becker, C. E. A. Gutierrez, K. Hoste and T. Gamblin,
# "archspec: A library for detecting, labeling, and reasoning about microarchitectures,"
# 2020 2nd International Workshop on Containers and New Orchestration Paradigms for
# Isolated Environments in HPC (CANOPIE-HPC), 2020, pp. 45-52,
# doi: 10.1109/CANOPIEHPC51917.2020.00011.
#
cff-version: 1.2.0
message: "If you are referencing archspec in a publication, please cite the paper below."
preferred-citation:
  type: conference-paper
  doi: "10.1109/CANOPIEHPC51917.2020.00011"
  url: "https://github.com/archspec/archspec"
  authors:
  - family-names: "Culpo"
    given-names: "Massimiliano"
  - family-names: "Becker"
    given-names: "Gregory"
  - family-names: "Arango Gutierrez"
    given-names: "Carlos Eduardo"
  - family-names: "Hoste"
    given-names: "Kenneth"
  - family-names: "Gamblin"
    given-names: "Todd"
  title: "archspec: A library for detecting, labeling, and reasoning about microarchitectures"
  conference:
    name: "2nd International Workshop on Containers and New Orchestration Paradigms for Isolated Environments in HPC (CANOPIE-HPC)"
    country: "USA"
  month: November 12
  year: 2020

GitHub Events

Total
  • Create event: 11
  • Issues event: 3
  • Watch event: 14
  • Delete event: 9
  • Member event: 1
  • Issue comment event: 31
  • Push event: 14
  • Pull request review comment event: 2
  • Pull request review event: 8
  • Pull request event: 20
  • Fork event: 7
Last Year
  • Create event: 11
  • Issues event: 3
  • Watch event: 14
  • Delete event: 9
  • Member event: 1
  • Issue comment event: 31
  • Push event: 14
  • Pull request review comment event: 2
  • Pull request review event: 8
  • Pull request event: 20
  • Fork event: 7

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 84
  • Total Committers: 11
  • Avg Commits per committer: 7.636
  • Development Distribution Score (DDS): 0.214
Past Year
  • Commits: 28
  • Committers: 5
  • Avg Commits per committer: 5.6
  • Development Distribution Score (DDS): 0.286
Top Committers
Name Email Commits
Massimiliano Culpo m****o@g****m 66
dependabot[bot] 4****]@u****m 5
Kenneth Hoste k****e@u****e 4
Todd Gamblin t****n@l****v 2
Martin Larralde m****e@e****e 1
Kevin Pedretti k****e@u****m 1
Tom Scogland t****d@g****m 1
Pratik Raj R****1@g****m 1
Carlos Arango Gutierrez c****g@r****m 1
Kian-Meng Ang k****g@g****m 1
Sumana Harihareswara sh@c****c 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 38
  • Total pull requests: 157
  • Average time to close issues: 4 months
  • Average time to close pull requests: 26 days
  • Total issue authors: 27
  • Total pull request authors: 21
  • Average comments per issue: 2.82
  • Average comments per pull request: 2.06
  • Merged pull requests: 129
  • Bot issues: 0
  • Bot pull requests: 29
Past Year
  • Issues: 3
  • Pull requests: 31
  • Average time to close issues: N/A
  • Average time to close pull requests: 4 days
  • Issue authors: 3
  • Pull request authors: 4
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.1
  • Merged pull requests: 23
  • Bot issues: 0
  • Bot pull requests: 11
Top Authors
Issue Authors
  • isuruf (4)
  • alalazo (3)
  • boegel (2)
  • yurivict (2)
  • migueldiascosta (2)
  • surak (2)
  • vkarak (2)
  • adamjstewart (2)
  • nicholas-sly (1)
  • climbfuji (1)
  • willfurnass (1)
  • vchuravy (1)
  • brainwane (1)
  • althonos (1)
  • trz42 (1)
Pull Request Authors
  • alalazo (118)
  • dependabot[bot] (46)
  • paolotricerri (6)
  • haampie (5)
  • isuruf (4)
  • ArangoGutierrez (3)
  • boegel (3)
  • markus-ferrell (2)
  • tgamblin (2)
  • becker33 (2)
  • linsword13 (2)
  • climbfuji (1)
  • michaelkuhn (1)
  • kianmeng (1)
  • migueldiascosta (1)
Top Labels
Issue Labels
enhancement (14) question (5) documentation (1) bug (1) dependencies (1) python (1)
Pull Request Labels
dependencies (46) enhancement (45) python (32) github_actions (8) bug (7) documentation (2)

Packages

  • Total packages: 4
  • Total downloads:
    • pypi 281,782 last-month
  • Total docker downloads: 33,744
  • Total dependent packages: 14
    (may contain duplicates)
  • Total dependent repositories: 45
    (may contain duplicates)
  • Total versions: 30
  • Total maintainers: 3
pypi.org: archspec

A library to query system architecture

  • Versions: 11
  • Dependent Packages: 8
  • Dependent Repositories: 43
  • Downloads: 281,782 Last month
  • Docker Downloads: 33,744
Rankings
Dependent packages count: 1.4%
Downloads: 1.9%
Dependent repos count: 2.2%
Docker downloads count: 3.2%
Average: 4.1%
Stargazers count: 7.7%
Forks count: 8.1%
Maintainers (3)
Last synced: 6 months ago
proxy.golang.org: github.com/archspec/archspec
  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 7.0%
Average: 8.2%
Dependent repos count: 9.3%
Last synced: 6 months ago
conda-forge.org: archspec
  • Versions: 4
  • Dependent Packages: 5
  • Dependent Repositories: 1
Rankings
Dependent packages count: 10.4%
Dependent repos count: 24.4%
Average: 27.0%
Stargazers count: 35.7%
Forks count: 37.4%
Last synced: 6 months ago
anaconda.org: archspec

A library to query system architecture

  • Versions: 4
  • Dependent Packages: 1
  • Dependent Repositories: 1
Rankings
Stargazers count: 44.5%
Forks count: 47.1%
Average: 48.6%
Dependent packages count: 51.2%
Dependent repos count: 51.4%
Last synced: 6 months ago

Dependencies

docs/requirements.txt pypi
  • archspec *
  • sphinx *
  • sphinx_rtd_theme *
pyproject.toml pypi
  • black --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "==21.12b0" python: "^3.8" develop
  • coverage ^5.3 develop
  • flake8 --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "^4" python: "^3.7" develop
  • jsonschema ^3.2.0 develop
  • more_itertools --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "~5" python: "==2.7" develop
  • pylint --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "^2" python: "^3.7" develop
  • pyrsistent --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "~0.16" python: "==2.7" develop
  • pytest --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "^6" python: "^3.6" - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "~5" python: "==3.5" - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "~3" python: "==2.7" develop
  • pytest-cov ^2.8.1 develop
  • scandir --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "~1" python: "==2.7" develop
  • sphinx --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "^4" python: "^3.7" develop
  • sphinx_rtd_theme --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "^1" python: "^3.7" develop
  • click --- - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "^8" python: "^3.6" - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "^7" python: "==3.5" - !ruby/hash:ActiveSupport::HashWithIndifferentAccess version: "^7" python: "==2.7"
  • python ==2.7 || ^3.5
  • six ^1.13.0
.github/workflows/codeql-analysis.yml actions
  • actions/checkout v3 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init v2 composite
.github/workflows/unit_tests.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3 composite
Dockerfile docker
  • registry.access.redhat.com/ubi8/python-38 latest build