Thank you. I find the problem is:
root [0] #include <xtensor/xarray.hpp>
ROOT_prompt_0:1:10: fatal error: ‘xtensor/xarray.hpp’ file not found
#include <xtensor/xarray.hpp>
I followed the previous question. So I checked
root [6] .I
-I
/cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.20.00/x86_64-ubuntu18-gcc74-opt/etc/
-I
/cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.20.00/x86_64-ubuntu18-gcc74-opt/etc//cling
-I
/cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.20.00/x86_64-ubuntu18-gcc74-opt/include/
-cxx-isystem
/usr/include/c++/7
-cxx-isystem
/usr/include/x86_64-linux-gnu/c++/7
-cxx-isystem
/usr/include/c++/7/backward
-isystem
/usr/local/include
-isystem
/cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.20.00/x86_64-ubuntu18-gcc74-opt/etc//cling/lib/clang/5.0.0/include
-extern-c-isystem
/usr/include/x86_64-linux-gnu
-extern-c-isystem
/include
-extern-c-isystem
/usr/include
-I
/cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.20.00/x86_64-ubuntu18-gcc74-opt/include
-resource-dir
/cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.20.00/x86_64-ubuntu18-gcc74-opt/etc//cling/lib/clang/5.0.0
-fmodule-cache-path
/tmp/org.llvm.clang.s6kagupt/ModuleCache
-nostdinc++
and I tried with
root [7] gSystem->AddIncludePath("/usr/local/include")
root [8] #include <xtensor/xarray.hpp>
ROOT_prompt_8:1:10: fatal error: ‘xtensor/xarray.hpp’ file not found
#include <xtensor/xarray.hpp>
**^~~~~~~~~~~~~~~~~~~~**