Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When compiling GPU-lcao, I encountered cusolvermp header file problem. #5809

Open
tang070205 opened this issue Jan 4, 2025 · 6 comments
Open
Labels
Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS GPU & DCU & HPC GPU and DCU and HPC related any issues

Comments

@tang070205
Copy link

Image_1735983212807.png

Image_1735983215432.png

Image_1735983218412.png

make[1]: *** [CMakeFiles/Makefile2:1629: source/module_hsolver/CMakeFiles/diag_cusolver.dir/all] Error 2

I encountered the above error when compiling gpu-lcao. The installation process of cusolvermp used was based on official website. How to change it?

@tang070205
Copy link
Author

Image
I have since installed cal and hpc-x, but there is still libucc.so.1 with undefined content

@QuantumMisaka
Copy link
Collaborator

@goodchong Any advice ?

@QuantumMisaka QuantumMisaka added GPU & DCU & HPC GPU and DCU and HPC related any issues Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS labels Jan 5, 2025
@dzzz2001
Copy link
Collaborator

dzzz2001 commented Jan 5, 2025

Can you output the location of the libucs library files on your system? This issue seems to be caused by not finding the correct libucs library.

@dzzz2001
Copy link
Collaborator

dzzz2001 commented Jan 5, 2025

You can also use the ldd command to display the shared library dependencies of libucc.so.

@tang070205
Copy link
Author

tang070205 commented Jan 5, 2025

You can also use the ldd command to display the shared library dependencies of libucc.so.

I know what problem I'm having, after he extracted it from the zip, I can see it using the ls command, but I can't find the folder list information on the left side, I'll go searching for how to fix this, for example the following image
Image

@tang070205
Copy link
Author

I know the solution to this problem, I need to link it manually
ln -s libucs.so.0.0.0 linucs.so.0
ln -s libucm.so.0.0.0 linucm.so.0
ln -s libucc.so.1.0.0 linucc.so.1
ln -s libcal.so.0.4.4.0 libcal.so
ln -s libcal.so.0.4.4.0 libcal.so.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS GPU & DCU & HPC GPU and DCU and HPC related any issues
Projects
None yet
Development

No branches or pull requests

3 participants