MFEM Codevelop missing caliper include directories
chapman39 opened this issue · comments
Alex Tyler Chapman commented
In file included from /usr/WS2/meemee/serac/repo/mfem/fem/../general/forall.hpp:16:
/usr/WS2/meemee/serac/repo/mfem/fem/../general/annotation.hpp:19:10: fatal error: 'caliper/cali.h' file not found
#include <caliper/cali.h>
^~~~~~~~~~~~~~~~
Reproducer:
./config-build.py -hc host-configs/quartz-toss_4_x86_64_ib-clang@14.0.6.cmake \
-bt Release \
-bp build1 \
-ip install1 \
-DSERAC_ENABLE_BENCHMARKS=ON \
-DSERAC_ENABLE_PROFILING=ON \
-DSERAC_ENABLE_CODEVELOP=ON
cd ./build1
s1 -t10 time make -j
Adding this in setup third party resolves the issue
find_package(caliper REQUIRED NO_DEFAULT_PATH PATHS ${CALIPER_DIR})
list(APPEND CALIPER_INCLUDE_DIRS ${CALIPER_DIR}/include)