Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

readme.md

Barnes Hut

A Barnes-hut simulator written in Regent.

Requirements

  1. A working build of Regent with HDF5 support enabled
  2. (Optional) Gasnet for multi-node simulations

Getting started

  1. Convert input bodies csv to hdf5 format via hdf5_converter.rg (see sample datasets in input folder for desired format):
    • /regent.py hdf5_converter.rg -i <path_to_input_csv> -o <desired_path_to_output_hdf5_file> -n <number_of_bodies_in_input_file>
  2. Run Barnes-Hut simulation:
    • Using the regent interpreter directly: /regent.py barnes_hut.rg -i <path_to_input_hdf_file> -n <number_of_bodies_in_input_file>
    • Compiling first: SAVEOBJ=1 /regent.py barnes_hut.rg, and then call the built binary with the same options as above

About

A Barnes-Hut simulation in Regent

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.