Compile on Raspberry Pi

Install required packages

sudo apt install cmake 
sudo apt install libfftw3-dev libfftw3-doc
sudo apt install -y python3-grpcio python3-grpc-tools

Build ExaDiS/KOKKOS

cd ${OPENDIS_DIR}
rm -rf build/; ./configure.sh -DSYS=rpi
cmake --build build -j 8 ; cmake --build build --target install

Alternatively, you can also copy cmake/sys.cmake.rpi file to cmake/sys.cmake.ext and configure without -DSYS . The cmake/sys.cmake.ext file is not tracked by git so you can feel free to experiment with the settings.

cp cmake/sys.cmake.rpi cmake/sys.cmake.ext
rm -rf build/; ./configure.sh 
cmake --build build -j 8 ; cmake --build build --target install

When compilation is successful, you should see a file like pyexadis.cpython*.so in the core/exadis/python folder.

Run test case (OMP version)

export OMP_NUM_THREADS=8
cd ${OPENDIS_DIR}
cd examples/02_frank_read_src
python3 -i test_frank_read_src_exadis.py