Skip to content

Commit

Permalink
changes updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Premas committed Nov 13, 2024
1 parent 8865e4c commit fab0d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cheaha/slurm/practical_sbatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ sbatch --array=0-$FILE_COUNT%4 job.sh
Double parentheses with a leading dollar sign like `$((...))` are used for evaluating integer arithmetic to a variable.
<!-- markdownlint-enable MD046 -->

1. The line `sbatch --array=0-$FILE_COUNT%4 job.sh` puts the array tasks in the Slurm queue using the `job.sh` script. The array of tasks runs from 0 to $FILE_COUNT as determined earlier, with the %4 limit restricting the number of tasks that can run simultaneously to 4.
1. The line `sbatch --array=0-$FILE_COUNT%4 job.sh` puts the array tasks in the Slurm queue using the `job.sh` script. The array of tasks runs from 0 to $FILE_COUNT as determined earlier, where %4 limits the number of simultaneous tasks to 4.

To use the script, enter the command `bash main.sh` at the terminal.

Expand Down

0 comments on commit fab0d82

Please sign in to comment.