ClusterShell is an event-driven open source Python framework, designed to run
local or distant commands in parallel on server farms or on large Linux
clusters. It will take care of common issues encountered on HPC clusters, such
as operating on groups of nodes, running distributed commands using optimized
execution algorithms, as well as gathering results and merging identical
outputs, or retrieving return codes. ClusterShell takes advantage of existing
remote shell facilities already installed on your systems, like SSH.
ClusterShell provides clush, clubak and cluset/nodeset, convenient command-line
tools that allow traditional shell scripts to benefit from some of the
library's features:
- **clush**: issue commands to cluster nodes and format output
Example of use:
::
$ clush -abL uname -r
node[32-49,51-71,80,82-150,156-159]: 2.6.18-164.11.1.el5
node[3-7,72-79]: 2.6.18-164.11.1.el5_lustre1.10.0.36
node[2,151-155]: 2.6.31.6-145.fc11.2.x86_64
See *man clush* for more details.
- **clubak**: improved dshbak to gather and sort dsh-like outputs
See *man clubak* for more details.
- **nodeset** (or **cluset**): compute advanced nodeset/nodegroup operations
Examples of use:
::
$ echo node160 node161 node162 node163 | nodeset -f
node[160-163]
$ nodeset -f node[0-7,32-159] node[160-163]
node[0-7,32-163]
$ nodeset -e node[160-163]
node160 node161 node162 node163
$ nodeset -f node[32-159] -x node33
node[32,34-159]
$ nodeset -f node[32-159] -i node[0-7,20-21,32,156-159]
node[32,156-159]
$ nodeset -f node[33-159] --xor node[32-33,156-159]
node[32,34-155]
$ nodeset -l
@oss
@mds
@io
@compute
$ nodeset -e @mds
node6 node7
See *man nodeset* (or *man cluset*) for more details.
Please visit the ClusterShell website_.
.. _website: http://cea-hpc.github.io/clustershell/
Raw data
{
"_id": null,
"home_page": "https://clustershell.readthedocs.io/",
"name": "ClusterShell",
"maintainer": null,
"docs_url": "https://pythonhosted.org/ClusterShell/",
"requires_python": null,
"maintainer_email": null,
"keywords": "clustershell, clush, clubak, nodeset",
"author": "Stephane Thiell",
"author_email": "sthiell@stanford.edu",
"download_url": "https://files.pythonhosted.org/packages/43/2d/82184133cef577e6369f98370a0c3a3bb5bb911a3dbe799235260af83963/ClusterShell-1.9.3.tar.gz",
"platform": "GNU/Linux",
"description": "ClusterShell is an event-driven open source Python framework, designed to run\n local or distant commands in parallel on server farms or on large Linux\n clusters. It will take care of common issues encountered on HPC clusters, such\n as operating on groups of nodes, running distributed commands using optimized\n execution algorithms, as well as gathering results and merging identical\n outputs, or retrieving return codes. ClusterShell takes advantage of existing\n remote shell facilities already installed on your systems, like SSH.\n \n ClusterShell provides clush, clubak and cluset/nodeset, convenient command-line\n tools that allow traditional shell scripts to benefit from some of the\n library's features:\n \n - **clush**: issue commands to cluster nodes and format output\n \n Example of use:\n \n ::\n \n $ clush -abL uname -r\n node[32-49,51-71,80,82-150,156-159]: 2.6.18-164.11.1.el5\n node[3-7,72-79]: 2.6.18-164.11.1.el5_lustre1.10.0.36\n node[2,151-155]: 2.6.31.6-145.fc11.2.x86_64\n \n See *man clush* for more details.\n \n - **clubak**: improved dshbak to gather and sort dsh-like outputs\n \n See *man clubak* for more details.\n \n - **nodeset** (or **cluset**): compute advanced nodeset/nodegroup operations\n \n Examples of use:\n \n ::\n \n $ echo node160 node161 node162 node163 | nodeset -f\n node[160-163]\n \n $ nodeset -f node[0-7,32-159] node[160-163]\n node[0-7,32-163]\n \n $ nodeset -e node[160-163]\n node160 node161 node162 node163\n \n $ nodeset -f node[32-159] -x node33\n node[32,34-159]\n \n $ nodeset -f node[32-159] -i node[0-7,20-21,32,156-159]\n node[32,156-159]\n \n $ nodeset -f node[33-159] --xor node[32-33,156-159]\n node[32,34-155]\n \n $ nodeset -l\n @oss\n @mds\n @io\n @compute\n \n $ nodeset -e @mds\n node6 node7\n \n See *man nodeset* (or *man cluset*) for more details.\n \n Please visit the ClusterShell website_.\n \n .. _website: http://cea-hpc.github.io/clustershell/\n \n ",
"bugtrack_url": null,
"license": "LGPLv2+",
"summary": "ClusterShell library and tools",
"version": "1.9.3",
"project_urls": {
"Download": "https://github.com/cea-hpc/clustershell/archive/refs/tags/v1.9.3.tar.gz",
"Homepage": "https://clustershell.readthedocs.io/"
},
"split_keywords": [
"clustershell",
" clush",
" clubak",
" nodeset"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "432d82184133cef577e6369f98370a0c3a3bb5bb911a3dbe799235260af83963",
"md5": "2831b438df1734e072854d56b15aa401",
"sha256": "e284c0e6b3fe0a0cd6be67df71dfbf6aa321188973db683a057f5637552fbc8c"
},
"downloads": -1,
"filename": "ClusterShell-1.9.3.tar.gz",
"has_sig": false,
"md5_digest": "2831b438df1734e072854d56b15aa401",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 417135,
"upload_time": "2025-01-25T01:59:33",
"upload_time_iso_8601": "2025-01-25T01:59:33.009970Z",
"url": "https://files.pythonhosted.org/packages/43/2d/82184133cef577e6369f98370a0c3a3bb5bb911a3dbe799235260af83963/ClusterShell-1.9.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-25 01:59:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cea-hpc",
"github_project": "clustershell",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "clustershell"
}