Skip to content
Snippets Groups Projects
Commit a121fae5 authored by Yandi's avatar Yandi
Browse files

removed users from arguments

parent 5ce6abc9
Branches
No related tags found
1 merge request!1Master into main
...@@ -4,7 +4,7 @@ import os ...@@ -4,7 +4,7 @@ import os
import subprocess import subprocess
import argparse import argparse
def makejob(commit_id, model, nruns, user, time_wall): def makejob(commit_id, model, nruns, time_wall):
return f"""#!/bin/bash return f"""#!/bin/bash
#SBATCH --job-name={model} #SBATCH --job-name={model}
...@@ -80,4 +80,4 @@ args = parser.parse_args() ...@@ -80,4 +80,4 @@ args = parser.parse_args()
time_wall = {"no_limit": "48:00:00","hour" : "1:00:00", "half" : "0:00:00", "quarter" : "0:00:15"} time_wall = {"no_limit": "48:00:00","hour" : "1:00:00", "half" : "0:00:00", "quarter" : "0:00:15"}
# Launch the batch jobs # Launch the batch jobs
submit_job(makejob(commit_id, args.model_name, 1, args.user, time_wall[args.time_wall])) submit_job(makejob(commit_id, args.model_name, 1, time_wall[args.time_wall]))
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment