Skip to content

Commit

Permalink
make script executable for aks
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeiland committed Jul 9, 2024
1 parent 846d59f commit 130320f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion amlhpc/slurm/sbatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ def sbatch(vargs=None):
if (args.verbose): print("using environment: " + args.environment)

if (args.script != "None"):
start_command = "chmod +x " + args.script + "; "
job_code = pwd + "/" + args.script
job_command = args.script
job_command = start_command + args.script
if (args.verbose):
print("provided script to be executed: " + job_code)
print("provided script to be uploaded: " + job_code)
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 = "amlhpc"
version = "0.2.1"
version = "0.2.2"
authors = [ "Hugo Meiland <[email protected]>", "Utkarsh Ayachit <[email protected]>" ]
description = "Emulate Slurm/PBS/LSF HPC scheduler in Azure ML"
readme = "README.md"
Expand Down

0 comments on commit 130320f

Please sign in to comment.