Skip to content

karray/n_body

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parallel N-Body Simulations

This is a simple example of an all-Pairs N-Body algorithm using OpenCL for simulation.

Prerequisites

  • python3
  • OpenCL
  • pyopencl, websockets and numpy packages

Usage

Starting OpenCL server

cd server
python3 server.py ../data/htw.csv

Starting web server

cd web
python3 -m http.server

Browse to https://127.0.0.1:8000