Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| infra:howto:slurm_sample [2025/05/01 08:25] – [Example using an interactive shell] remi | infra:howto:slurm_sample [2025/05/16 11:55] (current) – [Example using GPUs] remi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== How-to create a simple SLURM job ====== | ====== How-to create a simple SLURM job ====== | ||
| - | Now that you have your container ready in the Apptainer file format : for example application.sif | + | **Make sure you already |
| - | To run your job via SLURM you need to create a sbatch script : | + | You should have your container ready in the Apptainer file format : for examples here, application.sif |
| + | |||
| + | To run your job via SLURM, it is best to create a **sbatch script** : | ||
| (Note: for now we don't have Modules or LMod installed, we might add it later : hence the module commands commented) | (Note: for now we don't have Modules or LMod installed, we might add it later : hence the module commands commented) | ||
| Line 43: | Line 45: | ||
| - | ==== Example using GPUs ==== | + | ==== Example using a full GPU ==== |
| < | < | ||
