Difference between revisions of "FurtherTopics/FurtherInteractive"
From HPC
(→Node Reservations) |
(→Node Resources) |
||
Line 1: | Line 1: | ||
==Node Resources== | ==Node Resources== | ||
+ | By default the interactive' command will give you an allocation to a single compute core on a node for 12 hours and a standard 4GB of RAM. | ||
+ | |||
+ | ===Increase CPU resources=== | ||
+ | <pre style="background-color: #000000; color: white; border: 2px solid black; font-family: monospace, sans-serif;"> | ||
+ | [username@login01 ~]$ interactive -n24 | ||
+ | salloc: Granted job allocation 306849 | ||
+ | Job ID 306849 connecting to c174, please wait... | ||
+ | </pre> | ||
+ | |||
+ | ===Increase Memory=== | ||
+ | If a job exceeds the requested about of memory, it will terminate with an error message. | ||
+ | <pre style="background-color: #000000; color: white; border: 2px solid black; font-family: monospace, sans-serif;"> | ||
+ | [username@login01 ~]$ interactive --mem=24G | ||
+ | salloc: Granted job allocation 306852 | ||
+ | Job ID 306852 connecting to c068, please wait... | ||
+ | </pre> | ||
+ | |||
==Node Reservations== | ==Node Reservations== | ||
This example is for a reservation of 327889 and the partition (queue) '''GPU''', missing the partition name will default to the '''compute''' queue. | This example is for a reservation of 327889 and the partition (queue) '''GPU''', missing the partition name will default to the '''compute''' queue. |
Revision as of 09:30, 10 November 2022
Node Resources
By default the interactive' command will give you an allocation to a single compute core on a node for 12 hours and a standard 4GB of RAM.
Increase CPU resources
[username@login01 ~]$ interactive -n24 salloc: Granted job allocation 306849 Job ID 306849 connecting to c174, please wait...
Increase Memory
If a job exceeds the requested about of memory, it will terminate with an error message.
[username@login01 ~]$ interactive --mem=24G salloc: Granted job allocation 306852 Job ID 306852 connecting to c068, please wait...
Node Reservations
This example is for a reservation of 327889 and the partition (queue) GPU, missing the partition name will default to the compute queue.
[username@login01 ~]$ interactive -pgpu --reservation=327889 salloc: Granted job allocation 306353 Job ID 306353 connecting to gpu04, please wait...