<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div><span style="font-size: 10pt;">Hello everyone,</span><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div id="yiv1625465448"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 10pt;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 10pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I am using the DFT+U approach to compare my system with experimental results. To do so, I want to optimize the effective on-site Coulomb value (U) and keep the exchange
value (J) fixed while simultaneously relaxing the structure using vc-relax. When I try and submit the vc-relax (or even relax) calculations, I get the following error:</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="background-color:transparent;"><div style="background-color:transparent;"><font face="times new roman, new york, times, serif"><span style="font-size:12.800000190734863px;"> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span></font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif"><span style="font-size:12.800000190734863px;"> Error in routine force_hub (1):</span></font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif"><span
style="font-size:12.800000190734863px;"> forces in full LDA+U scheme are not yet implemented</span></font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif"><span style="
font-size:12.800000190734863px;"> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span></font><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 12.800000190734863px; background-color: transparent;">%%%%%%</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 12.800000190734863px; background-color: transparent;"><br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 12.800000190734863px; background-color: transparent;">This doesn't seem right to me. Is it true what the error
says, that
the force calculations are not yet implemented in the "rotationally invariant scheme of Liechtenstein et. Al., using Hubbard_U and Hubbard_J"? Perhaps I have made a mistake in my input file. The system portion of my input file is given:</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 12.800000190734863px; background-color: transparent;"><br></span></div><div style="background-color:transparent;"><span style="background-color:transparent;font-size:12.800000190734863px;"><font face="times new roman, new york, times, serif"><div style="background-color:transparent;">&SYSTEM</div><div style="background-color:transparent;"> ibrav = 0</div><div style="
background-color:transparent;"> celldm(1) = 1.889725989</div><div style="background-color:transparent;"> nat = 73</div><div style="background-color:transparent;"> ntyp = 4</div><div style="background-color:transparent;"> ecutwfc = 60</div><div style="background-color:transparent;"> ecutrho = 600</div><div style="background-color:transparent;"> occupations = 'smearing'</div><div style="background-color:transparent;"> degauss = 0.001</div><div style="background-color:transparent;"> nspin = 2</div><div style="background-color:transparent;"> starting_magnetization(1) =
0.5</div><div style="background-color:transparent;"> starting_magnetization(2) =-0.5</div><div style="background-color:transparent;"> tot_magnetization= 0.0</div><div style="background-color:transparent;"> lda_plus_u = .t.</div><div style="background-color:transparent;"> lda_plus_u_kind = 1</div><div style="background-color:transparent;"> Hubbard_U(1) = 2.6</div><div style="background-color:transparent;"> Hubbard_U(2) = 2.6</div><div style="background-color:transparent;"> Hubbard_J0(1) = 1.2</div><div style="background-color:transparent;"> Hubbard_J0(2) = 1.2</div><div style="background-color:transparent;">/</div><div style="background-color:transparent;"><br></div><div style="background-color:transparent;">NOTE: Whenever lda_plus_u_kind is set to 1, any relax calculation
gives the above error. When it is 0, it runs fine.</div><div style="background-color:transparent;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">Is it necessary to include "lda_plus_u_kind = 1" parameter or will the code still incorporate U and J if I set it to 0 (simplified version of Cococcioni and de Gironcoli using Hubbard_U)?</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">Thanks in advance.</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px;
font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><br></div><div style="background-color:transparent;color:rgb(0, 0, 0);font-size:12.800000190734863px;font-family:'times new
roman', 'new york', times, serif;font-style:normal;">--</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">Izaak Williamson</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">Graduate Student</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">Department of Materials Science and Engineering</div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 12.800000190734863px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">Boise State University</div></font></span></div></div></div></div> </div> </div> </div></body></html>