treecode / Bonsai

Bonsai GPU tree code
http://castle.strw.leidenuniv.nl/software/bonsai-gpu-tree-code.html
68 stars 27 forks source link

Bonsai -- A GPU gravitational [BH]-tree code

Copyright [2010-2017] Jeroen Bédorf jeroen@bedorf.net Evghenii Gaburov egaburov@dds.nl

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this code except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

BonsaiSPH

The version of Bonsai that has support for SPH can be found in the BonsaiSPH branch of this repository.

Bonsai demo keys

Bonsai Program arguments

Standard:

Demo specific:

Compile tips and tricks

Using CMake under Linux:

For Demo purposes: cmake -DUSE_CUB=0 -DUSE_DUST=1 -DUSE_OPENGL=1

For production simulations cmake -DUSE_CUB=0 -DUSE_DUST=0

Using MPI under linux: cmake -DCMAKE_CXX_COMPILER=mpicxx

Compilation for Fermi architecture: cmake -DCOMPILE_SM30=0

Compilation for Tesla architecture: Sorry not supported anymore, time to upgrade your hardware!

Compilation with device debugging: cmake -DCUDA_DEVICE_DEBUGGING=1

Build debug configuration: cmake -DCMAKE_BUILD_TYPE=Debug

(Or use ccmake CMakeCache.txt, to alter the properties)