treecode / Bonsai

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

missing: mpi.h #42

Closed twobombs closed 4 years ago

twobombs commented 4 years ago

next up:

cmake sets the enviroment yet make causes an include fail : mpi.h

installed anything that I could find on mpi.h, but to no avail. again on ubuntu 20.04

Screenshot from 2020-11-06 20-08-30

Any ideas here ? ( background: I'm trying to build this project to see if I can use the output of Qrack, a quantum computer simulator, on the nbody functions. )

jbedorf commented 4 years ago

If you want MPI support you have to specify the MPI compiler as follows: Using MPI under linux: cmake -DCMAKE_CXX_COMPILER=mpicxx

If you don't want MPI support (so single GPU only), then disable the MPI options in the CMake config via the ccmake program, eg: ccmake .

twobombs commented 4 years ago

Thanks, will look into my options. Looking into using a K80 Tesla ( dual GPU ) Also: when I get this working it will be Dockerized/Containerized, so that could be something back in return :)