User Tools

Site Tools


hpc:how_to_use_openondemand

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hpc:how_to_use_openondemand [2023/10/23 13:46] – [Active jobs] Adrien Alberthpc:how_to_use_openondemand [2024/06/27 09:21] (current) – [How To connect] Yann Sagon
Line 1: Line 1:
 +~~NOTOC~~
 +{{METATOC 1-5}}
  
  
 ====== Introduction ====== ====== Introduction ======
-OpenOnDemand simplifies the deployment of web applications without the need for ssh tunnelingwhether it'for environments like JupyterLab or graphic-intensive applications like Matlab, all without the requirement of using solutions like x2go. Furthermore, a significant added value is the ability to submit jobs directly from a web browser+Ondemand makes it easy for users to run jobs with graphicssuch as JupyterLab, MATLAB, or a desktop. No need for complex setups like ssh tunneling or tools like x2go.
  
- 
-Some adjustments will be necessary on our end to ensure proper functionality.  
 We are confident that this new tool will prove valuable to many individuals,  We are confident that this new tool will prove valuable to many individuals, 
 especially those who are beginners in or have limited experience in computing.  especially those who are beginners in or have limited experience in computing. 
Line 31: Line 31:
  
 ====== How To connect ====== ====== How To connect ======
-First each cluster will have his own openondemand instance. To allow all users (unige, extern and outsider users) to connect to ondemand, you must to authenticate through switch.+First each cluster will have his own OpenOnDemand instance. To allow all users (unige, extern and outsider users) to connect to OpenOnDemand, you must to authenticate through switch.
  
-You MUST use the same bind email to the unige account. It means:+You MUST use the same email bound to your HPC account. It means:
  
   * Unige email (@unige.ch) for unige members (Student/collaborator/external)   * Unige email (@unige.ch) for unige members (Student/collaborator/external)
   * Email used for registration for Outsider members   * Email used for registration for Outsider members
  
-If not, you will not be able to connect through OnDemand web Interface+If not, you will not be able to connect through OpenOnDemand web Interface
  
-To access to Baobab OnDemand web app(https://ondemand.baobab.hpc.unige.ch/) \\ +Access to Baobab OpenOnDemand web instance: https://openondemand.baobab.hpc.unige.ch \\ 
-** :!: Yggdrasil Ondemand: Not implemented yet**+ 
 +Access to Bamboo OpenOnDemand web instance: https://openondemand.bamboo.hpc.unige.ch (need to be connected through UNIGE VPN)\\  
 + 
 +** :!: Yggdrasil OpenOndemand: Not implemented yet**
 ====== Tabs ====== ====== Tabs ======
 ===== Dashboard ===== ===== Dashboard =====
Line 68: Line 71:
  leaving users unsure about its inner workings.  leaving users unsure about its inner workings.
    
- For instance, attempting to include the `##SBATCH --array=option directly in the sbatch command won't work, + For instance, attempting to include the ''%%##SBATCH --array=%%'' option directly in the sbatch command won't work, 
- as this option is available within `Job Optionssubtab.'+ as this option is available within **Job Options** subtab.'
  
  
 ==== Interactive Apps ==== ==== Interactive Apps ====
  
-The "Interactive Appstab serves as a centralized hub for all available applications, +The **Interactive Apps** tab serves as a centralized hub for all available applications, 
 For now,  JupyterLab, a desktop environment, and MatLAB are available.  For now,  JupyterLab, a desktop environment, and MatLAB are available. 
 These tools are provided to enhance user productivity and convenience.  These tools are provided to enhance user productivity and convenience. 
Line 84: Line 87:
  
  
-``mkdir -p $HOME/ondemand/dev``+  mkdir -p $HOME/ondemand/dev
  
-Restart your environnment "Help > Restart web server" (Don't be scared about this function, it restarts only YOUR environnment) and the `</>develop` tab should appear next to the `Help` tab. +Restart your environnment **"Help > Restart web server**" (Don't be scared about this function, it restarts only YOUR environnment) and the `**</>develop**` tab should appear next to the `**Help**` tab.
- +
-![Dev Tab](Session-2023-10-05_OpenOnDemand/images/dev_tab.png){width=4060%}+
  
  
 +{{ :hpc:dev_tab_1_.png?nolink&1200 |}}
  
 For the most enthusiastic and adventurous users, you can develop your own app by following the procedure outlined in the For the most enthusiastic and adventurous users, you can develop your own app by following the procedure outlined in the
Line 101: Line 103:
 Please note that apps must be configured to function properly on the Unige cluster. If the chosen app (for fake example, Dynamito) is not installed or available through a ``module``, it will not work. Don't hesitate to share it with us so that we can add it to the system of interactive apps available to everyone. Please note that apps must be configured to function properly on the Unige cluster. If the chosen app (for fake example, Dynamito) is not installed or available through a ``module``, it will not work. Don't hesitate to share it with us so that we can add it to the system of interactive apps available to everyone.
  
-To install an already developed app, navigate to the new tab ``develop > My Sandbox app``. This section lists all your installed apps, and you can click "New" to clone a git repository.+To install an already developed app, navigate to the new tab ``**develop > My Sandbox app**``. This section lists all your installed apps, and you can click "**New**" to clone a git repository
 + 
 + 
 +> :!: Some adjustment are required to make your own app work.
  
  
->:warning: Some adjustment are required to make your own app work. 
  
 ===== Logout ===== ===== Logout =====
 To Logout you need to close you browser and not only the current tab. To Logout you need to close you browser and not only the current tab.
  
 +
 +===== Launching applications =====
 +This documentation has been taken from https://docs.hpc.qmul.ac.uk/ondemand/
 +
 +After choosing from the available applications, you can requested the necessary resource for the session, and then click Launch.
 +
 +{{:hpc:hpc:resources.png?nolink&600|}}
 +
 +
 +Typically, when requesting resources, you will be given the option to choose number of cores, maximum running time and memory per core. If multiple versions of the application are available, this may be offered too.
 +
 +For many use-cases, including non-computational visualisation, and many Jupyter/R Studio sessions, a maximum of 1 core will be used by the application.
 +
 +There is also the option to request an email to notify you when the job starts, in the case of sessions which require longer queueing time.
 +
 +For graphical applications, once the session is established, you have the option to alter the image quality and compression level. For most cases, using the defaults should be fine, but for precise graphical work, or taking screenshots, you may want to increase the image quality.
 +
 +
 +
 +
 +{{:hpc:quality.png?nolink&600|}}
 +
 +
 +<WRAP center round info 60%>
 +Note also the **View only** link. OnDemand sessions are secure and confined only to you. However, you have the option to share a **read-only view** of your session for purposes of monitoring progress of a job with a collaborator or to demonstrate work to a colleague.
 +</WRAP>
 +
 +
 +==== Session persistence ==== 
 +A session remains active for the time period you have requested it for. If you have finished your work, then we recommend that you close the application cleanly, followed by clicking Delete next to your session on My Interactive Sessions page. This will release resources back to the cluster.
 +
 +If you are running a graphical application which uses a desktop environment, any computation will continue even after the browser tab is closed. Clicking Launch again from the My Interactive Sessions screen will reconnect to the session.
 +
 +Closing a browser tab while running a web service session such as Jupyter  will interrupt computation, in the same way as it would if you did the same while running Jupyter locally on your own PC. Jupyter and both offer ways to save and checkpoint your work if you want to resume later.
 +
 +{{:hpc:interactive_app.png?nolink&700|}}
hpc/how_to_use_openondemand.1698068802.txt.gz · Last modified: 2023/10/23 13:46 by Adrien Albert