Submitting jobs
To cater to users from different knowledge backgrounds with different preferences, we provide various ways to use the cluster's resources.
SLURM is our job scheduler. Basically, when you need computing resources, you submit a job. The system will then verify your request and your quota, your job will be submitted to the SLURM queue when it is valid. Based on an evaluated priority, SLURM decides when and where your job will be executed.
We highly recommend you read the Quick Start User Guide to get yourself familiar with the basic design and usage of SLURM.
Besides using the command line interface to submit jobs, we have several quick jobs to get you the resources with a little learning effort. This way suits people that are more comfortable working with GUI.
Jupyter Notebook / Lab
YouIn just a few clicks, you can requestlaunch a Jupyter Lab server of any size and connect to it without further authenticationauthentication. The Jupyter Lab is managed in aour fewbase clicks.environment. BeforeSo that,you Wecan use it without any preparation. But you will prepareneed to create your own Anaconda environment to install the environmentpackages first.you We will leverage Anaconda here.need. Log in to the console and type the commands below:commands:
module load Anaconda3/2022.05
# for example we create an environment called torch
# install two packages, pip for package management and ipykernel for running our python codes
conda create -y -n torch pip ipykernel
# install pytorch into our environment from the pytorch repo
conda install -namey myenv-n jupytertorch -c pytorch pytorch
Login to the web portal, locate the jobs dropdown and click Run Jupyter. In the GUI launcher popup, select the resources you need, select the environment then click enqueue job. Head to jobs > running jobs to find your job. Click the Jupyter link to open your Jupyter Notebook in a new tab.
Besides Jupyter Notebook, you may launch any web-based tools in the same way. See the GUI launcher section for details.
VNC
Container
GUI launcher
The above three quick jobs are all leveraging the GUI launcher. You can modify them or even create your own quick jobs. They are basically just a .sbatch script, optionally plus some metadata.