Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cluster:usage_tips:startslurm [2025/08/07 14:16] – bjorn | cluster:usage_tips:startslurm [2025/08/11 11:16] (current) – bjorn | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Getting started with the Sleep Revolution slurm cluster ===== | ===== Getting started with the Sleep Revolution slurm cluster ===== | ||
- | **Slurm** is a workload manager/scheduler system\\ | + | **Slurm** is a workload manager,scheduler system. It's build from computer nodes, 1 node is the Login Node, a master node and worker node' |
+ | The login node is called **cheetah.sleep.ru.is** '' | ||
The cluster is a linux environment, | The cluster is a linux environment, | ||
- | ==== Terminal connection :==== | + | \\ |
Open a terminal to log-in '' | Open a terminal to log-in '' | ||
+ | Those who use Rivendell '' | ||
==== About the user environment : ==== | ==== About the user environment : ==== | ||
Each user has his home folder, the path is [/ | Each user has his home folder, the path is [/ | ||
+ | The home folder should have 2 files, a readMe.lst file and template (slurm) script file (exampleJob.sh)\\ | ||
- | - The first step for users is to make sure their working environment fits their needs.\\ User can install different version of Python and all necessary modules for their work.\\ For those who are using Python, we recommend, for ease of use, using a Python virtual environment\\ | + | - The first step for users is to make sure their working environment fits their needs.\\ For those who are using Python, we recommend, for ease of use, using a Python virtual environment\\ User can then install different version of Python and all necessary modules for their work.\\ |
- However user can setup and install their Python modules locally without a Python virtual environment, | - However user can setup and install their Python modules locally without a Python virtual environment, | ||
- | - Each user directory has a few files an readMe.lst file and template (slurm) script file (exampleJob.sh)\\ Every user needs to use a script file for instructing the cluster what to do\\ | + | - The cluster gives users access to memory, cpu and GPU. The script file has instructing the slurm cluster what to do\\ |
- | - The cluster gives users access | + | - Users can change the slurm instructions in the script file, but it's not necessary for it to work, just append your command to it. |
+ | - A example of how to execute your job on the cluster; first create a file __prufa.py__ in your home directory, append the line '' | ||
\\ | \\ | ||
Line 17: | Line 21: | ||
''# | ''# | ||
#SBATCH < | #SBATCH < | ||
- | #SBATCH %%--%%job-name=runJob\\ | + | #SBATCH %%--%%job-name=sleepJob\\ |
#SBATCH %%--%%gpus-per-node=1\\ | #SBATCH %%--%%gpus-per-node=1\\ | ||
#SBATCH %%--%%mem-per-cpu=2G\\ | #SBATCH %%--%%mem-per-cpu=2G\\ | ||
- | #SBATCH %%--%%partition=main\\ | + | #SBATCH < |
- | #SBATCH < | + | |
'' | '' | ||
\\ | \\ | ||
Line 33: | Line 36: | ||
|scancel < | |scancel < | ||
- | ===Examples | + | ===Example |
Python venv\\ | Python venv\\ | ||
Miniconda\\ | Miniconda\\ | ||
Aaconda\\ | Aaconda\\ | ||
+ | |||
+ | [[cluster: |