Skip to content

Commit

Permalink
Merge pull request #9 from lsst/tickets/DM-42123
Browse files Browse the repository at this point in the history
DM-42123: add --cpus-per-task to srun command line
  • Loading branch information
daues committed Dec 11, 2023
2 parents 6999d88 + 7aee1d0 commit eb0cc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/templates/generic.slurm.template
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ MB=$(( $MEMPERCORE*$CPUS ))
# removed -J $NODE_SET
# NEW
# srun $LOCAL_SCRATCH/configs/$GENERATED_ALLOCATE_SCRIPT $CPUS $MB
srun $LOCAL_SCRATCH/$CONFIGURATION_ID/configs/$GENERATED_ALLOCATE_SCRIPT $CPUS $MB
srun --cpus-per-task=$CPUS $LOCAL_SCRATCH/$CONFIGURATION_ID/configs/$GENERATED_ALLOCATE_SCRIPT $CPUS $MB


0 comments on commit eb0cc01

Please sign in to comment.