Imported from AaltoSciComp/triton-skills (
triton-modules-envs-skill/SKILL.md). Install upstream withnpx skills add AaltoSciComp/triton-skills --skill triton-modules-envs-skill. Copyright stays with the author.
Triton modules & environments
Prefer modules over ad-hoc installs. Live docs:
modules,
Python,
PyTorch,
conda/mamba.
Module versions drift — module spider / Docs MCP over memory.
Operating rules (read first)
-
Safety tiers
- Read-only —
module spider/avail/list/showon request. - Create — propose
module loadlines andenvironment.yml; create or update conda/mamba envs only with user approval; show the plan first. - Avoid-zone — silent
pip/conda/mambainto shared or global paths, bulk env rebuilds, wiping conda config. Write a reviewable command list; run only after confirmation.
- Read-only —
-
Anti-priors
- Own envs:
module load mambathensource activate ENV— notconda activate. - Put
module load …inside the sbatch script / interactive session. - Keep conda caches/envs off tiny
$HOME(mamba first-time setup →$WRKDIR). - Prefer central
scicomp-*-envwhen it covers the need.
- Own envs:
-
No heavy CUDA builds/tests on the login node — use Slurm (
sinteractive/ shortsbatch). Agents:code.triton.aalto.fi.
Quick start: common requests
- "What module for X?"
module spider PATTERNbefore inventing names. Common loads:references/concepts.md. - "Python / PyTorch on GPU." Older GPUs (V100-era):
scicomp-python-env. Newer GPUs (e.g. B300):scicomp-pytorch-env/2026.1+ GRESmin-cuda-cc:80— confirm versions with spider / PyTorch app page. - "Use / create my conda env." Activation lines and first-time setup:
references/code-patterns.md. Do not recreate silently. - "Package not found." Spider → central env → documented app page → only then a user env with approval.
Reference material
references/concepts.md— Lmod workflow, common loads, anti-patterns.references/code-patterns.md— activate lines, mamba first-time, env create.
Related: triton-sbatch-drafting-skill, triton-storage-io-skill,
triton-agent-hygiene-skill. Help:
SciComp garage.