All scientific software here is already installed — you just tell the cluster which stack you want to use today. That is the whole idea of modules.
module avail | see everything that is installed |
module load R-bayes/2026.11 | activate a stack in your current session |
module list | check what is active now |
Modules affect only your current login session. Nothing is installed into your home
directory unless you explicitly ask (e.g. install.packages() lands in a
private library under your home and never touches the shared one).
sbatch — see the
SLURM guide.
Jump to a module: R-bayes · R · CmdStan · MATLAB · Conda · FSL · FreeSurfer · Apptainer · MPI · TurboVNC
What you get: module load R-bayes/2026.11 activates R 4.4.0,
CmdStan 2.40.0 and a curated shared package library (169 packages), including: tidyverse,
brms, cmdstanr, rstan, posterior, loo, bayesplot, tidybayes, bridgesampling*, sjPlot, lme4,
lmerTest, emmeans, psych, lavaan, readxl, openxlsx, performance, effectsize, HiddenMarkov.
Check it works:
module load R-bayes/2026.11 Rscript -e 'library(brms); cmdstan_version()' # prints 2.40.0
Heavy models go through Slurm — start from the maintained template:
cp /mnt/slurmips/site/scripts/rbayes/bayes_job_template.sh myjob.sh nano myjob.sh sbatch myjob.sh
brms quick start:
library(brms)
fit <- brm(y ~ x + (1|group), data = d,
backend = "cmdstanr",
chains = 4, cores = 4, # cores MUST equal #SBATCH -n
iter = 4000, warmup = 1000,
file = "fit_my_model") # caches the compiled model
Rules of thumb: one chain = one CPU;
export OPENBLAS_NUM_THREADS=1 in job scripts; always set
--mem-per-cpu (4–8 GB per CPU for brms/rstan); work in $TMPDIR
inside the job. Detailed user guide (PL):
/mnt/slurmips/site/scripts/rbayes/INSTRUKCJA_UZYTKOWNIKA.md;
exact versions: /mnt/slurmips/site/apps/R-bayes/2026.11/manifest.csv.
* bridgesampling is installed but currently unreliable with this
rstan/cmdstanr combination (verified against an analytic integral; upstream fix pending).
For model comparison use loo()/waic() from brms — verified working.
Load: module load R/4.4.0 — plain R without the curated
statistics library. You can still install your own packages with
install.packages(); they land in a private library
~/R/x86_64-redhat-linux-gnu-library/4.4.
If you need statistics/Bayes packages, prefer R-bayes instead of
installing the world into your home directory. Run heavy R code via
sbatch, not on the login node.
What it is: the Stan command-line toolchain (compiler + samplers), used
as the engine behind cmdstanr and brms. Normally you never call
it directly — the R packages drive it.
Load: module load CmdStan/2.40.0 (or just R-bayes, which loads
it). The install is shared and read-only; it sets the CMDSTAN environment
variable. Command-line tools: $CMDSTAN/bin/stanc, stansummary,
diagnose; smoke test model: $CMDSTAN/examples/bernoulli/bernoulli.
To compile your own model from the shell, copy a working dir and build
out-of-tree — inside a Slurm job, never on the login node.
Load: module load matlab/R2024a.
Batch run (recommended) — inside an sbatch job:
matlab -batch "myscript" # runs myscript.m without GUI
Interactive GUI: start a VNC session
(TurboVNC) inside a Slurm allocation and run
matlab -desktop, or use
sbatch --pty -n 4 --mem-per-cpu=4000 matlab for an interactive terminal
session. MATLAB licences are a shared, limited pool — if a job waits on a licence,
contact support.
Load: module load conda/3.10. The shared base environment is
read-only — create your own:
conda create -p ~/conda/myenv python=3.11 conda activate ~/conda/myenv pip install ...
Run training/inference through Slurm jobs. GPU work: request a GPU with
--gpus=1 on the node that has one (A4000) — ask support for current names.
Load: module load fsl/fsl. Everything FSL
(bet, flirt, fnirt, FEAT, first…) then
runs from the command line.
Always run processing as Slurm jobs, one CPU per parallel thread
(e.g. sbatch -n 8 --mem-per-cpu=4000). FEAT in batch mode:
feat mydesign.fsf without the GUI. If a tool exits immediately, it is
usually the licence — contact support.
Load: module load freesurfer/7.4.1. A license file is
required (contact support for the department FS_LICENSE path).
module load freesurfer/7.4.1 export FS_LICENSE=/path/to/license # inside a Slurm job: recon-all -subjid SUBJ -i raw.nii.gz -all
recon-all is multi-threaded — request 8 CPUs and ≥32 GB per subject job.
Load: module load apptainer/1.3.6. Docker images are not
runnable directly — convert them:
apptainer pull myimg.sif docker://python:3.11 apptainer run --nv myimg.sif python script.py # --nv = GPU
Pull/build from the login node is fine (it is light); run heavy container workloads
via sbatch.
Load: module load mpi/openmpi-x86_64 (or
mpi/mpich-x86_64).
#SBATCH -n 32 srun ./my_mpi_program
Compile with mpicc/mpicxx/mpifort wrappers. Never run mpirun
on the login node; inside jobs always use srun.
Load: module load turbovnc/3.1.3.
vncserver :1 -geometry 1600x900 # forward: ssh -L 5901:localhost:5901 user@slurmlogin # then connect a VNC viewer to localhost:5901
Start the session inside a Slurm allocation so it gets real CPU/RAM; clean up with
vncserver -kill :1 when done.
R-bayes/2026.11 | Statistics & Bayesian stack (recommended) |
R/4.4.0 | R base environment |
CmdStan/2.40.0 | Stan toolchain (shared, read-only) |
matlab/R2024a | MATLAB (limited licence pool) |
conda/3.10 | Miniconda — bring your own envs |
fsl/fsl | FSL neuroimaging suite |
freesurfer/7.4.1 | FreeSurfer (license required) |
apptainer/1.3.6 | Containers |
mpi/openmpi-x86_64 · mpi/mpich-x86_64 | MPI runtimes |
turbovnc/3.1.3 | Remote graphical sessions |
Missing something you need? Write to the cluster support e-mail from your welcome message — new stacks are installed as separate, versioned modules.