fa26-cs759 cs759
Assignment 4: N-body Simulation and OpenMP Scheduling Assignment 4: N-body Simulation and OpenMP Scheduling
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readAssignment 4: N-body Simulation and OpenMP Scheduling
Submission and Euler setup
Introduction: the N-body problem
Force calculation
Time integration
Initial conditions
Problem 1: Review and run the Python simulation
(a) Install dependencies
(b) Run the simulation
Problem 2: Port the simulation to C++
(a) Complete task2.cpp
Problem 3: Parallelize with OpenMP
(a) Write task3.cpp
Problem 4: Compare OpenMP scheduling policies
(a) Try three policies
(b) Benchmark on Euler via Slurm