Chimera
Chimera is the faculty HPC cluster in Troja, open to every member of the faculty. Since April 2026 it also includes
the former Karlín CPU nodes (r31–r50), on which members of the mathematical section have priority (partition
math).
New to Chimera? Start with Getting access: logging in, the math account, SSH keys.
The everyday commands on one page: cheat sheet.
- Basic terms
- Your first job
- Which partition?
- Running jobs
- Where to keep data
- Software
- Common problems
- Help
Basic terms
- Login node (
hpc.troja.mff.cuni.cz): where you log in, edit files and submit jobs. Not for computing. - Compute nodes: the machines that run your computations. You get them through SLURM, never by logging in directly.
- Job: a computation you hand to SLURM, usually as a script, with the resources it needs (CPUs, memory, time).
- Partition: a queue of compute nodes with its own time limit and priority.
- Account: what you charge a job to; it decides which partitions you may use (e.g.
math).
House rules: never run computations on the login node; ask for the time and CPUs you really need (smaller jobs
start sooner); delete what you no longer need from /scratch and /work.
Your first job
Create a file hello.sh on Chimera (e.g. with nano hello.sh):
#!/bin/bash
#SBATCH --job-name=hello
#SBATCH --partition=ffa-short
#SBATCH --time=00:05:00
#SBATCH --output=hello-%j.out
echo "Hello from $(hostname)"
sleep 30
Submit it, watch it, read the result:
$ sbatch hello.sh
Submitted batch job 123456
$ squeue --me
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
123456 ffa-short hello novakj R 0:05 1 r42
$ cat hello-123456.out
Hello from r42
ST is the state: PD waiting (the last column says why), R running. When the job disappears from squeue, it is
finished and its output is in hello-<jobid>.out.
Which partition?
- Testing, a few minutes:
ffa-short(the default). - Real work:
mathwith themathaccount; without itffa(up to 12 hours). - Longer than 12 hours:
math, orffa-long(up to 7 days).
| Partition | Who | Time limit (default / max) | Use for |
|---|---|---|---|
math |
math account |
1 day / unlimited | priority on the former Karlín nodes |
ffa-short (default) |
everyone | 30 min / 2 hours | short tests |
ffa |
everyone | 1 hour / 12 hours | ordinary jobs |
ffa-long |
everyone | 1 day / 7 days | long jobs |
ffa-preempt, ffa-checkpoint |
everyone | 1 hour / 36 hours | the whole cluster, but your job can be stopped when the owners need their nodes |
gpu-ffa / gpu-ffa-long |
everyone | 1 hour / 12 hours; 1 day / 7 days | GPU jobs |
ffa means free for all: everyone can use these partitions at low priority. smypartition shows the partitions
your accounts allow, sinfo -s lists all of them, and freenodes -p math shows which nodes of a partition are busy.
For GPU work use gpu-ffa or gpu-ffa-long. The old GPU nodes in Karlín are not part of Chimera, see
Old Karlín GPU nodes.
Running jobs
A typical job script with the math account:
#!/bin/bash
#SBATCH --job-name=test
#SBATCH --account=math
#SBATCH --partition=math
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=4
#SBATCH --time=02:00:00
#SBATCH --output=test-%j.out
# module load ... # the software your program needs, see "Software" below
./my_program
Without the math account, use e.g. --partition=ffa and leave out --account.
| Command | What it does |
|---|---|
sbatch job.sh |
submit the script; prints the job ID |
squeue --me |
your waiting and running jobs |
scancel <jobid> |
cancel a job |
srun -p math -A math --cpus-per-task=4 --time=1:00:00 --pty bash |
interactive shell on a compute node |
For Jupyter notebooks use JupyterHub: https://hpc.troja.mff.cuni.cz:8000.
Where to keep data
| Directory | For | Limit |
|---|---|---|
/home/<sis_login> |
scripts, source code, small files | 10 GB (hard limit 15 GB) |
/work/... |
large data and results | on request |
/scratch/... |
temporary files during a job | |
/archive/... |
long-term storage (slow) |
For a /work folder ask one of the contacts below. To copy files to and from Chimera see
Getting access.
Software
Software comes as modules: module avail lists them, module load <name> makes one available,
module list shows what is loaded.
Additional modules for the mathematical section (FEniCS, Firedrake, R, Python, …):
module use /home/hron/WORK/pkg/modulefiles
module load Arch/linux-rocky9-x86_64
module avail
Common problems
| You see | What to do |
|---|---|
Invalid account or account/partition combination specified |
the partition is not allowed for your account: check smypartition, or leave out --account and use an ffa partition |
job stays in PD |
read the reason in squeue --me: Priority or Resources means waiting for free nodes; asking for less time or fewer CPUs helps |
job ends at once, .out file says command not found |
load the module in the job script, not only in your login shell |
Disk quota exceeded |
your home is full (10 GB): move data to /work, delete or compress old files (du -sh * shows what is big) |
Permission denied (publickey) when logging in |
see SSH keys |
Help
- Planned outages: set notifications of the Chimera GitLab project to Watch, see Announcements
- Problems with Chimera,
/workfolders: Chimera work items on GitLab (log in at gitlab.mff.cuni.cz with your SIS account) or J. Eliášek (jiri.eliasek@matfyz.cuni.cz) mathaccount,/workfolders, missing software for the mathematical section: J. Hron (hron@karlin.mff.cuni.cz)- Help with your code (optimization, parallelization, workflows): the RSE group
- Chat: Mattermost
Training material
- Introduction to Chimera, J. Hron (PDF) and its video recording (MP4, 445 MB), February 2026
- Research Software Engineering, Z. Mašín (PDF)
- Chimera: University HPC Cluster Tutorial, Institute of Particle and Nuclear Physics, October 2025
- Official pages: Chimera information, JupyterHub, MFF GitLab overview