File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
.github/workflows/phoenix Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,19 @@ usage() {
1111sbatch_script=" $1 "
1212device=" $2 "
1313
14+ job_slug=" ` basename " $1 " | sed ' s/\.sh$//' | sed ' s/[^a-zA-Z0-9]/-/g' ` -$2 "
15+
1416# read the body of the user script
1517sbatch_body=$( < " $sbatch_script " )
1618
1719# common SBATCH directives
1820sbatch_common_opts=" \
19- #SBATCH -J shb-${sbatch_script%% .sh} -$device # job name
20- #SBATCH --account=gts-sbryngelson3 # account
21+ #SBATCH -J shb-${sbatch_script%% .sh} -$device # job name
22+ #SBATCH --account=gts-sbryngelson3 # account
2123#SBATCH -N1 # nodes
2224#SBATCH -t 03:00:00 # walltime
2325#SBATCH -q embers # QOS
24- #SBATCH -o ${sbatch_script %% .sh} - $device .%j. out # stdout+stderr
26+ #SBATCH -o $job_slug . out # stdout+stderr
2527#SBATCH --mem-per-cpu=2G # default mem (overridden below)
2628"
2729
You can’t perform that action at this time.
0 commit comments