To start an interactive session for running serial or threaded programs on an Oscar compute node, simply run the command interact
from the login node:
By default, this will create an interactive session that reserves 1 core and 4GB of memory for a period of 30 minutes. You can change the resources reserved for the session from these default limits by modifying the interact command:
For example, the command
requests an interactive session with 20 cores and 10 GB of memory (per node) for a period of 1 hour.
Keeping Interactive Jobs Alive:
If you lose connectivity to your login node, you lose access to your interactive job. To mitigate this issue you can use screen
to keep your connection alive. For more information on using screen
on the login nodes, see the software section