Skip to content
Snippets Groups Projects
Commit da5574bd authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update slurm-job-submission-and-execution.md

parent dfa8666a
No related branches found
No related tags found
No related merge requests found
Pipeline #40169 passed with warnings
...@@ -122,6 +122,10 @@ Script will: ...@@ -122,6 +122,10 @@ Script will:
* load appropriate module * load appropriate module
* run command, `srun` serves as Slurm's native way of executing MPI-enabled applications, `hostname` is used in the example just for sake of simplicity * run command, `srun` serves as Slurm's native way of executing MPI-enabled applications, `hostname` is used in the example just for sake of simplicity
!!! tip "Excluding Specific Nodes"
Use `#SBATCH --exclude=<node_name_list>` directive to exclude specific nodes from your job, e.g.: `#SBATCH --exclude=cn001,cn002,cn003`.
Submit directory will be used as working directory for submitted job, Submit directory will be used as working directory for submitted job,
so there is no need to change directory in the job script. so there is no need to change directory in the job script.
Alternatively you can specify job working directory using the sbatch `--chdir` (or shortly `-D`) option. Alternatively you can specify job working directory using the sbatch `--chdir` (or shortly `-D`) option.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment