Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
0c65a7a
Roihu updates to Docs CSC
rkronberg Jun 3, 2025
08148d4
Merge branch 'master' into roihu
rkronberg Jun 4, 2025
7f6586c
Merge branch 'master' into roihu
rkronberg Jun 18, 2025
d303316
Merge branch 'master' into roihu
rkronberg Aug 13, 2025
466fc27
Merge branch 'master' into roihu
rkronberg Oct 3, 2025
38013c7
Merge branch 'master' into roihu
rkronberg Oct 23, 2025
6f60a3a
Merge branch 'master' into roihu
rkronberg Jan 8, 2026
77f273e
Merge branch 'master' into roihu
rkronberg Feb 23, 2026
d6efa29
Merge branch 'master' into roihu
rkronberg Mar 12, 2026
7971b64
Roihu migration guide (#2671)
rkronberg Mar 12, 2026
f4afad5
update banner
rkronberg Mar 13, 2026
a0b9c2c
Merge branch 'master' into roihu
rkronberg Mar 13, 2026
e1bc0e2
test Roihu apps tags
rkronberg Mar 16, 2026
94bb263
Merge branch 'roihu' of github.com:CSCfi/csc-user-guide into roihu
rkronberg Mar 16, 2026
4a0a172
fix bolding
rkronberg Mar 16, 2026
db792e9
typo
rkronberg Mar 16, 2026
b9bff26
improve based on comments
rkronberg Mar 16, 2026
1d2d958
Link to public cert helper tool
rkronberg Mar 17, 2026
382bead
clone
rkronberg Mar 17, 2026
080de4e
save link as
rkronberg Mar 17, 2026
4ae6a4b
Merge branch 'master' into roihu
mvsjober Mar 27, 2026
e203a1a
Added PyTorch and vLLM for Roihu
mvsjober Mar 27, 2026
2895208
Fixed vLLM link
mvsjober Mar 27, 2026
68b7764
Fixed errors in vLLM.
mvsjober Mar 27, 2026
300fda0
fix link
rkronberg Mar 31, 2026
a179ad9
Gromacs on Roihu (#2921)
rkronberg Mar 31, 2026
4172161
Merge branch 'master' into roihu
rkronberg Mar 31, 2026
050c0a3
CP2K on Roihu (#2922)
rkronberg Mar 31, 2026
c50805b
Maestro on Roihu (#2923)
rkronberg Mar 31, 2026
79290e8
Add Argos error information for pilot projects
leopekkas Apr 8, 2026
51074ab
Add preliminary information on running, fix links to be dynamic vs. s…
leopekkas Apr 8, 2026
619a010
Add links to Roihu on the computing index page
leopekkas Apr 8, 2026
8fa0e2a
Add sections for installing and running jobs in Roihu
leopekkas Apr 9, 2026
94a5c3a
Fix list formatting
leopekkas Apr 9, 2026
6b8b4d8
Remove specific project id from example Slurm script
leopekkas Apr 9, 2026
d3cbbfa
Fix warning section formatting
leopekkas Apr 9, 2026
55421a7
Add link to relevant docs pages on SSH
leopekkas Apr 10, 2026
3d77f2d
Roihu docs on compiling (#2938)
niemilau Apr 10, 2026
d7c0993
Merge pull request #2934 from CSCfi/roihu-computing
leopekkas Apr 10, 2026
feb29ea
Merge pull request #2932 from CSCfi/roihu-quickstart
leopekkas Apr 13, 2026
712ff66
update python docs for Roihu
Iidahak Apr 13, 2026
357179f
update python docs
Iidahak Apr 13, 2026
f627ea7
add vllm to module list
Iidahak Apr 13, 2026
1e12f98
fix link to geoconda.md
Iidahak Apr 13, 2026
4e17084
update python docs
Iidahak Apr 13, 2026
713faf4
fix python usage guide
Iidahak Apr 13, 2026
0b93512
update python docs
Iidahak Apr 13, 2026
085e076
fix link
Iidahak Apr 13, 2026
f3faf03
Fix broken links in quickstart guide (#2942)
leopekkas Apr 14, 2026
4c888a4
WIP Roihu quickstart guide link fixes (#2943)
leopekkas Apr 14, 2026
c038e13
Add python-geo (#2944)
ktiits Apr 15, 2026
1b96c7e
Merge pull request #2941 from CSCfi/roihu-python-data
Iidahak Apr 16, 2026
dd60999
Roihu docs on affinity (#2936)
trossi Apr 16, 2026
046d71a
Update roihu disk quotas and formatting in tutorials
leopekkas Apr 17, 2026
df06360
Fix formatting and link to the correct CPU compiling section
leopekkas Apr 17, 2026
1a2af31
Update python.md
Iidahak Apr 17, 2026
f388094
Fix formatting, link to roihu applications
leopekkas Apr 20, 2026
34f9e25
roihu base containers
Apr 20, 2026
b2d8141
Merge pull request #2945 from CSCfi/roihu-tutorials
mvsjober Apr 20, 2026
115a0b9
base containers
Apr 20, 2026
cf9f98a
update python.md
Iidahak Apr 20, 2026
d89b18a
update python.md
Iidahak Apr 20, 2026
cb7fb99
Merge pull request #2947 from CSCfi/roihu-python
Iidahak Apr 20, 2026
311e0a2
Changed Roihu to Roihu-GPU for PyTorch, vLLM
mvsjober Apr 21, 2026
8f45fcd
update gpu base container version
Apr 21, 2026
b5fa72b
Create allas-in-roihu.md
kkmattil Apr 21, 2026
fdafa52
add --nv flag
Apr 21, 2026
ceaf34c
Merge branch 'roihu' of github.com:CSCfi/csc-user-guide into roihu
Apr 21, 2026
c5284ff
Update allas-in-roihu.md
kkmattil Apr 21, 2026
430771b
Update index.md
kkmattil Apr 21, 2026
a29d616
Update index.md
kkmattil Apr 21, 2026
045165a
Update allas-in-roihu.md
kkmattil Apr 21, 2026
7e0c9ab
Update allas-in-roihu.md
kkmattil Apr 21, 2026
c55595a
Update allas-in-roihu.md
kkmattil Apr 21, 2026
485a17f
Update allas-in-roihu.md
kkmattil Apr 21, 2026
80e89bc
Apply suggestions from code review
leopekkas Apr 21, 2026
2504eb6
Add suggestion from review
leopekkas Apr 21, 2026
00478c4
Apply suggestion from review
leopekkas Apr 21, 2026
5125649
Fix argos option that breaks automated tests
leopekkas Apr 21, 2026
0e0651c
Roihu ssh ca from windows (#2949)
ktiits Apr 22, 2026
3a1d92a
removed --cleanenv
Apr 22, 2026
5b26c59
Update introduction.md
kkmattil Apr 23, 2026
fcb8299
Add files via upload
jlento Apr 23, 2026
975a1d3
Update user-spack.md
jlento Apr 23, 2026
b20ede1
Update roihu-user-spack.md
jlento Apr 23, 2026
36bcc6a
Update roihu-user-spack.md
jlento Apr 23, 2026
bb4a30a
Update roihu-user-spack.md
jlento Apr 23, 2026
303a13e
fix typo
Apr 23, 2026
5dd9869
Update roihu-user-spack.md
jlento Apr 23, 2026
68c4327
Fixed typos
samiilvonen Apr 23, 2026
9138c4e
Fix formatting in Roihu tutorial
leopekkas Apr 23, 2026
9b5a1e2
Apply suggestion on SSH-CA instructions, prioritize the MyCSC route
leopekkas Apr 23, 2026
01b2cbd
Add up-to-date Python link/fix typo
leopekkas Apr 23, 2026
2b635ca
Fix dynamic links to old SSH headers
leopekkas Apr 23, 2026
6a74a3e
Fixed typos
samiilvonen Apr 23, 2026
be552f6
Update Roihu affinity tutorial
trossi Apr 24, 2026
b7bb675
Merge pull request #2953 from CSCfi/roihu-user-spack-cherries
samiilvonen Apr 24, 2026
7d8da18
Minor fixes to SSH instructions (#2956)
galfthan Apr 24, 2026
299c0f3
Updated Running jobs -> Getting started
Apr 24, 2026
b466ab1
Merge pull request #2959 from CSCfi/roihu-computing-running-getting-s…
sjsillan Apr 24, 2026
beee982
WIP Supercomputer storage/disk sections (#2937)
leopekkas Apr 24, 2026
578d495
Roihu docs for nvhpc (#2954)
trossi Apr 24, 2026
c7aeae1
Point to roihu-disk from compilation instructions
leopekkas Apr 24, 2026
0ecaf12
WIP: Roihu Slurm (#2894)
rkronberg Apr 24, 2026
631ad78
Add Roihu Slurm links to the Getting started tutorial
leopekkas Apr 24, 2026
6b84b92
added roihu info and updated examples
Apr 27, 2026
7e7beb6
link fix
Apr 27, 2026
514805a
available base containers
Apr 27, 2026
fc8b751
typo and phrasing
Apr 27, 2026
d504aba
rephrase
Apr 27, 2026
9de30fe
Roihu sinteractive warning (#2969)
henryjuho Apr 27, 2026
6b8c480
Merge pull request #2971 from CSCfi/roihu-modules
henryjuho Apr 27, 2026
02ceefc
removed sinteractive missing warnings
Apr 28, 2026
8b693c1
info on roihu interactive parititons
Apr 28, 2026
111a436
Document how to connect to compute node
jussienko Apr 28, 2026
46b6d11
upadated example commands
Apr 28, 2026
d0a9c8b
typos
Apr 28, 2026
cc5c5dd
shared node sbof release date (#2973)
henryjuho Apr 28, 2026
7b1d7e1
Update docs/computing/running/interactive-usage.md
henryjuho Apr 28, 2026
aa75c00
Update docs/computing/running/interactive-usage.md
henryjuho Apr 28, 2026
965a6b9
box formatting
Apr 28, 2026
3a41645
Merge pull request #2974 from CSCfi/roihu-sinteractive-added
henryjuho Apr 28, 2026
e49c8c3
Roihu HPC libraries and compiling (#2972)
trossi Apr 28, 2026
2282f22
Update Roihu Slurm instructions (#2976)
leopekkas Apr 28, 2026
f5a52c1
WIP: Roihu user spack tutorial (#2968)
leopekkas Apr 29, 2026
e1ce135
Update vLLM versions
mvsjober Apr 29, 2026
1c7032e
Merge branch 'roihu' into connect-compute-node
jussienko Apr 29, 2026
ca82b16
Add warning about Satama not being in use yet
leopekkas Apr 29, 2026
b467fb8
Small text improvements based on review
jussienko Apr 29, 2026
cb26e04
Merge branch 'master' into roihu
leopekkas Apr 29, 2026
b98d722
Update python-data.md
Iidahak Apr 29, 2026
33f518d
Update python-data.md
Iidahak Apr 29, 2026
1e0e139
Fix Roihu SSH instructions (#2978)
leopekkas Apr 29, 2026
e65e1b4
Update python-data.md
Iidahak Apr 29, 2026
a38ca77
Merge pull request #2980 from CSCfi/python-updates
Iidahak Apr 29, 2026
e15b2b5
Update OpenMPI version in cp2k.md
nruneberg Apr 29, 2026
edd97df
Merge pull request #2977 from CSCfi/connect-compute-node
jussienko Apr 29, 2026
dd1925c
Include Roihu and improve the documentation
jussienko Apr 29, 2026
15fea5d
Add Roihu and improve description a bit
jussienko Apr 29, 2026
a0be52d
Include Roihu and improve a bit
jussienko Apr 29, 2026
9d82272
Add Roihu and improve the description
jussienko Apr 29, 2026
b18ec57
Roihu ML base container (#2981)
mvsjober Apr 29, 2026
780b694
Update Roihu Slurm docs (#2982)
leopekkas Apr 29, 2026
6a04420
Fix links
jussienko May 4, 2026
7cb6ac4
Apply suggestions from code review
jussienko May 5, 2026
197032b
Update version information for compute-sanitizer
jussienko May 5, 2026
11299fe
WIP: Fix Roihu details in docs (#2985)
leopekkas May 5, 2026
96184b6
Merge pull request #2983 from CSCfi/roihu-debugging
jussienko May 6, 2026
2e8b7ef
sbf exclusive use clarification (#2991)
henryjuho May 6, 2026
bd0511c
warning to avoid mixing archictures on roihu
May 7, 2026
c77a766
Roihu user spack tough case (#2989)
jlento May 7, 2026
9424b94
Update tykky.md
Iidahak May 7, 2026
728ce6b
Update tykky.md
Iidahak May 7, 2026
0b81897
Update roihu-user-spack.md
jlento May 8, 2026
dc06edf
Update tykky.md
Iidahak May 8, 2026
1bbcb27
Update tykky.md
Iidahak May 8, 2026
45ac6ab
Update tykky.md
Iidahak May 8, 2026
e679598
Update docs/computing/containers/tykky.md
Iidahak May 8, 2026
f3e2ba9
Update docs/computing/containers/tykky.md
Iidahak May 8, 2026
9db8b2b
Merge pull request #2995 from CSCfi/uv-feature-tykky
Iidahak May 8, 2026
c9d0477
Roihu updates to GIS tutorials (#3001)
ktiits May 11, 2026
9013431
Replaced Mahti references to Roihu.
May 12, 2026
94e69bd
Added Roihu related IP-info and removed references to Puhti.
May 12, 2026
273ace0
sbf exclusive warning added to script page (#3000)
henryjuho May 18, 2026
faa4697
Merge branch 'master' into roihu
leopekkas May 18, 2026
343541b
julia documentation for roihu
May 19, 2026
f917c7f
matlab documentation for roihu
May 19, 2026
9a68cd5
update roihu containers
May 20, 2026
0a6ff61
Merge branch 'master' of github.com:CSCfi/csc-user-guide into roihu
May 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions csc-overrides/assets/snippets/graphical-connection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
!!! info "Note"
For performance reasons, we generally recommend using the
[HPC web interfaces](/computing/webinterface/index.md) to run applications which
require displaying graphics.
4 changes: 4 additions & 0 deletions csc-overrides/assets/snippets/ssh-agent-forwarding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
!!! warning "Note"
You should only forward your SSH agent to remote servers that you trust and
only when you really need it. Forwarding your SSH agent by default to any
server you connect to is considered insecure.
8 changes: 8 additions & 0 deletions csc-overrides/assets/snippets/ssh-ca.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
!!! warning "SSH certificates are required to connect to Roihu over SSH"

To connect to Roihu, users must sign their public key in MyCSC to obtain a
time-based SSH certificate. Each certificate is valid for 24 hours, and
once it expires, a new one must be generated by signing the public key
again.

[Read the detailed instructions on signing your public key](/computing/connecting/ssh-keys.md#signing-public-key).
8 changes: 8 additions & 0 deletions csc-overrides/assets/snippets/using-ssh-keys.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
!!! info "Using SSH keys"
See the page on [setting up SSH keys](/computing/connecting/ssh-keys.md)
for general information about using SSH keys and certificates for
authentication. Please note that it is mandatory to add your public key to
MyCSC – copying it directly to a CSC supercomputer does not work!

Supported key types are Ed25519 and RSA 4096 through 16384. **We strongly
recommend Ed25519**.
18 changes: 13 additions & 5 deletions docs/apps/compute-san.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,30 @@ catalog:
available_on:
- Puhti
- Mahti
- Roihu
---

# compute-sanitizer: functional correctness checking suite for CUDA programs

## Available

- Puhti: 2022.2.0
- Mahti: 2021.3.0
- Puhti: version depends on the CUDA environment
- Mahti: version depends on the CUDA environment
- Roihu-GPU: version depends on the CUDA environment

## License

Usage is possible for both academic and commercial purposes.

## Usage

[compute-sanitizer](https://docs.nvidia.com/cuda/compute-sanitizer/index.html) is a functional correctness checking suite included in the CUDA toolkit (starting from version 11).
[compute-sanitizer](https://docs.nvidia.com/cuda/compute-sanitizer/index.html) is a functional correctness checking suite included in the CUDA toolkit (`cuda` module needs to be loaded).
In order to use the tool, the CUDA code has to be compiled with the extra flags
`-g` and `-G`.

Debugging is started in an [interactive session](../computing/running/interactive-usage.md)
by running:
Running the tool can be done either in an [interactive session](../computing/running/interactive-usage.md) or in a
[batch job](../computing/running/submitting-jobs.md). The application is started as (prepend `compute-sanitizer` by `srun`
in a batch job):

```bash
compute-sanitizer --tool <tool> ./cuda_program
Expand All @@ -44,3 +47,8 @@ where `<tool>` is one of the several sub-tools for different type of checks:
* `initcheck`: can report cases where the GPU performs uninitialized accesses to global memory

* `synccheck`: can report cases where the application is attempting invalid usages of synchronization primitives

!!! info
Sometimes external libraries (e.g. MPI) generate a lot of false positives


117 changes: 89 additions & 28 deletions docs/apps/cp2k.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ catalog:
- LUMI
- Puhti
- Mahti
- Roihu
---

# CP2K
Expand All @@ -22,6 +23,28 @@ parallel quantum chemistry calculations, in particular for AIMD.

## Available

=== "Roihu-CPU"
| Version | Available modules | Notes |
|:-------:|:------------------|:-----------:|
|2025.1 |`cp2k/2025.1` | CPU version |
|2025.2 |`cp2k/2025.2` | CPU version |
|2026.1 |`cp2k/2026.1` | CPU version |

=== "Roihu-GPU"
| Version | Available modules | Notes |
|:-------:|:------------------|:-----------:|
|2025.1 |`cp2k/2025.1` | GPU version |
|2025.2 |`cp2k/2025.2` | GPU version |
|2026.1 |`cp2k/2026.1` | GPU version |

=== "LUMI"
| Version | Available modules | Notes |
|:-------:|:---------------------------------|:---------------------:|
|2024.3 |`cp2k/2024.3`<br>`cp2k/2024.3-gpu`| GPU version available |
|2025.1 |`cp2k/2025.1`<br>`cp2k/2025.1-gpu`| GPU version available |
|2025.2 |`cp2k/2025.2`<br>`cp2k/2025.2-gpu`| GPU version available |
|2026.1 |`cp2k/2026.1`<br>`cp2k/2026.1-gpu`| GPU version available |

=== "Puhti"
| Version | Available modules | Notes |
|:-------:|:------------------|:-----:|
Expand All @@ -45,14 +68,6 @@ parallel quantum chemistry calculations, in particular for AIMD.
|2024.2 |`cp2k/2024.2` | |
|2025.1 |`cp2k/2025.1` | |

=== "LUMI"
| Version | Available modules | Notes |
|:-------:|:---------------------------------|:---------------------:|
|2024.3 |`cp2k/2024.3`<br>`cp2k/2024.3-gpu`| GPU version available |
|2025.1 |`cp2k/2025.1`<br>`cp2k/2025.1-gpu`| GPU version available |
|2025.2 |`cp2k/2025.2`<br>`cp2k/2025.2-gpu`| GPU version available |
|2026.1 |`cp2k/2026.1`<br>`cp2k/2026.1-gpu`| GPU version available |

## License

CP2K is freely available under the GPL license.
Expand Down Expand Up @@ -91,43 +106,50 @@ double the number of cores the calculation should be at least 1.5 times faster.

### Example batch scripts

=== "Puhti (MPI only)"
=== "Roihu-CPU (hybrid MPI/OpenMP)"

```bash
#!/bin/bash
#SBATCH --time=00:10:00
#SBATCH --ntasks-per-node=40
#SBATCH --nodes=2
#SBATCH --mem-per-cpu=2GB
#SBATCH --partition=large
#SBATCH --time=00:05:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=96 # maximum 384
#SBATCH --cpus-per-task=4 # 384 / ntasks-per-node
#SBATCH --partition=medium
#SBATCH --account=<project>
#SBATCH --hint=nomultithread

module purge
module load gcc/14.2.0 openmpi/5.0.6
module load cp2k/2025.1
module load gcc/15.2.0 openmpi/5.0.10
module load cp2k/2026.1

srun cp2k.psmp H2O-64.inp > H2O-64.out
srun cp2k.psmp H2O-512.inp > H2O-512.out
```

=== "Mahti (mixed MPI/OpenMP)"
=== "Roihu-GPU (full GPU node)"

```bash
#!/bin/bash
#SBATCH --time=00:05:00
#SBATCH --ntasks-per-node=32 # 2 - 128
#SBATCH --cpus-per-task=4 # 128 / ntasks-per-node
#SBATCH --nodes=2
#SBATCH --partition=test
#SBATCH --time=00:10:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=64
#SBATCH --cpus-per-task=4
#SBATCH --gres=gpu:gh200:4
#SBATCH --partition=gpumedium
#SBATCH --account=<project>
#SBATCH --hint=nomultithread

module purge
module load gcc/14.2.0 openmpi/5.0.6
module load cp2k/2025.1
module load gcc/13.4.0 openmpi/5.0.10
module load cp2k/2026.1

export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export OMP_PLACES=cores
export OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK}

srun cp2k.psmp H2O-64.inp > H2O-64.out
# Nvidia multi-process service (MPS) required to run multiple tasks per GPU
nvidia-cuda-mps-control -d

srun cp2k.psmp H2O-dft-ls.inp > H2O-dft-ls.out

echo quit | nvidia-cuda-mps-control
```

=== "LUMI-G (full GPU node)"
Expand Down Expand Up @@ -171,6 +193,45 @@ double the number of cores the calculation should be at least 1.5 times faster.
separate GPU, you can reserve up to 8 "GPUs" per node. See more details
in [LUMI Docs](https://docs.lumi-supercomputer.eu/hardware/lumig/).

=== "Puhti (MPI only)"

```bash
#!/bin/bash
#SBATCH --time=00:10:00
#SBATCH --ntasks-per-node=40
#SBATCH --nodes=2
#SBATCH --mem-per-cpu=2GB
#SBATCH --partition=large
#SBATCH --account=<project>

module purge
module load gcc/14.2.0 openmpi/5.0.6
module load cp2k/2025.1

srun cp2k.psmp H2O-64.inp > H2O-64.out
```

=== "Mahti (hybrid MPI/OpenMP)"

```bash
#!/bin/bash
#SBATCH --time=00:05:00
#SBATCH --ntasks-per-node=32 # 2 - 128
#SBATCH --cpus-per-task=4 # 128 / ntasks-per-node
#SBATCH --nodes=2
#SBATCH --partition=test
#SBATCH --account=<project>

module purge
module load gcc/14.2.0 openmpi/5.0.6
module load cp2k/2025.1

export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export OMP_PLACES=cores

srun cp2k.psmp H2O-64.inp > H2O-64.out
```

### Performance notes

#### Mahti
Expand Down
8 changes: 5 additions & 3 deletions docs/apps/cuda-gdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ catalog:
available_on:
- Puhti
- Mahti
- Roihu
---

# cuda-gdb: CUDA debugger
Expand All @@ -18,6 +19,7 @@ catalog:

- Puhti: 10.2
- Mahti: 10.1
- Roihu-GPU

## License

Expand All @@ -32,14 +34,14 @@ CUDA programs.
In order to use tool the CUDA code has to be compiled with the extra flags
`-g` and `-G`.

Next in an [interactive session](../computing/running/interactive-usage.md) one needs to
Next, in an [interactive session](../computing/running/interactive-usage.md) one needs to
first load the CUDA module:

```bash
module load cuda
```

and then the debugging can be started by running:
and then start the application under debugger by running:

```bash
cuda-gdb ./cuda_program
Expand All @@ -52,6 +54,6 @@ specific to CUDA debugging:
* Focus Commands: Commands to query or switch the focus of the debugger
* Configuration Commands: Commands to configure the CUDA-specific commands

Out of bonds accesses can be checked inside the debugger by activating
Out of bounds accesses can be checked inside the debugger by activating
the memory checker with `set cuda memcheck on`. Alternatively the `cuda-memcheck` or [`compute-sanitizer`](compute-san.md)
tool can be used outside of the debugger (`cuda-memcheck ./cuda_program` or `compute-sanitizer ./cuda_program`).
17 changes: 11 additions & 6 deletions docs/apps/gdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ catalog:
available_on:
- Puhti
- Mahti
- Roihu
---

# gdb: GNU Debugger
Expand All @@ -18,6 +19,7 @@ catalog:

- Puhti
- Mahti
- Roihu-CPU

## License

Expand All @@ -34,18 +36,21 @@ correct the effects of a bug.
In order to use the debugger the program has to be compiled with `-g` flag to
enable symbolic debugging.

The debugger can either start a new process or attach to a running process.

Example of starting a new process to be debugged:
One can either start the application under the debugger, or attach the debugger
to a running application.

In order to start the application under the debugger, launch first an
[interactive session](../computing/running/interactive-usage.md) and execute then:
```
gdb --tui ./myexecutable
```

Example of attaching to an existing process (with process ID `pid`):

In order to attach to a running application,
[connect first to a compute node](../computing/running/interactive-usage.md#connecting-to-a-compute-node-of-a-running-job).
Next, you need to find the process ID `<pid>` e.g. by running the command `ps ux`,
attach then debugger to that:
```
gdb --tui ./myexecutable pid
gdb --tui ./myexecutable <pid>
```

If additional arguments are needed for the program, one can use the option
Expand Down
2 changes: 2 additions & 0 deletions docs/apps/geoconda.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ The `geoconda` module is available:

Version number is the same as the Python version.

In Roihu geoconda is renamed to [python-geo](python-geo.md)

## Usage

When using in LUMI, run this first:
Expand Down
Loading