Out of memory issue while running diagonalization

Deals with issues related to computation of optical spectra, solving the Bethe-Salpeter equation.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano

Post Reply
Priyanka
Posts: 7
Joined: Thu May 11, 2023 5:27 pm

Out of memory issue while running diagonalization

Post by Priyanka » Fri Jan 19, 2024 12:59 pm

Dear Experts

I'm experiencing difficulties with diagonalization due to an out of memory issue but not with haydock. I would like to examine excitons in more detail that's why I'm using diagonalization method here. Kindly find the attached files herein and help me to understand the problem and how to solve the same.

Thanks in advance
With warm regards
Priyanka
University of Modena and Reggio Emilia
Italy.
You do not have the required permissions to view the files attached to this post.

User avatar
Daniele Varsano
Posts: 3816
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Out of memory issue while running diagonalization

Post by Daniele Varsano » Fri Jan 19, 2024 1:10 pm

Dear Priyanka,

it seems you have a very large BSE matrix and from the file you posted (report) the calculation stop when building the kernel and not when diagonalizing it. Here I can be wrong, as it is possible that the kernel building step is not reported in the report because of buffering and the log file should be inspected.

Some suggestions:
if the problem is the kernel building:
1. Try to reduce the number of bands included in the kernel hoping to not lose too much accuracy
2. If you have not yet done, you can recompile Yambo using the option --enable-memory-profile when configuring, this will provide in the log file an approximation of the memory needed and you can then tune the number of nodes needed for completing the calculation

if the problem is in the diagonalization, I think you need to resort to the slepc method. Also note that in the current version, I suspect that parallel algebra for diagonalization is not supported when using GPUs.

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

Post Reply