oph:cluster:jobs
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
| oph:cluster:jobs [2023/09/06 16:12] – [Submission via script] formattazione e indicato di specificare --time diego.zuccato@unibo.it | oph:cluster:jobs [2024/11/18 09:08] (versione attuale) – diego.zuccato@unibo.it | ||
|---|---|---|---|
| Linea 10: | Linea 10: | ||
| To better enforce the fair use of the frontend, the memory (RAM) usage is limited to 1GB per user. | To better enforce the fair use of the frontend, the memory (RAM) usage is limited to 1GB per user. | ||
| + | |||
| + | |||
| ====== Run a Job ====== | ====== Run a Job ====== | ||
| Linea 109: | Linea 111: | ||
| <WRAP center round info> | <WRAP center round info> | ||
| Estimating the value to use for '' | Estimating the value to use for '' | ||
| + | </ | ||
| + | <WRAP center round tip> | ||
| + | '' | ||
| + | |||
| + | While '' | ||
| </ | </ | ||
| For the management of running jobs, please refer to section "Job Management" | For the management of running jobs, please refer to section "Job Management" | ||
| + | |||
| + | |||
| + | ===== ' | ||
| + | |||
| + | Sometimes you have to run some heavy tasks (unsuitable for the frontend) that require interactivity. For example to compile a complex program that requires you to answer some questions, or to create a container. | ||
| + | |||
| + | You have to first request a node allocation, either by sbatch (as above, possibly with ' | ||
| + | salloc -N 1 --cpus-per-task=... --time=... --mem=... --constraint=blade | ||
| + | salloc will pause while waiting for the requested resources, so be prepared. It also tells you the value for $JOBID to be used in the following steps. | ||
| + | |||
| + | Then you can connect your terminal to the running job via: | ||
| + | srun --pty --overlap --jobid $JOBID bash | ||
| + | that gives you a new shell on the first allocated node for $JOBID (just like SSH-ing a node with the resources you asked for). | ||
| + | |||
| + | Once you're done, remember to call: | ||
| + | scancel $JOBID | ||
| + | to release resources for other users. | ||
| ===== Job Management ===== | ===== Job Management ===== | ||
oph/cluster/jobs.1694016745.txt.gz · Ultima modifica: da diego.zuccato@unibo.it
