I encountered a problem when I performed a CASTEP geometry optimization, and I tried many methods but did not solve it. Please give me some help in your free time, thank you very much. I put some files and error information below for you to find the problem. Thank you again for your help.