# This Qthreads back-end uses an experimental branch of the Qthreads repository with special #define options.
# Cloning repository and branch:
git clone git@github.com:Qthreads/qthreads.git qthreads
cd qthreads
# checkout branch with "cloned tasks"
git checkout dev-kokkos
# Configure/autogen
sh autogen.sh
# configure with 'hwloc' installation:
./configure CFLAGS="-DCLONED_TASKS -DQTHREAD_LOCAL_PRIORITY" --with-hwloc=${HWLOCDIR} --prefix=${INSTALLDIR}
# install
make install