Skip to content

physarumAdv/minds_crawl

Repository files navigation

Mind's Crawl

Codacy Badge Ubuntu build

This is a simulation of Physarum Polycephalum, written in CUDA, but can be compiled for CPU execution with NVCC.

Compiling

Before compiling the project, clone the repository with the submodules:

git clone https://github.com/physarumAdv/minds_crawl.git --recursive
cd minds_crawl

To compile (the produced executable will require an NVidia GPU to run):

mkdir cmake-build-release && cd cmake-build-release
cmake ..
cmake --build . -- -j`nproc`

Note that there is also a way to produce an executable which will only use CPU for running, however it's highly unrecommended to use this mode for any purposes but debugging:

mkdir cmake-build-debug && cd cmake-build-debug
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOMPILE_FOR_CPU=ON
cmake --build . -- -j`nproc`

Executing

To run the application, you have to:

  1. Start a visualization app (we recommend this one)

  2. Create a directory config in the process's working directory with a file visualization_endpoint.txt inside it, containing 2 urls which accepts the simulated data (the first url for particles and the second for polyhedron. An example is in config/visualization_endpoint_example.txt)

Authors

Nikolay Nechaev, nikolay_nechaev@mail.ru

Tatiana Kadykova, tanya-kta@bk.ru

Paul Artushkov, pavTiger@gmail.com

Olga Starunova, o.a.starunova@gmail.com

About

Physarum polycephalum growth simulator on polyhedron surfaces written in NVidia CUDA C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •