Hello everyone,
I am trying to set up thirdorder for ShengBTE, but I encountered the following error during compilation:
In file included from /home/makyo/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929,
from /home/makyo/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/makyo/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy/arrayobject.h:5,
from thirdorder_core.c:1261:
/home/makyo/anaconda3/lib/python3.11/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
thirdorder_core.c:1266:10: fatal error: spglib/spglib.h: No such file or directory
1266 | #include "spglib/spglib.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
It seems that the compiler cannot find spglib/spglib.h. I have installed spglib via pip and also checked my Anaconda environment, but the issue persists.
I would appreciate any suggestions on how to resolve this. Should I manually set the include path, or is there a specific way to install spglib for ShengBTE?
Thanks in advance!