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

slow sparse matrix calculations #85

Open
StudenT115 opened this issue Jan 10, 2025 · 0 comments
Open

slow sparse matrix calculations #85

StudenT115 opened this issue Jan 10, 2025 · 0 comments

Comments

@StudenT115
Copy link

Dear Developer,

I have been working with the DeepH-E3 model, specifically using the inference task[5] in the deepH-pack for sparse matrix calculations of the band structure. The system I'm working with is a transition metal dichalcogenide, with 6738 atoms and no SOC. Both elements in the system have orbital basis functions of s3p2d2. I’ve set num_bands = 40, and I’m using a machine with 128 cores and 256 threads (set with export OMP_NUM_THREADS=256 and export JULIA_NUM_THREADS=256).

However, I’m experiencing very slow performance. The computation time for one point is around 20 minutes when there are 6738 atoms without SOC, and 35 minutes when there are 9000 atoms without SOC. The process seems quite slow, especially considering I need to calculate the band structure with SOC for a system of 20,000 atoms later on.

I was wondering if there are any parameters I might have overlooked or configurations that could improve the performance. Below are my inference.ini and band.json files for reference.

Thank you for your help!

Best regards
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant