---
# System prepended metadata

title: Bring your own code

---

Lab notes
===================

Preferred software stack
------------------------
The suggested software stack is based on

```
module load nvhpc/24.3
module load cuda/12.3
module load openmpi/4.1.6--nvhpc--24.3
```

You can also test hpcx as MPI implementation (suggested for Allreduce operations)

```
module load /leonardo/prod/spack/5.2/install/0.21/linux-rhel8-icelake/gcc-8.5.0/nvhpc-24.3-v63z4inohb4ywjeggzhlhiuvuoejr2le/modulefiles/nvhpc-hpcx-cuda11/24.3
```

:exclamation: To look for an installation, you can use the following command

``modmap -m <installation-name>``

Enable passwordless copies/ssh 
-------------------------------

from login node
```
ssh-keygen 
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
```
Participant notebook
---------------------

- [COSMICA](https://hackmd.io/cXE0RDllTjmt0V3qozz37w)
- [POLIMI](https://hackmd.io/q_a37O5eQ3u5-ORw8fdskQ)
- [TDDFT on GPUs through CuPy](/vDxuSVxfRzG_DXvcrhaq-A)
- [Porting FDTD code from CPU to GPU](/TWG6XZVzQ4uBDfJiwgXByw)
- [Jacobi challenge by Simo & David](/rEH9zDu1RAK4xhwNrBVpKA)
- [Team Ordbogen (Jacob, Mads & Peter)](/KF2jTPlbR0id7bSqagavdw)
- [LLM training by Ilya](/5v9PlKOrRtqzifYS12k0LQ)
- [N-body solver with CUDA-MPI by Leo & Pasqualoni](https://hackmd.io/6bEXD9bbQBqAMXF3ANrq7A)
- [NCCL by Francesco](/_htwcetYTmqg-h5cXD0eYA)
