Hello,
Thank you very much for your reply.
I have tried both pre cxx11 and cxx11 libtorch packages without success as in the updated OP. I think you are suggesting something similar to setting D_GLIBCXX_USE_CXX11_ABI=0 in gcc. I still looking for how to do that in clang.