hypershell 2.8.6__tar.gz → 2.8.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hypershell-2.8.6 → hypershell-2.8.7}/PKG-INFO +2 -2
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/client_help.rst +12 -2
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/cluster_help.rst +20 -5
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_param_ref.rst +16 -7
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/server_help.rst +10 -3
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/submit_help.rst +11 -4
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/logging.rst +6 -5
- {hypershell-2.8.6 → hypershell-2.8.7}/pyproject.toml +2 -2
- {hypershell-2.8.6 → hypershell-2.8.7}/share/man/man1/hs.1 +70 -22
- {hypershell-2.8.6 → hypershell-2.8.7}/share/man/man1/hsx.1 +70 -22
- {hypershell-2.8.6 → hypershell-2.8.7}/share/man/man1/hyper-shell.1 +70 -22
- {hypershell-2.8.6 → hypershell-2.8.7}/share/zsh/site-functions/_hs +2 -2
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/client.py +8 -8
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/cluster/__init__.py +7 -7
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/config.py +6 -1
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/config.py +79 -1
- hypershell-2.8.7/src/hypershell/core/types.py +147 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/data/model.py +20 -2
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/server.py +8 -6
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/submit.py +8 -6
- hypershell-2.8.7/tests/test_auth_variants.py +408 -0
- hypershell-2.8.7/tests/test_size_duration.py +364 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/uv.lock +5 -5
- hypershell-2.8.6/src/hypershell/core/types.py +0 -118
- {hypershell-2.8.6 → hypershell-2.8.7}/.gitignore +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/CODE_OF_CONDUCT.md +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/LICENSE +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/README.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/Makefile +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/citation.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/client_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/client_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/cluster_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/cluster_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_edit_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_edit_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_edit_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_get_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_get_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_get_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_intro.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_intro_alt.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_pythonpath.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_set_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_set_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_set_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_site_vars.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_task_env.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_task_env_alt.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_which_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_which_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/config_which_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/database.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/database_alt.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/exit_status.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/initdb_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/initdb_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/initdb_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/license.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/security_alt.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/server_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/server_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/signals.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/submit_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/submit_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_groups_alt.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_info_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_info_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_info_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_run_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_run_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_run_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_search_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_search_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_search_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_submit_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_submit_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_submit_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_update_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_update_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_update_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_wait_desc.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_wait_help.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/task_wait_usage.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/templates.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/templates_alt.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_include/tls_cli_options.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_static/custom.css +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_static/logo-dark-mode.png +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/_static/logo-light-mode.png +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/api/client.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/api/cluster.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/api/data.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/api/index.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/api/server.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/api/submit.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20230329_2_2_0_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20230413_2_3_0_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20230602_2_4_0_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20240518_2_5_0_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20240706_2_5_2_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20241115_2_6_0_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20241115_announce_logo.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20241231_2_6_1_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20250215_2_6_5_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20250405_2_6_6_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20250504_2_7_0_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/20260705_2_8_0_release.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/blog/index.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/client.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/cluster.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/config.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/config_edit.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/config_get.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/config_set.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/config_which.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/index.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/initdb.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/server.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/submit.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/task_info.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/task_run.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/task_search.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/task_submit.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/task_update.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/cli/task_wait.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/conf.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/config.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/database.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/getting_started.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/index.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/install.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/manual.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/roadmap.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/security.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/templates.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/tutorial/advanced.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/tutorial/basic.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/tutorial/distributed.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/docs/tutorial/hybrid.rst +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/share/bash_completion.d/hs +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/share/bash_completion.d/hsx +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/__init__.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/cluster/launch.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/cluster/local.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/cluster/remote.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/cluster/ssh.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/__init__.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/exceptions.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/fsm.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/heartbeat.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/logging.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/platform.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/pretty_print.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/queue.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/remote.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/resource.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/signal.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/sys.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/tag.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/template.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/thread.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/tls.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/core/uuid.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/data/__init__.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/data/core.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/src/hypershell/task.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/__init__.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/conftest.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_autoscale.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_cancel.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_cluster.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_cluster_launch.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_data/__init__.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_data/test_core.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_data/test_model.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_group_order.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_groups.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_heartmonitor.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_initdb.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_logging.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_main.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_queue_address_family.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_queue_nodelay.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_queue_tls.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_retry_gate.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_server.py +0 -0
- {hypershell-2.8.6 → hypershell-2.8.7}/tests/test_submit.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: hypershell
|
|
3
|
-
Version: 2.8.
|
|
3
|
+
Version: 2.8.7
|
|
4
4
|
Summary: A cross-platform, high-throughput computing utility for processing shell commands over a distributed, asynchronous queue.
|
|
5
5
|
Project-URL: Homepage, https://hypershell.org
|
|
6
6
|
Project-URL: Documentation, https://hypershell.readthedocs.io
|
|
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.14
|
|
22
22
|
Classifier: Topic :: Utilities
|
|
23
23
|
Requires-Python: >=3.11
|
|
24
|
-
Requires-Dist: cmdkit[toml]>=2.
|
|
24
|
+
Requires-Dist: cmdkit[toml]>=2.8.0
|
|
25
25
|
Requires-Dist: cryptography>=3.4
|
|
26
26
|
Requires-Dist: paramiko>=3.4.0
|
|
27
27
|
Requires-Dist: psutil>=7.0.0
|
|
@@ -91,6 +91,10 @@ Options
|
|
|
91
91
|
The timeout counts from when the client starts, after any ``--delay-start``, so the delay
|
|
92
92
|
does not count toward it.
|
|
93
93
|
|
|
94
|
+
Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
|
|
95
|
+
fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
|
|
96
|
+
``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
|
|
97
|
+
|
|
94
98
|
|
|
95
99
|
``-W``, ``--task-timeout`` *SEC*
|
|
96
100
|
Task-level walltime limit (default: none).
|
|
@@ -98,6 +102,10 @@ Options
|
|
|
98
102
|
Executors will send a progression of SIGINT, SIGTERM, and SIGKILL.
|
|
99
103
|
If the process still persists the executor itself will shutdown.
|
|
100
104
|
|
|
105
|
+
Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
|
|
106
|
+
fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
|
|
107
|
+
``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
|
|
108
|
+
|
|
101
109
|
``-C``, ``--client-cores`` *NUM*
|
|
102
110
|
Limit available cores for client (default: all cores).
|
|
103
111
|
|
|
@@ -111,8 +119,10 @@ Options
|
|
|
111
119
|
Limit available memory for client (default: all memory).
|
|
112
120
|
|
|
113
121
|
Sets an upper bound on the amount of memory that the client can use.
|
|
114
|
-
Specify memory size with
|
|
115
|
-
|
|
122
|
+
Specify memory size in bytes or with a unit ``K``, ``M``, ``G`` or ``T``, alone or followed
|
|
123
|
+
by ``B`` or ``iB``, in any case (e.g., '16G', '4096MB'). Each unit is a power of 1024, so
|
|
124
|
+
``16G``, ``16GB`` and ``16GiB`` are the same size. This allows running multiple clients on
|
|
125
|
+
the same node by partitioning resources.
|
|
116
126
|
|
|
117
127
|
``--monitor``
|
|
118
128
|
Enable resource monitoring for tasks.
|
|
@@ -214,12 +214,22 @@ Options
|
|
|
214
214
|
|
|
215
215
|
This feature allows for gracefully scaling down a cluster when task throughput subsides.
|
|
216
216
|
|
|
217
|
+
Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
|
|
218
|
+
fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
|
|
219
|
+
``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
|
|
220
|
+
|
|
217
221
|
``-W``, ``--task-timeout`` *SEC*
|
|
218
222
|
Task-level walltime limit (default: none).
|
|
219
223
|
|
|
220
224
|
Executors will send a progression of SIGINT, SIGTERM, and SIGKILL.
|
|
221
225
|
If the process still persists the executor itself will shutdown.
|
|
222
226
|
|
|
227
|
+
Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
|
|
228
|
+
fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
|
|
229
|
+
``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
|
|
230
|
+
Individual tasks can override this with inline comments, which take the same forms (e.g.,
|
|
231
|
+
``#HYPERSHELL: timeout:1:30:00``).
|
|
232
|
+
|
|
223
233
|
``-c``, ``--cores`` *NUM*
|
|
224
234
|
Number of CPU cores required per task (default: none).
|
|
225
235
|
|
|
@@ -229,9 +239,12 @@ Options
|
|
|
229
239
|
``-m``, ``--memory`` *MEM*
|
|
230
240
|
Amount of memory required per task (default: none).
|
|
231
241
|
|
|
232
|
-
Specify memory size with
|
|
233
|
-
|
|
234
|
-
|
|
242
|
+
Specify memory size in bytes or with a unit ``K``, ``M``, ``G`` or ``T``, alone or followed
|
|
243
|
+
by ``B`` or ``iB``, in any case (e.g., '4GB', '512M'). Each unit is a power of 1024, so
|
|
244
|
+
``16G``, ``16GB`` and ``16GiB`` are the same size. Individual tasks can override this with
|
|
245
|
+
inline comments, which take the same forms (e.g., ``#HYPERSHELL: memory:8G``). Tasks will
|
|
246
|
+
only be executed when the required memory is available. Used with resource-aware scheduling
|
|
247
|
+
and backfill.
|
|
235
248
|
|
|
236
249
|
``-C``, ``--client-cores`` *NUM*
|
|
237
250
|
Limit available cores per client (default: all cores).
|
|
@@ -246,8 +259,10 @@ Options
|
|
|
246
259
|
Limit available memory per client (default: all memory).
|
|
247
260
|
|
|
248
261
|
Sets an upper bound on the amount of memory that each client can use.
|
|
249
|
-
Specify memory size with
|
|
250
|
-
|
|
262
|
+
Specify memory size in bytes or with a unit ``K``, ``M``, ``G`` or ``T``, alone or followed
|
|
263
|
+
by ``B`` or ``iB``, in any case (e.g., '16G', '4096MB'). Each unit is a power of 1024, so
|
|
264
|
+
``16G``, ``16GB`` and ``16GiB`` are the same size. This allows running multiple clients on
|
|
265
|
+
the same node by partitioning resources.
|
|
251
266
|
|
|
252
267
|
``--monitor``
|
|
253
268
|
Enable resource monitoring for tasks.
|
|
@@ -68,9 +68,10 @@
|
|
|
68
68
|
|
|
69
69
|
``.rotate``
|
|
70
70
|
Rotation policy (default: ``never``). Either a size threshold such as ``512MB``
|
|
71
|
-
(units ``
|
|
72
|
-
|
|
73
|
-
``
|
|
71
|
+
or ``2G`` (units ``K``/``M``/``G``/``T``, alone or followed by ``B`` or ``iB``,
|
|
72
|
+
powers of 1024; a bare number is bytes) or a cron expression such as ``@daily``,
|
|
73
|
+
``@midnight``, or ``0 1 * * 0`` (requires the ``croniter`` package). A cron
|
|
74
|
+
expression may begin with a digit. Sending ``SIGHUP`` rotates on demand.
|
|
74
75
|
|
|
75
76
|
``.compress``
|
|
76
77
|
Compression for rotated files (default: none). One of ``gzip``, ``bzip``,
|
|
@@ -327,6 +328,8 @@
|
|
|
327
328
|
Timeout in seconds for client. Automatically shutdown if no tasks received (default: never).
|
|
328
329
|
|
|
329
330
|
This feature allows for gracefully scaling down a cluster when task throughput subsides.
|
|
331
|
+
A string takes the same forms as ``-T``/``--timeout``: units ``d``, ``h``, ``m`` and
|
|
332
|
+
``s`` (e.g., ``"1h30m"``, ``"1.5h"``) or a Slurm time (e.g., ``"1:30:00"``, ``"1-12"``).
|
|
330
333
|
|
|
331
334
|
``.cores``
|
|
332
335
|
Client-level limit on CPU cores available for running tasks (default: all available).
|
|
@@ -340,7 +343,8 @@
|
|
|
340
343
|
Client-level limit on memory (in bytes) available for running tasks (default: all available).
|
|
341
344
|
|
|
342
345
|
A value of ``0`` means unconstrained. Set a lower value to partition a node's memory
|
|
343
|
-
between multiple clients.
|
|
346
|
+
between multiple clients. A string may carry a unit ``K``, ``M``, ``G`` or ``T``, alone
|
|
347
|
+
or followed by ``B`` or ``iB``, each a power of 1024 (e.g., ``"16G"``).
|
|
344
348
|
|
|
345
349
|
See also ``-M``/``--client-memory`` command-line option.
|
|
346
350
|
|
|
@@ -390,16 +394,21 @@
|
|
|
390
394
|
``.memory``
|
|
391
395
|
Default memory (in bytes) required per task (default: unconstrained).
|
|
392
396
|
|
|
393
|
-
A value of ``0`` means unconstrained.
|
|
394
|
-
|
|
397
|
+
A value of ``0`` means unconstrained. A string may carry a unit ``K``, ``M``, ``G`` or
|
|
398
|
+
``T``, alone or followed by ``B`` or ``iB``, each a power of 1024 (e.g., ``"16G"``). Used
|
|
399
|
+
with resource-aware scheduling and backfill; individual tasks may override this inline in
|
|
400
|
+
the same forms (e.g., ``# HYPERSHELL: memory:8G``).
|
|
395
401
|
|
|
396
402
|
See also ``-m``/``--memory`` command-line option.
|
|
397
403
|
|
|
398
404
|
``.timeout``
|
|
399
|
-
Task-level walltime limit (default: none).
|
|
405
|
+
Task-level walltime limit in seconds (default: none).
|
|
400
406
|
|
|
401
407
|
Executors will send a progression of SIGINT, SIGTERM, and SIGKILL.
|
|
402
408
|
If the process still persists the executor itself will shutdown.
|
|
409
|
+
A string takes the same forms as ``-W``: units ``d``, ``h``, ``m`` and ``s`` (e.g.,
|
|
410
|
+
``"1h30m"``, ``"1.5h"``) or a Slurm time (e.g., ``"1:30:00"``, ``"1-12"``); individual
|
|
411
|
+
tasks may override this inline in the same forms (e.g., ``# HYPERSHELL: timeout:1h30m``).
|
|
403
412
|
|
|
404
413
|
``.signalwait``
|
|
405
414
|
Wait period in seconds between signal escalation on task cancellation (default: 10).
|
|
@@ -85,8 +85,10 @@ Options
|
|
|
85
85
|
|
|
86
86
|
When an input *FILE* is provided, a `submit` thread is launched to read and submit tasks.
|
|
87
87
|
This option sets the default memory requirement for all submitted tasks.
|
|
88
|
-
Specify memory size with
|
|
89
|
-
|
|
88
|
+
Specify memory size in bytes or with a unit ``K``, ``M``, ``G`` or ``T``, alone or followed
|
|
89
|
+
by ``B`` or ``iB``, in any case (e.g., '4GB', '512M'). Each unit is a power of 1024, so
|
|
90
|
+
``16G``, ``16GB`` and ``16GiB`` are the same size. Individual tasks can override this with
|
|
91
|
+
inline comments, which take the same forms (e.g., ``#HYPERSHELL: memory:8G``).
|
|
90
92
|
|
|
91
93
|
See also ``--task-cores`` and ``--task-timeout``.
|
|
92
94
|
|
|
@@ -95,7 +97,12 @@ Options
|
|
|
95
97
|
|
|
96
98
|
When an input *FILE* is provided, a `submit` thread is launched to read and submit tasks.
|
|
97
99
|
This option sets the default timeout for all submitted tasks. Individual
|
|
98
|
-
tasks can override this with inline comments (e.g.,
|
|
100
|
+
tasks can override this with inline comments, which take the same forms (e.g.,
|
|
101
|
+
``#HYPERSHELL: timeout:3600`` or ``#HYPERSHELL: timeout:1:30:00``).
|
|
102
|
+
|
|
103
|
+
Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
|
|
104
|
+
fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
|
|
105
|
+
``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
|
|
99
106
|
|
|
100
107
|
See also ``--task-cores`` and ``--task-memory``.
|
|
101
108
|
|
|
@@ -71,15 +71,22 @@ Options
|
|
|
71
71
|
``-m``, ``--memory`` *MEM*
|
|
72
72
|
Amount of memory required per task (default: none).
|
|
73
73
|
|
|
74
|
-
Sets the default memory requirement for all submitted tasks. Specify memory size
|
|
75
|
-
|
|
76
|
-
(e.g.,
|
|
74
|
+
Sets the default memory requirement for all submitted tasks. Specify memory size in bytes
|
|
75
|
+
or with a unit ``K``, ``M``, ``G`` or ``T``, alone or followed by ``B`` or ``iB``, in any
|
|
76
|
+
case (e.g., '4GB', '512M'). Each unit is a power of 1024, so ``16G``, ``16GB`` and ``16GiB``
|
|
77
|
+
are the same size. Individual tasks can override this with inline comments, which take the
|
|
78
|
+
same forms (e.g., ``#HYPERSHELL: memory:8G``).
|
|
77
79
|
|
|
78
80
|
``-W``, ``--timeout`` *SEC*
|
|
79
81
|
Task-level walltime limit in seconds (default: none).
|
|
80
82
|
|
|
81
83
|
Sets the default timeout for all submitted tasks. Individual tasks can override this
|
|
82
|
-
with inline comments (e.g., ``#HYPERSHELL: timeout:3600``
|
|
84
|
+
with inline comments, which take the same forms (e.g., ``#HYPERSHELL: timeout:3600`` or
|
|
85
|
+
``#HYPERSHELL: timeout:1:30:00``).
|
|
86
|
+
|
|
87
|
+
Specify a number of seconds, units ``d``, ``h``, ``m`` and ``s`` in that order, whole or
|
|
88
|
+
fractional (e.g., ``90m``, ``1h30m``, ``1.5h``, ``1d12h``), or a Slurm time ``MM:SS``,
|
|
89
|
+
``HH:MM:SS``, ``D-HH``, ``D-HH:MM`` or ``D-HH:MM:SS`` (e.g., ``1:30:00``).
|
|
83
90
|
|
|
84
91
|
``-g``, ``--group`` *NUM*
|
|
85
92
|
Task group for dependency management (default: 0).
|
|
@@ -335,14 +335,15 @@ The ``rotate`` policy accepts three kinds of value:
|
|
|
335
335
|
No rotation (the default); the file grows indefinitely.
|
|
336
336
|
|
|
337
337
|
*size-like*
|
|
338
|
-
A byte threshold such as ``512MB`` or ``
|
|
339
|
-
reaches that size. Accepted units are ``
|
|
340
|
-
of 1024 — and a bare number is interpreted as bytes.
|
|
341
|
-
|
|
338
|
+
A byte threshold such as ``512MB`` or ``2G``: the active file is rotated once it
|
|
339
|
+
reaches that size. Accepted units are ``K``, ``M``, ``G``, and ``T``, alone or followed by
|
|
340
|
+
``B`` or ``iB`` — each a power of 1024 — and a bare number is interpreted as bytes. The
|
|
341
|
+
whole value must be a size; anything else is read as a cron expression. Rotated files are
|
|
342
|
+
numbered (``name.1``, ``name.2``, …).
|
|
342
343
|
|
|
343
344
|
*time-like*
|
|
344
345
|
A cron expression (requires the ``croniter`` package) such as ``@hourly``, ``@daily``,
|
|
345
|
-
``@midnight``,
|
|
346
|
+
``@midnight``, ``0 1 * * 0``, or ``30 2 * * *``: the file is rotated on that schedule. ``@daily`` and
|
|
346
347
|
``@midnight`` name rotated files by date (``name.YYYYMMDD``); any other expression also
|
|
347
348
|
includes the time (``name.YYYYMMDD-HHMMSS``).
|
|
348
349
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "hypershell"
|
|
3
|
-
version = "2.8.
|
|
3
|
+
version = "2.8.7"
|
|
4
4
|
description = "A cross-platform, high-throughput computing utility for processing shell commands over a distributed, asynchronous queue."
|
|
5
5
|
readme = "README.rst"
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -28,7 +28,7 @@ classifiers = [
|
|
|
28
28
|
]
|
|
29
29
|
requires-python = ">=3.11"
|
|
30
30
|
dependencies = [
|
|
31
|
-
"cmdkit[toml]>=2.
|
|
31
|
+
"cmdkit[toml]>=2.8.0",
|
|
32
32
|
"pyyaml>=6.0.1", # Allow 6.0.1 for EPEL9 compatibility (2025-01-02)
|
|
33
33
|
"tomlkit>=0.13.2",
|
|
34
34
|
"sqlalchemy>=2.0.50",
|
|
@@ -28,7 +28,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
28
28
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
29
29
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
30
30
|
..
|
|
31
|
-
.TH "HS" "1" "Nov
|
|
31
|
+
.TH "HS" "1" "Nov 11, 2026" "2.8.7" "hypershell"
|
|
32
32
|
.SH NAME
|
|
33
33
|
hs \- Process shell commands over a distributed, asynchronous queue
|
|
34
34
|
.SH SYNOPSIS
|
|
@@ -330,12 +330,22 @@ for you and if \fB\-\-failures\fP is enabled these task args will be sent to a l
|
|
|
330
330
|
Timeout in seconds for clients. Automatically shutdown if no tasks received (default: never).
|
|
331
331
|
.sp
|
|
332
332
|
This feature allows for gracefully scaling down a cluster when task throughput subsides.
|
|
333
|
+
.sp
|
|
334
|
+
Specify a number of seconds, units \fBd\fP, \fBh\fP, \fBm\fP and \fBs\fP in that order, whole or
|
|
335
|
+
fractional (e.g., \fB90m\fP, \fB1h30m\fP, \fB1.5h\fP, \fB1d12h\fP), or a Slurm time \fBMM:SS\fP,
|
|
336
|
+
\fBHH:MM:SS\fP, \fBD\-HH\fP, \fBD\-HH:MM\fP or \fBD\-HH:MM:SS\fP (e.g., \fB1:30:00\fP).
|
|
333
337
|
.TP
|
|
334
338
|
.B \fB\-W\fP, \fB\-\-task\-timeout\fP \fISEC\fP
|
|
335
339
|
Task\-level walltime limit (default: none).
|
|
336
340
|
.sp
|
|
337
341
|
Executors will send a progression of SIGINT, SIGTERM, and SIGKILL.
|
|
338
342
|
If the process still persists the executor itself will shutdown.
|
|
343
|
+
.sp
|
|
344
|
+
Specify a number of seconds, units \fBd\fP, \fBh\fP, \fBm\fP and \fBs\fP in that order, whole or
|
|
345
|
+
fractional (e.g., \fB90m\fP, \fB1h30m\fP, \fB1.5h\fP, \fB1d12h\fP), or a Slurm time \fBMM:SS\fP,
|
|
346
|
+
\fBHH:MM:SS\fP, \fBD\-HH\fP, \fBD\-HH:MM\fP or \fBD\-HH:MM:SS\fP (e.g., \fB1:30:00\fP).
|
|
347
|
+
Individual tasks can override this with inline comments, which take the same forms (e.g.,
|
|
348
|
+
\fB#HYPERSHELL: timeout:1:30:00\fP).
|
|
339
349
|
.TP
|
|
340
350
|
.B \fB\-c\fP, \fB\-\-cores\fP \fINUM\fP
|
|
341
351
|
Number of CPU cores required per task (default: none).
|
|
@@ -346,9 +356,12 @@ is available. Used with resource\-aware scheduling and backfill.
|
|
|
346
356
|
.B \fB\-m\fP, \fB\-\-memory\fP \fIMEM\fP
|
|
347
357
|
Amount of memory required per task (default: none).
|
|
348
358
|
.sp
|
|
349
|
-
Specify memory size with
|
|
350
|
-
|
|
351
|
-
|
|
359
|
+
Specify memory size in bytes or with a unit \fBK\fP, \fBM\fP, \fBG\fP or \fBT\fP, alone or followed
|
|
360
|
+
by \fBB\fP or \fBiB\fP, in any case (e.g., \(aq4GB\(aq, \(aq512M\(aq). Each unit is a power of 1024, so
|
|
361
|
+
\fB16G\fP, \fB16GB\fP and \fB16GiB\fP are the same size. Individual tasks can override this with
|
|
362
|
+
inline comments, which take the same forms (e.g., \fB#HYPERSHELL: memory:8G\fP). Tasks will
|
|
363
|
+
only be executed when the required memory is available. Used with resource\-aware scheduling
|
|
364
|
+
and backfill.
|
|
352
365
|
.TP
|
|
353
366
|
.B \fB\-C\fP, \fB\-\-client\-cores\fP \fINUM\fP
|
|
354
367
|
Limit available cores per client (default: all cores).
|
|
@@ -363,8 +376,10 @@ See also \fB\-\-num\-threads=0\fP\&.
|
|
|
363
376
|
Limit available memory per client (default: all memory).
|
|
364
377
|
.sp
|
|
365
378
|
Sets an upper bound on the amount of memory that each client can use.
|
|
366
|
-
Specify memory size with
|
|
367
|
-
|
|
379
|
+
Specify memory size in bytes or with a unit \fBK\fP, \fBM\fP, \fBG\fP or \fBT\fP, alone or followed
|
|
380
|
+
by \fBB\fP or \fBiB\fP, in any case (e.g., \(aq16G\(aq, \(aq4096MB\(aq). Each unit is a power of 1024, so
|
|
381
|
+
\fB16G\fP, \fB16GB\fP and \fB16GiB\fP are the same size. This allows running multiple clients on
|
|
382
|
+
the same node by partitioning resources.
|
|
368
383
|
.TP
|
|
369
384
|
.B \fB\-\-monitor\fP
|
|
370
385
|
Enable resource monitoring for tasks.
|
|
@@ -608,8 +623,10 @@ Amount of memory required per task (default: none).
|
|
|
608
623
|
.sp
|
|
609
624
|
When an input \fIFILE\fP is provided, a \fIsubmit\fP thread is launched to read and submit tasks.
|
|
610
625
|
This option sets the default memory requirement for all submitted tasks.
|
|
611
|
-
Specify memory size with
|
|
612
|
-
|
|
626
|
+
Specify memory size in bytes or with a unit \fBK\fP, \fBM\fP, \fBG\fP or \fBT\fP, alone or followed
|
|
627
|
+
by \fBB\fP or \fBiB\fP, in any case (e.g., \(aq4GB\(aq, \(aq512M\(aq). Each unit is a power of 1024, so
|
|
628
|
+
\fB16G\fP, \fB16GB\fP and \fB16GiB\fP are the same size. Individual tasks can override this with
|
|
629
|
+
inline comments, which take the same forms (e.g., \fB#HYPERSHELL: memory:8G\fP).
|
|
613
630
|
.sp
|
|
614
631
|
See also \fB\-\-task\-cores\fP and \fB\-\-task\-timeout\fP\&.
|
|
615
632
|
.TP
|
|
@@ -618,7 +635,12 @@ Task\-level walltime limit in seconds (default: none).
|
|
|
618
635
|
.sp
|
|
619
636
|
When an input \fIFILE\fP is provided, a \fIsubmit\fP thread is launched to read and submit tasks.
|
|
620
637
|
This option sets the default timeout for all submitted tasks. Individual
|
|
621
|
-
tasks can override this with inline comments (e.g.,
|
|
638
|
+
tasks can override this with inline comments, which take the same forms (e.g.,
|
|
639
|
+
\fB#HYPERSHELL: timeout:3600\fP or \fB#HYPERSHELL: timeout:1:30:00\fP).
|
|
640
|
+
.sp
|
|
641
|
+
Specify a number of seconds, units \fBd\fP, \fBh\fP, \fBm\fP and \fBs\fP in that order, whole or
|
|
642
|
+
fractional (e.g., \fB90m\fP, \fB1h30m\fP, \fB1.5h\fP, \fB1d12h\fP), or a Slurm time \fBMM:SS\fP,
|
|
643
|
+
\fBHH:MM:SS\fP, \fBD\-HH\fP, \fBD\-HH:MM\fP or \fBD\-HH:MM:SS\fP (e.g., \fB1:30:00\fP).
|
|
622
644
|
.sp
|
|
623
645
|
See also \fB\-\-task\-cores\fP and \fB\-\-task\-memory\fP\&.
|
|
624
646
|
.TP
|
|
@@ -824,12 +846,20 @@ Timeout in seconds for client. Automatically shutdown if no tasks received (defa
|
|
|
824
846
|
This feature allows for gracefully scaling down a cluster when task throughput subsides.
|
|
825
847
|
The timeout counts from when the client starts, after any \fB\-\-delay\-start\fP, so the delay
|
|
826
848
|
does not count toward it.
|
|
849
|
+
.sp
|
|
850
|
+
Specify a number of seconds, units \fBd\fP, \fBh\fP, \fBm\fP and \fBs\fP in that order, whole or
|
|
851
|
+
fractional (e.g., \fB90m\fP, \fB1h30m\fP, \fB1.5h\fP, \fB1d12h\fP), or a Slurm time \fBMM:SS\fP,
|
|
852
|
+
\fBHH:MM:SS\fP, \fBD\-HH\fP, \fBD\-HH:MM\fP or \fBD\-HH:MM:SS\fP (e.g., \fB1:30:00\fP).
|
|
827
853
|
.TP
|
|
828
854
|
.B \fB\-W\fP, \fB\-\-task\-timeout\fP \fISEC\fP
|
|
829
855
|
Task\-level walltime limit (default: none).
|
|
830
856
|
.sp
|
|
831
857
|
Executors will send a progression of SIGINT, SIGTERM, and SIGKILL.
|
|
832
858
|
If the process still persists the executor itself will shutdown.
|
|
859
|
+
.sp
|
|
860
|
+
Specify a number of seconds, units \fBd\fP, \fBh\fP, \fBm\fP and \fBs\fP in that order, whole or
|
|
861
|
+
fractional (e.g., \fB90m\fP, \fB1h30m\fP, \fB1.5h\fP, \fB1d12h\fP), or a Slurm time \fBMM:SS\fP,
|
|
862
|
+
\fBHH:MM:SS\fP, \fBD\-HH\fP, \fBD\-HH:MM\fP or \fBD\-HH:MM:SS\fP (e.g., \fB1:30:00\fP).
|
|
833
863
|
.TP
|
|
834
864
|
.B \fB\-C\fP, \fB\-\-client\-cores\fP \fINUM\fP
|
|
835
865
|
Limit available cores for client (default: all cores).
|
|
@@ -844,8 +874,10 @@ See also \fB\-\-num\-threads=0\fP\&.
|
|
|
844
874
|
Limit available memory for client (default: all memory).
|
|
845
875
|
.sp
|
|
846
876
|
Sets an upper bound on the amount of memory that the client can use.
|
|
847
|
-
Specify memory size with
|
|
848
|
-
|
|
877
|
+
Specify memory size in bytes or with a unit \fBK\fP, \fBM\fP, \fBG\fP or \fBT\fP, alone or followed
|
|
878
|
+
by \fBB\fP or \fBiB\fP, in any case (e.g., \(aq16G\(aq, \(aq4096MB\(aq). Each unit is a power of 1024, so
|
|
879
|
+
\fB16G\fP, \fB16GB\fP and \fB16GiB\fP are the same size. This allows running multiple clients on
|
|
880
|
+
the same node by partitioning resources.
|
|
849
881
|
.TP
|
|
850
882
|
.B \fB\-\-monitor\fP
|
|
851
883
|
Enable resource monitoring for tasks.
|
|
@@ -1001,15 +1033,22 @@ this with inline comments (e.g., \fB#HYPERSHELL: cores:8\fP).
|
|
|
1001
1033
|
.B \fB\-m\fP, \fB\-\-memory\fP \fIMEM\fP
|
|
1002
1034
|
Amount of memory required per task (default: none).
|
|
1003
1035
|
.sp
|
|
1004
|
-
Sets the default memory requirement for all submitted tasks. Specify memory size
|
|
1005
|
-
|
|
1006
|
-
(e.g., \
|
|
1036
|
+
Sets the default memory requirement for all submitted tasks. Specify memory size in bytes
|
|
1037
|
+
or with a unit \fBK\fP, \fBM\fP, \fBG\fP or \fBT\fP, alone or followed by \fBB\fP or \fBiB\fP, in any
|
|
1038
|
+
case (e.g., \(aq4GB\(aq, \(aq512M\(aq). Each unit is a power of 1024, so \fB16G\fP, \fB16GB\fP and \fB16GiB\fP
|
|
1039
|
+
are the same size. Individual tasks can override this with inline comments, which take the
|
|
1040
|
+
same forms (e.g., \fB#HYPERSHELL: memory:8G\fP).
|
|
1007
1041
|
.TP
|
|
1008
1042
|
.B \fB\-W\fP, \fB\-\-timeout\fP \fISEC\fP
|
|
1009
1043
|
Task\-level walltime limit in seconds (default: none).
|
|
1010
1044
|
.sp
|
|
1011
1045
|
Sets the default timeout for all submitted tasks. Individual tasks can override this
|
|
1012
|
-
with inline comments (e.g., \fB#HYPERSHELL: timeout:3600\fP
|
|
1046
|
+
with inline comments, which take the same forms (e.g., \fB#HYPERSHELL: timeout:3600\fP or
|
|
1047
|
+
\fB#HYPERSHELL: timeout:1:30:00\fP).
|
|
1048
|
+
.sp
|
|
1049
|
+
Specify a number of seconds, units \fBd\fP, \fBh\fP, \fBm\fP and \fBs\fP in that order, whole or
|
|
1050
|
+
fractional (e.g., \fB90m\fP, \fB1h30m\fP, \fB1.5h\fP, \fB1d12h\fP), or a Slurm time \fBMM:SS\fP,
|
|
1051
|
+
\fBHH:MM:SS\fP, \fBD\-HH\fP, \fBD\-HH:MM\fP or \fBD\-HH:MM:SS\fP (e.g., \fB1:30:00\fP).
|
|
1013
1052
|
.TP
|
|
1014
1053
|
.B \fB\-g\fP, \fB\-\-group\fP \fINUM\fP
|
|
1015
1054
|
Task group for dependency management (default: 0).
|
|
@@ -1976,9 +2015,10 @@ Format preset for the file (default: \fBsystem\fP). Accepts the same options as
|
|
|
1976
2015
|
.TP
|
|
1977
2016
|
.B \fB\&.rotate\fP
|
|
1978
2017
|
Rotation policy (default: \fBnever\fP). Either a size threshold such as \fB512MB\fP
|
|
1979
|
-
(units \
|
|
1980
|
-
cron expression such as \fB@daily\fP,
|
|
1981
|
-
\
|
|
2018
|
+
or \fB2G\fP (units \fBK\fP/\fBM\fP/\fBG\fP/\fBT\fP, alone or followed by \fBB\fP or \fBiB\fP,
|
|
2019
|
+
powers of 1024; a bare number is bytes) or a cron expression such as \fB@daily\fP,
|
|
2020
|
+
\fB@midnight\fP, or \fB0 1 * * 0\fP (requires the \fBcroniter\fP package). A cron
|
|
2021
|
+
expression may begin with a digit. Sending \fBSIGHUP\fP rotates on demand.
|
|
1982
2022
|
.TP
|
|
1983
2023
|
.B \fB\&.compress\fP
|
|
1984
2024
|
Compression for rotated files (default: none). One of \fBgzip\fP, \fBbzip\fP,
|
|
@@ -2242,6 +2282,8 @@ Even on the largest scales the default interval should be fine.
|
|
|
2242
2282
|
Timeout in seconds for client. Automatically shutdown if no tasks received (default: never).
|
|
2243
2283
|
.sp
|
|
2244
2284
|
This feature allows for gracefully scaling down a cluster when task throughput subsides.
|
|
2285
|
+
A string takes the same forms as \fB\-T\fP/\fB\-\-timeout\fP: units \fBd\fP, \fBh\fP, \fBm\fP and
|
|
2286
|
+
\fBs\fP (e.g., \fB\(dq1h30m\(dq\fP, \fB\(dq1.5h\(dq\fP) or a Slurm time (e.g., \fB\(dq1:30:00\(dq\fP, \fB\(dq1\-12\(dq\fP).
|
|
2245
2287
|
.TP
|
|
2246
2288
|
.B \fB\&.cores\fP
|
|
2247
2289
|
Client\-level limit on CPU cores available for running tasks (default: all available).
|
|
@@ -2255,7 +2297,8 @@ See also \fB\-C\fP/\fB\-\-client\-cores\fP command\-line option.
|
|
|
2255
2297
|
Client\-level limit on memory (in bytes) available for running tasks (default: all available).
|
|
2256
2298
|
.sp
|
|
2257
2299
|
A value of \fB0\fP means unconstrained. Set a lower value to partition a node\(aqs memory
|
|
2258
|
-
between multiple clients.
|
|
2300
|
+
between multiple clients. A string may carry a unit \fBK\fP, \fBM\fP, \fBG\fP or \fBT\fP, alone
|
|
2301
|
+
or followed by \fBB\fP or \fBiB\fP, each a power of 1024 (e.g., \fB\(dq16G\(dq\fP).
|
|
2259
2302
|
.sp
|
|
2260
2303
|
See also \fB\-M\fP/\fB\-\-client\-memory\fP command\-line option.
|
|
2261
2304
|
.TP
|
|
@@ -2308,16 +2351,21 @@ See also \fB\-c\fP/\fB\-\-cores\fP command\-line option.
|
|
|
2308
2351
|
.B \fB\&.memory\fP
|
|
2309
2352
|
Default memory (in bytes) required per task (default: unconstrained).
|
|
2310
2353
|
.sp
|
|
2311
|
-
A value of \fB0\fP means unconstrained.
|
|
2312
|
-
|
|
2354
|
+
A value of \fB0\fP means unconstrained. A string may carry a unit \fBK\fP, \fBM\fP, \fBG\fP or
|
|
2355
|
+
\fBT\fP, alone or followed by \fBB\fP or \fBiB\fP, each a power of 1024 (e.g., \fB\(dq16G\(dq\fP). Used
|
|
2356
|
+
with resource\-aware scheduling and backfill; individual tasks may override this inline in
|
|
2357
|
+
the same forms (e.g., \fB# HYPERSHELL: memory:8G\fP).
|
|
2313
2358
|
.sp
|
|
2314
2359
|
See also \fB\-m\fP/\fB\-\-memory\fP command\-line option.
|
|
2315
2360
|
.TP
|
|
2316
2361
|
.B \fB\&.timeout\fP
|
|
2317
|
-
Task\-level walltime limit (default: none).
|
|
2362
|
+
Task\-level walltime limit in seconds (default: none).
|
|
2318
2363
|
.sp
|
|
2319
2364
|
Executors will send a progression of SIGINT, SIGTERM, and SIGKILL.
|
|
2320
2365
|
If the process still persists the executor itself will shutdown.
|
|
2366
|
+
A string takes the same forms as \fB\-W\fP: units \fBd\fP, \fBh\fP, \fBm\fP and \fBs\fP (e.g.,
|
|
2367
|
+
\fB\(dq1h30m\(dq\fP, \fB\(dq1.5h\(dq\fP) or a Slurm time (e.g., \fB\(dq1:30:00\(dq\fP, \fB\(dq1\-12\(dq\fP); individual
|
|
2368
|
+
tasks may override this inline in the same forms (e.g., \fB# HYPERSHELL: timeout:1h30m\fP).
|
|
2321
2369
|
.TP
|
|
2322
2370
|
.B \fB\&.signalwait\fP
|
|
2323
2371
|
Wait period in seconds between signal escalation on task cancellation (default: 10).
|