cluster:usage_tips:startslurm

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
cluster:usage_tips:startslurm [2025/08/07 14:28] bjorncluster:usage_tips:startslurm [2025/08/11 11:16] (current) bjorn
Line 6: Line 6:
 \\ \\
 Open a terminal to log-in '' ssh <myUser>@cheetah.sleep.ru.is''\\ Open a terminal to log-in '' ssh <myUser>@cheetah.sleep.ru.is''\\
 +Those who use Rivendell ''130.208.209.30'' (and other sleep servers) can also connect with any editor which supports SSH like [[https://code.visualstudio.com/|VScode]]\\
 ==== About the user environment : ==== ==== About the user environment : ====
 Each user has his home folder, the path is [/mount/home/<username>]\\ Each user has his home folder, the path is [/mount/home/<username>]\\
-The home should have 2 files, a readMe.lst file and template (slurm) script file (exampleJob.sh)\\+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, by using Pip3 install <Module>\\   - However user can setup and install their Python modules locally without a Python virtual environment, by using Pip3 install <Module>\\
-  - 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 GPUThe script file has instructing the slurm cluster what to do\\ 
-  - The cluster gives users access to memorycpu and GPUTo execute your job on the clusterfirst update exampleJob.sh to run your code (or make a copy)\\ Then submit your job to the queue with command **sbatch exampleJob.sh**+  - Users can change the slurm instructions in the script file, but it's not necessary for it to workjust append your command to it. 
 +  - A example of how to execute your job on the clusterfirst create a file __prufa.py__ in your home directory, append the line ''python3 prufa.py'' to exampleJob.sh \\ Then submit your job to the queue with command **sbatch exampleJob.sh**
  
 \\ \\
Line 38: Line 40:
 Miniconda\\ Miniconda\\
 Aaconda\\ Aaconda\\
 +
 +[[cluster:usage_tips:advancedSlurm|Advanced tips]]\\
  • cluster/usage_tips/startslurm.1754576893.txt.gz
  • Last modified: 2025/08/07 14:28
  • by bjorn