|
|
Start a default interactive session
|
|
|
Will give you 1 CPU, 2G memory, for 1 hour
|
|
|
```
|
|
|
srun --pty /bin/bash
|
|
|
```
|
|
|
If you need more resources
|
|
|
2 CPU, 4G memory for 4 hours use
|
|
|
```
|
|
|
srun --partition=all,cpu --ntasks-per-node=2 --mem=4G --time=4:0:0 --pty /bin/bash
|
|
|
```
|
|
|
If you need 2 CPU's, 1 GPU, 4G memory for 4 hours
|
|
|
```
|
|
|
srun --partition=gpu --ntasks-per-node=2 --mem=4G --time=4:0:0 --gres=gpu:1 --pty /bin/bash
|
|
|
``` |
|
|
\ No newline at end of file |