Skip to content

Commit

Permalink
0.3.2 bugfix for creating job command on woody
Browse files Browse the repository at this point in the history
  • Loading branch information
richrobe committed Nov 24, 2023
1 parent 7e8a8be commit d29cdb4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hpc_helper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
write_hpc_status_file,
)

__version__ = "0.3.1"
__version__ = "0.3.2"

__all__ = [
"build_job_submit_torque",
Expand Down
5 changes: 4 additions & 1 deletion hpc_helper/_hpc_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,10 @@ def build_job_submit_slurm(
:func:`subprocess.call`.
"""
sbatch_command = f"sbatch.{target_system} --job-name {job_name} "
if target_system != "woody":
sbatch_command = f"sbatch.{target_system} --job-name {job_name} "
else:
sbatch_command = f"sbatch --job-name {job_name} "
if gres is None:
gres = "gpu:1"
if target_system != "tinygpu":
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hpc_helper"
version = "0.3.1"
version = "0.3.2"
description = "Python package with helper functions for working with FAU's High Performance Cluster (HPC)."
authors = ["Robert Richer <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit d29cdb4

Please sign in to comment.