Starts an interactive session on a compute node via Slurm.
Project description
SlurmSession
Starts an interactive session on a compute node via Slurm.
Can't remember the exact command plus various arguments when all you want is an
interactive shell on a compute node? Just run slurmsession, or sls for
short, and this application will prompt you for the options in the terminal.
Enter the compute resources, such as number of CPU cores and memory per core,
or quickly press Enter to accept the defaults, which you can
configure as needed.
Installation
❯ uv tool install SlurmSession
This assumes you have installed the UV Python package manager. Alternatively, you could use PipX or even the standard Python package manager Pip.
❯ pip install pipx
❯ pipx install SlurmSession
UV and PipX both isolate the dependencies of this application, so that they
will not pollute your current Python environment. The commands slurmsession
and sls will be available in the shell no matter the Python environment.
Usage
Type sls or slurmsession to start the application, follow the prompts,
and either accept the default value by just pressing Enter or enter
the custom value you want instead. The remote shell session will then be
started via Slurm on the compute node(s). Type exit when done to return to
the log-in node. Run sls --help to see the location of the configuration
file, which you can edit to customize the defaults.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file slurmsession-1.0.0-py3-none-any.whl.
File metadata
- Download URL: slurmsession-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34637cd7e4f1bab254eecc2e24bdc8060333dd5b06af4b974f21c4551f84e179
|
|
| MD5 |
e3616bd0b26f5af3f99903a6d6320727
|
|
| BLAKE2b-256 |
5639f45dc2b809ff314831cb4d6210004321993cbb4b6c30d2b9702d82d27316
|
Provenance
The following attestation bundles were made for slurmsession-1.0.0-py3-none-any.whl:
Publisher:
publish_release.yml on john-hen/SlurmSession
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
slurmsession-1.0.0-py3-none-any.whl -
Subject digest:
34637cd7e4f1bab254eecc2e24bdc8060333dd5b06af4b974f21c4551f84e179 - Sigstore transparency entry: 169430847
- Sigstore integration time:
-
Permalink:
john-hen/SlurmSession@9df68194d6778d2f6ffba994e92c138fecf82538 -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/john-hen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_release.yml@9df68194d6778d2f6ffba994e92c138fecf82538 -
Trigger Event:
workflow_dispatch
-
Statement type: