Skip to content

Commit f615904

Browse files
authored
Update submit-bench.sh
1 parent 3ae2eee commit f615904

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/phoenix/submit-bench.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ usage() {
99
[[ $# -eq 2 ]] || usage
1010

1111
sbatch_script="$1"
12-
device="$2"
1312

13+
device="$2"
1414
job_slug="`basename "$1" | sed 's/\.sh$//' | sed 's/[^a-zA-Z0-9]/-/g'`-$2"
1515

1616
# read the body of the user script
@@ -51,10 +51,10 @@ JOBID=$(sbatch <<-EOT | awk '{print $4}'
5151
${sbatch_device_opts}
5252
5353
export job_slug="${job_slug}"
54-
export job_device="${device}"
54+
export device="${device}"
5555
5656
echo "Job slug is:" $job_slug
57-
echo "Device is:" $job_device
57+
echo "Device is:" $device
5858
5959
set -e -x
6060

0 commit comments

Comments
 (0)