User Tools

Site Tools


institute_lorentz:institutelorentz_maris_slurm_jupyterhub

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
Last revisionBoth sides next revision
institute_lorentz:institutelorentz_maris_slurm_jupyterhub [2017/09/21 14:40] – [Matlab on maris jupyterhub] lenocilinstitute_lorentz:institutelorentz_maris_slurm_jupyterhub [2018/07/19 15:19] – [Launching Notebooks] lenocil
Line 3: Line 3:
  
 Maris cluster provides a JupyterHub service which uses a dedicated ''slurm'' partition accessible only by  Maris cluster provides a JupyterHub service which uses a dedicated ''slurm'' partition accessible only by 
-authorized users. Users should submit access requests via email or preferably in person to ''support''.+authorized users. Users should request access to the maris cluster as described  [[institute_lorentz:institutelorentz_maris|here]].
  
-JupyterHub spawns single-user notebooks by requesting consumable resources to ''slurm'' using precoded parameters in order to prevent erroneous usagesResources are allocated upon each successful login via the JupyterHub web interface. No notebooks will be spawned in the case of insufficient consumable resources (Memory and CPU).+JupyterHub spawns single-user notebooks by requesting consumable resources to ''slurm'' using hard-coded parameters that define the different types of notebooks available on the system (see below)Once a user logs in the JupyterHub web interface, the notebook  resources will only be allocated upon initialising the notebook server. No notebooks will be spawned in the case of insufficient consumable resources (Memory and CPU). Users are advised to check the output of the command ''squeue -u <username>'' in case no spawn occurs in a reasonable amount of time.
  
 ===== Access ===== ===== Access =====
Line 16: Line 16:
 {{ :institute_lorentz:jupyterhub.png?800 |}} {{ :institute_lorentz:jupyterhub.png?800 |}}
  
-:!: Please note that maris' jupyterhub has **admin_access enabled**. Admin users  have the ability to take actions on users' behalf, such as stopping and restarting their servers. +:!: Maris' jupyterhub has the feature **admin_access** enabledThis means admin users  have the ability to take actions on users' behalf, such as stopping and restarting their servers. 
  
 ===== Launching Notebooks ===== ===== Launching Notebooks =====
Line 22: Line 22:
 All users that have access to maris will also be able to use JupyterHub. Launching a notebook is as easy as selecting the resources needed from the dropdown menu that appears upon a successful login. Currently, the choices are All users that have access to maris will also be able to use JupyterHub. Launching a notebook is as easy as selecting the resources needed from the dropdown menu that appears upon a successful login. Currently, the choices are
  
-  * NOTEBOOK1: NumNodes=1 NumCPUs=4 NumTasks=1 CPUs/Task=4 mem=16G Permanent +  * NOTEBOOK1: NumNodes=1 NumCPUs=4 NumTasks=1 CPUs/Task=4 mem=16G 30 days 
-  * NOTEBOOK2: NumNodes=1 NumCPUs=2 NumTasks=1 CPUs/Task=2 mem=8G Permanent +  * NOTEBOOK2: NumNodes=1 NumCPUs=2 NumTasks=1 CPUs/Task=2 mem=8G 30 days 
-  * NOTEBOOK3: NumNodes=1 NumCPUs=1 NumTasks=1 CPUs/Task=1 mem=4G Permanent +  * NOTEBOOK3: NumNodes=1 NumCPUs=1 NumTasks=1 CPUs/Task=1 mem=4G 30 days 
-  * NOTEBOOK4: NumNodes=1 NumCPUs=16 NumTasks=1 CPUs/Task=16 mem=64G Permanent+  * NOTEBOOK4: NumNodes=1 NumCPUs=16 NumTasks=1 CPUs/Task=16 mem=64G 10 days 
 +  * NOTEBOOK5: NumNodes=1 NumCPUs=16 NumTasks=1 CPUs/Task=16 mem=64G 3Days 2 GPUs
  
 Additions to the list above are possible and should be discussed with ''support''. Additions to the list above are possible and should be discussed with ''support''.
Line 32: Line 33:
 If the resources requested are available a single-user notebook instance will be launched and you will be ready to run your code interactively. If the resources requested are available a single-user notebook instance will be launched and you will be ready to run your code interactively.
  
-Jupyterhub will write output and error files relative to the spawning of each notebook instance using the filename scheme ''${HOME}/jupyterhub_%u_%j.[log|err]'', where `HOME' refers to your home directory and %u and %j to your username and slurm job number respectively. +Jupyterhub will write output and error files relative to the spawning of each notebook instance using the filename scheme ''${HOME}/jupyterhub_%u_%j.[log|err]'', where `HOME' refers to your home directory and %u and %j to your username and slurm job number respectively. Because maris' home disk has an enforced quota of 10GB per user, **please remove old log files to save space**.
  
 :!: If launching a notebook fails, please **read these output files before contacting ''support''**. :!: If launching a notebook fails, please **read these output files before contacting ''support''**.
Line 106: Line 107:
 license matlab license matlab
 </code> </code>
 +
 +See also: https://github.com/imatlab/imatlab