users:interactive
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| users:interactive [2016/03/22 15:32] – ecalore | users:interactive [2016/04/12 10:27] (current) – ecalore | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Interactive Session ====== | ====== Interactive Session ====== | ||
| - | If needed, an interactive shell can be run on the cluster's nodes using the following SURM command: | + | If needed, an interactive shell can be run on a cluster |
| <code bash> | <code bash> | ||
| Line 7: | Line 7: | ||
| </ | </ | ||
| - | <WRAP center round info 60%> | + | You can also require one or more GPUs: |
| - | * -u option turns off buffering of stdout. | + | |
| - | * -partition=interactive select the " | + | <code bash> |
| + | srun -u --partition=interactive --gres=gpu: | ||
| + | </ | ||
| + | |||
| + | <WRAP center round info 80%> | ||
| + | * //-u// option turns off buffering of stdout. | ||
| + | * //--partition=interactive// select the "//interactive//" partition (aka queue), which grants the highest chance of being immediately allocated (this partition allows CPUs sharing between more than one job) | ||
| </ | </ | ||
| <WRAP center round important 60%> | <WRAP center round important 60%> | ||
| - | The login to the nodes via ssh is disabled. | + | Login to the nodes via ssh is disabled. |
| </ | </ | ||
users/interactive.1458657168.txt.gz · Last modified: 2016/03/22 15:32 by ecalore