BSE diagonalization with GPU and BSE gauge

Various technical topics such as parallelism and efficiency, netCDF problems, the Yambo code structure itself, are posted here.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

Post Reply
edward
Posts: 7
Joined: Mon Dec 12, 2022 8:15 am
Location: UK

BSE diagonalization with GPU and BSE gauge

Post by edward » Sun Jun 16, 2024 2:09 pm

Dear Developer,

I'm wondering if the BSE diagonalization is using the GPU backend like cuSolver for acceleration and also if the BSE gauge is all based on the wave function in IBZ. If the rotation of the wave function has been done, how does the rotation operation affect the wave function gauge?

Best,
Mingran
Mingran Kong, Materials Science and Metallurgy, University of Cambridge

User avatar
Davide Sangalli
Posts: 624
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: BSE diagonalization with GPU and BSE gauge

Post by Davide Sangalli » Fri Jun 21, 2024 10:27 am

Dear Mingran,
the GPU back-hand for the diago solver is under development and not yet released.
Since version 5.2 it is possible to use the slepc solver on GPUs however, provided that the Slepc library is compiled with GPU support.

The BSE is defined in the whole BZ, taking the WFs in the IBZ and expanding them via symmetry operations before computing the matrix elements.

As you mention, WFs at each k-point are defined up to an arbitrary phase factor.
This phase factor is random, e.g. for the points in the IBZ it results from the diagonalization of the DFT code. When WFs are expanded the phase factor for the points in the BZ derives from the original phase factor in the IBZ and from the symmetry operation used. Accodringly, it is important to always use the same symmetry operation when computing WFs at points outside the IBZ.

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

edward
Posts: 7
Joined: Mon Dec 12, 2022 8:15 am
Location: UK

Re: BSE diagonalization with GPU and BSE gauge

Post by edward » Sun Jun 23, 2024 2:10 pm

Dear Davide,

Thanks for your kind reply! Looking forward to the GPU-accelerated solver in the future version!
As for the BSE gauge, would it be possible to get a set of wavefunctions on denser k points in the FBZ and much fewer bands solely for BSE kernel construction and el-ph coupling if ex-ph is wanted?

Best,
Mingran
Mingran Kong, Materials Science and Metallurgy, University of Cambridge

Post Reply