Using Slurm on Bianca¶
This page describes how to use Slurm on Bianca.
What is Slurm?
What is Bianca?
See Slurm troubleshooting how to fix Slurm errors.
sbatch (and interactive) on Bianca¶
sbatch (and interactive) work the same as on Pelle.
Want to start an interactive session?
Here it is shown how to submit a job with:
- command-line Slurm parameters
- Slurm parameters in the script
sbatch a script with command-line Slurm parameters¶
The minimal command to use sbatch with command-line Slurm parameters is:
where [project_code] is the project code, and [script_filename]
the name of a bash script, for example:
Forgot your Bianca project?
When login to Bianca's remote desktop environment webpage at https://bianca.uppmax.uu.se is helpful in showing you your Bianca projects:

An example of the Bianca projects for this user
What is in the script file?
The script file my_script.sh is a minimal example script.
Such a minimal example script could be:
Again, what is shown here is a minimal use of sbatch.
sbatch a script with Slurm parameters in script¶
The minimal command to use sbatch with Slurm parameters in the script:
where [script_filename] the name of a bash script, for example:
The script must contain at least the following lines:
where [project_code] is the project code, for example:
Forgot your Bianca project?
When login to Bianca's remote desktop environment webpage at https://bianca.uppmax.uu.se is helpful in showing you your Bianca projects:

An example of the Bianca projects for this user
A full example script would be:
Again, what is shown here is a minimal use of sbatch.
See the general page on Slurm.
Bianca's Quality of Service flags¶
Quality of Service flags helps to make HPC clusters be nicer to work with. For example, if you state your job is short, it may get higher priority. The most important example is when to start an interactive job:
where [your_bianca_project] is your Bianca project, for example:
With the --qos=interact you are allowed to book a 12 hour session
and you will get it a higher priority.
qos option |
Scheduling policy | CPU or GPU? |
|---|---|---|
short |
Maximum 15 minutes | Any |
normal |
Maximum 1 hour | Any |
interactive |
Maximum 12 hours | CPU only (GPU will be ignored) |