Install Phylanx on Fedora

Install

Install system libs

sudo dnf install pybind11-devel

Install blaze

cd /home/diehlpk/Compile
git clone https://bitbucket.org/blaze-lib/blaze.git
cd blaze
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/home/diehlpk/opt/blaze/
make install

Install Phylanx

Note that you have to install HPX with the tutorial here. It is important that you add -DHPX_WITH_MALLOC=system to the cmake command.

git clone https://github.com/STEllAR-GROUP/phylanx.git
cd phylanx
mkdir build
cd build
cmake -DHPX_DIR=/home/diehlpk/git/hpx/build/lib/cmake/HPX/ -DCMAKE_BUILD_TYPE=RelWithDebInfo  -DHPX_IGNORE_COMPILER_COMPATIBILITY=ON -Dblaze_DIR=/home/diehlpk/opt/blaze/share/blaze/cmake/ -DCMAKE_INSTALL_PREFIX=/home/diehlpk/opt/python-base/ ..
make -j 20
make install

Export Phylanx to the Python userbase

export PYTHONUSERBASE=/home/diehlpk/opt/python-base/
python example.py