<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dear Andriii,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
As far as I know, the default settings limit DFT + U + V to 50 atoms. However, this should be readily adjusted by changing the natx parameter in the Modules/parameters.f90 (<a href="https://gitlab.com/QEF/q-e/-/blob/develop/Modules/parameters.f90">Modules/parameters.f90
 · develop · QEF - Quantum Espresso Foundation / q-e · GitLab</a>) to your system size.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Also, having a look at your input file I do not think that you should <span style="color:rgb(32, 31, 30);font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;font-size:14.6667px;background-color:rgb(255, 255, 255);display:inline !important">
Hubbard_U(3) = 1d-10  AND Hubbard_V(3,3,1), since Hubbard_V(3,3,1) already refers to the on-site Hubbard U for atom 3.  To sum up, if you are using DFT + U use Hubbard_U, if you are using DFT + U + V just use the Hubbard_V keyword.</span> </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The solutions to both of these problems are well described in the pw.x  input description (<a href="https://www.quantum-espresso.org/Doc/INPUT_PW.html#idm471">pw.x: input description (quantum-espresso.org)</a>, hence I thought you might find it helpful to give
 it a read. Also, I highly recommend working your way through the examples on the QE github page (<a href="https://github.com/QEF/q-e/blob/master/HP/examples/example10/reference/LiCoO2.scf.in">q-e/LiCoO2.scf.in at master · QEF/q-e · GitHub</a>).</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
HTH,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Johannes Meusburger</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
ISIS Neutron and Muon Source & Diamond Light Source & University of Exeter, UK</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> users <users-bounces@lists.quantum-espresso.org> on behalf of Andrii Shyichuk via users <users@lists.quantum-espresso.org><br>
<b>Sent:</b> Wednesday, October 13, 2021 8:52 PM<br>
<b>To:</b> users@lists.quantum-espresso.org <users@lists.quantum-espresso.org><br>
<b>Subject:</b> [QE-users] Hubbard U+V for a large system</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Dear Users,<br>
<br>
I'm trying to run a DFT+U+V Hubbard parameters calculation (hp.x) on a <br>
system with 80 atoms.<br>
<br>
SCF run is fine, file hp.x run gives:<br>
<br>
Index of the second rotated atom=           0<br>
      Error in routine symonpair (1):<br>
      Out of bounds<br>
<br>
How can the second rotated atom be zero?<br>
<br>
My input is based on the YouTube "Tutorial on DFT+U+V using Quantum <br>
ESPRESSO (v6.7)".<br>
The +U+V settings are:<br>
                    lda_plus_u = .true.<br>
               lda_plus_u_kind = 2<br>
                  Hubbard_U(3) = 1d-10<br>
              Hubbard_V(1,1,1) = 1d-10<br>
              Hubbard_V(2,2,1) = 1d-10<br>
              Hubbard_V(3,3,1) = 1d-10<br>
              Hubbard_V(4,4,1) = 1d-10<br>
              ...<br>
              Hubbard_V(80,80,1) = 1d-10<br>
<br>
Is it a bug, or is it just the question of some parameter tweaking?<br>
I've already increased natx to 150.<br>
<br>
Thank you.<br>
Andrii Shyichuk, University of Wroc³aw.<br>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu">www.max-centre.eu</a>)<br>
users mailing list users@lists.quantum-espresso.org<br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div>
</span></font></div>
<p><span style="font-size: 6pt;">This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. </span></p></body>
</html>