I am trying to install the thirdorder script that is mean to work in tandem with ShengBTE on an Ubuntu OS, but I'm getting the following error:
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:559:10: fatal error: spglib/spglib.h: No such file or directory
559 | #include "spglib/spglib.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
Please direct me how to solve this.
bash ./compile.sh
. However, if you have installed spglib to a nonstandard directory, you will have to perform some simple editing on setup.py so that the compiler can find it. Please refer to the comments in that file." This looks to be the issue you are having, so you would need to install spglib and let the program know where it is by editing setup.py. $\endgroup$