Skip to content

Commit

Permalink
Merge pull request #138 from university-of-york/quickUpdates
Browse files Browse the repository at this point in the history
Quick updates
  • Loading branch information
nd996 authored Dec 1, 2023
2 parents 006de19 + bbc1fc5 commit d12c1ab
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/source/using_viking/virtual_desktops.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,10 @@ After a few moments, the window for MATLAB should appear in your virtual desktop
Tidy up
^^^^^^^

After you're done close everything down and remember to :ref:`kill the virtual desktop <kill_sessions>` just like we showed before.
When you're finished, close everything down and remember to :ref:`kill the virtual desktop <kill_sessions>` just like we showed before. Doing this will also ensure that the resources allocated from the ``salloc`` command will be relinquished.

Alternatively, you can manually relinquish the resources by pressing ``Ctrl + d`` twice from the terminal with your ``ssh`` session on the compute node. Once to exit the ``ssh`` session, and the second time to relinquish the job allocation from the ``salloc`` command, and you should see confirmation of this. From here you could then type a new ``salloc`` command and continue from that step if you wish, this could be useful for requesting different resources.

If for any reason you need to manually kill a job, type ``squeue -u $USER`` on Viking to show all the jobs you have on Viking and then type ``scancel JOBID`` where ``JOBID`` is the job you wish to cancel found from the previous command.


0 comments on commit d12c1ab

Please sign in to comment.