tutorials_interactivegpu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials_interactivegpu [2026/05/29 14:23] docuadmintutorials_interactivegpu [2026/05/29 15:02] (current) – [Ending the Session] docuadmin
Line 1: Line 1:
 ===== Launch an Interactive Desktop on the GPU Node ===== ===== Launch an Interactive Desktop on the GPU Node =====
 +
 Open OnDemand is a web-based interface that provides access to HPC cluster resources through a browser. It allows you to launch interactive desktop sessions, run applications, manage files, and submit jobs without using the command line. Open OnDemand is a web-based interface that provides access to HPC cluster resources through a browser. It allows you to launch interactive desktop sessions, run applications, manage files, and submit jobs without using the command line.
 Through Open OnDemand users can run an interactive desktop session on the GPU node of HPC2. Through Open OnDemand users can run an interactive desktop session on the GPU node of HPC2.
  
-=== Access the pre-configured session === +==== Access the pre-configured session ==== 
-[[http://example.com|External Link]] +  Log in at [[https://hpc2.grinnell.edu]] using your Grinnell College credentials. 
-Log in at [[https://hpc2.grinnell.edu]] using your Grinnell college credentials. +  Click the GPU Desktop tile under the //*Interactive Apps//* heading.
-Click the GPU Desktop tile under the //*Interactive Apps//* heading. +
-{{::interactivegpu1.png?nolink&400|}}+
  
-(The exact names vary by cluster.)+{{ :interactivegpu1.png?nolink&400 |}}
  
-----+==== Configure the Job and Launch Session ====
  
-===== 3Configure the Job =====+You will be presented with a job submission formSince this interactive job is already configured, you'll only need to specify the amount of time (in hours) you expect the job to run. Click 'Launch' to submit the job to the scheduler. Your job will be placed in the queue.
  
-You will be presented with a job submission form.+{{ :interactivegpu2.png?nolink&400 |}}
  
-Typical options include:+==== Wait for the Job to Start ====
  
-^ Setting ^^ Description ^ +You'll be directed to a page displaying your active and recent sessions. Your new session status will typically show: 
-| Account / Project || Billing or allocation account | +  * Queued 
-| Partition / Queue || Cluster queue to run on | +  * Starting 
-| Number of Cores || CPU cores requested | +  * Running
-| Memory || RAM allocation | +
-| Wall Time || Maximum session duration | +
-| GPU Options || Optional GPU resources | +
-| Desktop Environment || XFCE, GNOME, etc. |+
  
-Choose resources appropriate for your workload.+{{ :interactivegpu3.png?nolink&400 |}}
  
-Example: +Once the job starts, a button titled //*Launch GPU Desktop//will appear. Click it to open the remote desktop in your browser.
-4 CPU cores +
-8 GB RAM +
-* 2-hour wall time+
  
-----+{{ :interactivegpu4.png?nolink&400 |}}
  
-===== 4. Launch the Session ===== +==== Use the Desktop Environment ====
- +
-Click: +
- +
-* //*Launch//+
-* //*Submit//+
-* or //*Start//+
- +
-depending on your site configuration. +
- +
-The job will enter the scheduler queue. +
- +
----- +
- +
-===== 5. Wait for the Job to Start ===== +
- +
-Your session status will typically show: +
-* Queued +
-* Starting +
-* Running +
- +
-Once the job starts, a button such as //*Launch Desktop//// or ////Connect to Desktop//* will appear. +
- +
-Click it to open the remote desktop in your browser. +
- +
----- +
- +
-===== 6. Use the Desktop Environment =====+
  
 Inside the desktop session, you can: Inside the desktop session, you can:
Line 70: Line 35:
 * Run GUI applications * Run GUI applications
 * Use IDEs * Use IDEs
-* Visualize data + 
-* Launch MATLAB, RStudio, ParaView, etc.+{{ :interactivegpu5.png?nolink&400 |}}
  
 The session behaves similarly to a Linux desktop computer running on the cluster. The session behaves similarly to a Linux desktop computer running on the cluster.
  
-----+{{ :interactivegpu6.png?nolink&400 |}}
  
-====== File Access ======+===== File Access =====
  
 You can transfer and manage files using: You can transfer and manage files using:
 * The //*Files//* menu in Open OnDemand * The //*Files//* menu in Open OnDemand
 * SCP/SFTP * SCP/SFTP
-* Shared storage mounted on the cluster 
  
-Your home directory and project storage are typically available automatically.+Your home directory on the cluster is available in the desktop session.
  
----- +===== Ending the Session =====
- +
-====== Ending the Session ======+
  
 When finished: When finished:
  
-Save your work. +  * Save your work. 
-Close applications. +  Close applications. 
-Return to the Open OnDemand dashboard. +  Return to the Open OnDemand dashboard. 
-Select //*My Interactive Sessions//*. +  Select //*My Interactive Sessions//*. 
-Click //*Delete//// or ////Terminate//* to end the job.+  Click //*Delete//* to end the job.
  
 Closing the browser tab alone may not stop the job. Closing the browser tab alone may not stop the job.
  
-----+===== Troubleshooting =====
  
-====== Troubleshooting ======+==== Job Stays Queued ====
  
-===== Job Stays Queued =====+The cluster is likely busy and is already using the GPUs for other running sessions. You can see what jobs are currently running by accessing the //*Jobs//* menu in Open OnDemand and selecting 'All Jobs'.
  
-Possible causes: +==== Desktop Will Not Open ====
-* Cluster is busy +
-* Requested resources are too large +
-* Incorrect account or partition +
- +
-Try reducing: +
-* CPU count +
-* Memory +
-* Wall time +
- +
----- +
- +
-===== Desktop Will Not Open =====+
  
 Possible causes: Possible causes:
-* Browser popup blocker +  * Browser popup blocker 
-* Expired session +  * Expired session 
-* VNC/websocket startup failure+  * VNC/websocket startup failure
  
 Try: Try:
-* Refreshing the page +  * Refreshing the page 
-* Relaunching the job +  * Relaunching the job 
-* Using a different browser+  * Using a different browser
  
----- +==== Session Disconnects ====
- +
-===== Session Disconnects =====+
  
 Interactive jobs automatically terminate when: Interactive jobs automatically terminate when:
-* Wall time expires +  * Wall time expires 
-* The job is canceled +  * The job is canceled 
-* Cluster maintenance occurs+  * Cluster maintenance occurs
  
 Save work frequently. Save work frequently.
  
----- +===== Best Practices =====
- +
-====== Best Practices ======+
  
 * Request only the resources you need. * Request only the resources you need.