ADIOS2 adios2-config include paths are wrong after installation
Created by: khuck
After installing ADIOS2 (on Linux, using MPICH 3.3 and GCC 8.1), the include paths are not correct. For example, the output from adios2-config --cxx-flags is:
-isystem /storage/users/khuck/src/ADIOS2/install_mpi/include -std=gnu++11
But I get this error when trying to build with the installed library:
In file included from Tau_plugin_adios2.cpp:26:
/storage/users/khuck/src/ADIOS2/install_mpi/include/adios2.h:18:10: fatal error: cxx11/ADIOS.h: No such file or directory
#include "cxx11/ADIOS.h"
^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tau_plugin_adios2.o] Error 1
make[2]: *** Waiting for unfinished jobs....
...probably because the full include path should be "adios2/cxx11/ADIOS.h", or the installation should be fixed, or the output from adios2-config should be:
-isystem -I/storage/users/khuck/src/ADIOS2/install_mpi/include -I/storage/users/khuck/src/ADIOS2/install_mpi/include/adios2 -std=gnu++11