> For the complete documentation index, see [llms.txt](https://docs.aisl.science/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aisl.science/external-tools-and-services/cscs-clariden.md).

# CSCS Clariden

Quick start for accessing CSCS Clariden and validating SSH, Slurm, Python, GPU jobs, uenv, and the ML Console.

[Clariden](https://docs.cscs.ch/clusters/clariden/) is the CSCS machine-learning cluster on Alps. FHNW/AISL users can use it when access has been allocated through a course, research project, workshop, event, or other approved activity.

## JupyterHub / JupyterLab

For interactive teaching and notebook-based experimentation, use the [Clariden JupyterHub](https://jupyter-clariden.cscs.ch/).

After signing in, select the project/account, partition, wall time, and runtime environment provided for your course or project. A tested Apertus setup used:

* Partition: `Dedicated`
* Runtime image: `nvcr.io/nvidia/pytorch:25.04-py3`
* Advanced options: left empty
* Hardware exposed to the notebook: 4 x NVIDIA GH200 120 GB

For the complete notebook workflow, see [Training Apertus on CSCS Clariden](https://docs.aisl.science/learning-and-resources/training-apertus/cscs-clariden).

When finished, stop the Jupyter server through the Hub control panel. Logging out of JupyterLab alone does not necessarily terminate the underlying Slurm allocation.

## Before you start

You need a CSCS account with MFA, access to a project or course allocation that includes Clariden, and the corresponding Slurm project/account code.

Do not share private SSH keys, passwords, CSCS credentials, Hugging Face tokens, or other secrets.

## SSH and Slurm

SSH remains useful for batch jobs, command-line workflows, and debugging outside JupyterLab.

1. Confirm your allocation at [portal.cscs.ch](https://portal.cscs.ch/).
2. Create a local SSH key if needed.
3. Sign the public key at [user-account.cscs.ch](https://user-account.cscs.ch/).
4. Use the SSH configuration provided by CSCS.
5. Connect with `ssh cscs-clariden`.
6. Run compute workloads through Slurm, not directly on the login node.

A minimal allocation check is:

```bash
srun --account=<PROJECT> hostname
```

## CSCS ML Console

The [CSCS ML Console](https://console.mlp.cscs.ch/) is useful for monitoring jobs, viewing StdOut/StdErr, browsing accessible filesystems, and submitting simple jobs. It is a companion to JupyterHub, SSH, and Slurm rather than a separate compute system.

## Related resources

* [Training Apertus on CSCS Clariden](https://docs.aisl.science/learning-and-resources/training-apertus/cscs-clariden)
* [CSCS SSH documentation](https://docs.cscs.ch/access/ssh/)
* [Clariden documentation](https://docs.cscs.ch/clusters/clariden/)
* [CSCS JupyterLab documentation](https://docs.cscs.ch/software/jupyterlab/)
* [CSCS HPC Console documentation](https://docs.cscs.ch/access/hpc-console/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aisl.science/external-tools-and-services/cscs-clariden.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
