A Barnes-hut simulator written in Regent.
- A working build of Regent with HDF5 support enabled
- (Optional) Gasnet for multi-node simulations
- 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>
- 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