I tried to compile and install ttg from a docker (barely minimal environment: base ubuntu + Open MPI, gcc, g++, HWLOC).
Things compile, and I could install in /usr, but when trying to compile an external project using TTG, I got the following error:
In file included from /usr/include/ttg/util/meta/callable.h:12,
from /usr/include/ttg/parsec/ttg.h:26,
from /usr/include/ttg.h:31,
from /home/tesse/tutorial/simple.cc:1:
/usr/include/ttg/external/boost/callable_traits.hpp:12:10: fatal error: boost/callable_traits/detail/core.hpp: No such file or directory
12 | #include <boost/callable_traits/detail/core.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
boost/callabale_traits/details/core.hpp is located in /usr/include/ttg/external, but this directory is not added to the list of include directories for TTG targets. When I add it to the target_include_directories of the targets of my external project, things compile and work.
I will try to hunt where the missing include directories should be / what options it should use to expose that directory to the dependencies... I'm opening this issue to check if someone knows this right away :)
I tried to compile and install ttg from a docker (barely minimal environment: base ubuntu + Open MPI, gcc, g++, HWLOC).
Things compile, and I could install in
/usr, but when trying to compile an external project using TTG, I got the following error:boost/callabale_traits/details/core.hppis located in/usr/include/ttg/external, but this directory is not added to the list of include directories for TTG targets. When I add it to thetarget_include_directoriesof the targets of my external project, things compile and work.I will try to hunt where the missing include directories should be / what options it should use to expose that directory to the dependencies... I'm opening this issue to check if someone knows this right away :)