Skip to content
Snippets Groups Projects
Commit d662638e authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

add login shell argument for submit-pol-job command

parent 34823a1a
No related branches found
No related tags found
1 merge request!13Update main to current release
......@@ -135,7 +135,7 @@ def main():
else:
args['policy'] = './policy-def/list-path-external'
cmd = "./submit-pol-job -o {outdir} -f {log_prefix} -P {policy} -N {nodes} -c {cores} -p {partition} -t {time} -m {mem_per_cpu} {device}".format(**args)
cmd = "bash -l submit-pol-job -o {outdir} -f {log_prefix} -P {policy} -N {nodes} -c {cores} -p {partition} -t {time} -m {mem_per_cpu} {device}".format(**args)
print(f"Command: {cmd}")
subprocess.run(cmd,shell=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment