---
# System prepended metadata

title: Leo & Pasqualoni - n-Body Problem Simulation

---

Implementing an n-body problem simulation in CUDA + MPI, starting at 9.15 of 30-10.

https://github.com/DaXor-0/ThreeBodyProblemSimulation

We implemented the full simulation with MPI and we optimized it a little bit.
Also the (clunky) gif generator works.

https://imgur.com/a/b5EHlDT
(example with 3 bodies)

Today (31-10) we'll port it to cuda and start analyzing it's performances.

