Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
slurm [2020/05/19 03:08] mickey |
slurm [2020/09/17 13:07] admin old revision restored (2020/09/17 13:00) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SLURM ====== | + | ====== SLURM 19.04 ====== |
Conceptos básicos | Conceptos básicos | ||
Line 21: | Line 21: | ||
**Simple usage for soroban** | **Simple usage for soroban** | ||
- | 0. Note. | + | 0. Note. |
- | '-p intel' (equivalent long option: '--partition=intel') is required for soroban. | + | '-p intel' (equivalent long option: '–partition=intel') is required for soroban. |
+ | |||
+ | 1. Save below as text file (e.g. my_first_slurm.sh). | ||
- | 1. Save below as text file (e.g. my_first_slurm.sh). | ||
<code> | <code> | ||
#!/bin/bash | #!/bin/bash | ||
Line 37: | Line 38: | ||
</code> | </code> | ||
- | 2. Submit it as SLURM job. | + | 2. Submit it as SLURM job. |
- | sbatch <filename> (e.g. sbatch my_first_slurm.sh) | + | sbatch (e.g. sbatch my_first_slurm.sh) |
- | 3. Check progress. | + | 3. Check progress. |
squeue | squeue | ||
Line 59: | Line 60: | ||
srun ./mpi_programa | srun ./mpi_programa | ||
</code> | </code> | ||
- | |||
===== 4. Ejemplo básico 3 ===== | ===== 4. Ejemplo básico 3 ===== | ||
Line 90: | Line 90: | ||
<code> | <code> | ||
- | chmod +x ejemplo2.sh | + | chmod +x ejemplo3.sh |
</code> | </code> | ||
<code> | <code> | ||
- | sbatch ejemplo2.sh | + | sbatch ejemplo3.sh |
</code> | </code> | ||