Clusterscope is a CLI and python library to extract information from HPC Clusters.
Check out our Website for Getting Started and Documentation.
$ pip install clusterscope
You can use it as a python library:
$ python
>>> import clusterscope
>>> clusterscope.cluster()
'<your-cluster-name>'
You can also use it as a CLI:
$ cscope
Usage: cscope [OPTIONS] COMMAND [ARGS]...
Command-line tool to query Slurm cluster information.
Options:
--help Show this message and exit.
Commands:
aws Check if running on AWS and show NCCL settings.
check-gpu Check if a specific GPU type exists.
cpus Show CPU counts per node.
gpus Show GPU information.
info Show basic cluster information.
job-gen Generate job requirements for different job types.
mem Show memory information per node.
version Show the version of clusterscope.
Read our contributing guide to learn about our development process, how to propose bugfixes and feature requests, and how to build your changes.
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
clusterscope is actively maintained by Lucca Bertoncini, and Kalyan Saladi.
clusterscope is licensed under the MIT license.