Dear Chris,

Can you send the entire input and output files (via Google Drive)?


Regards,

Iurii


--
Dr. Iurii TIMROV
Senior Research Scientist
Theory and Simulation of Materials (THEOS)
Swiss Federal Institute of Technology Lausanne (EPFL)
CH-1015 Lausanne, Switzerland
+41 21 69 34 881
http://people.epfl.ch/265334
________________________________
From: users <[email protected]> on behalf of Christoph 
Wolf <[email protected]>
Sent: Wednesday, May 25, 2022 10:00:01 AM
To: Quantum Espresso users Forum
Subject: [QE-users] Hubbard+U+V and Error in routine offset_atom_wfc

Dear all,

I am running into some problem when using the same species twice in a 
calculation (eg. O1, O2 for two inequivalent oxygen atoms) and then applying 
"standard U" on both species, e.g.

ATOMIC_POSITIONS (angstrom)
V             0.0 0.0 0.0
O1            0.0 0.0 2.0
O2            0.0 0.0 -2.0


lda_plus_u = .true.
lda_plus_u_kind = 2
U_projection_type = 'ortho-atomic',
Hubbard_V(1,1,1)=1
Hubbard_V(2,2,1)=2

will work, but adding

Hubbard_V(3,3,1)=3

will throw the "offset error";

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     Error in routine offset_atom_wfc (2):
     wrong offset: your pseudopotential file for atomic species  3 likely does 
not contain the needed atomic wavefunctions
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I guess that is because the offset is already set from the previous call to 
offset_atom which is checked at the end of that routine:

      IF ( ( is_hubbard(nt) .OR. is_hubbard_back(nt) ) .AND. offset(na) < 0 ) 
THEN
        CALL errore('offset_atom_wfc', 'wrong offset: your pseudopotential &
                &file for atomic species ' // s // new_line('a') // 'likely &
                &does not contain the needed atomic wavefunctions', l_back)
      ENDIF

Is there a way to safely detect if the wave-functions are present in the PP 
without running into this problem?

Best,
Chris
--
IBS Center for Quantum Nanoscience
Seoul, South Korea
_______________________________________________
The Quantum ESPRESSO community stands by the Ukrainian
people and expresses its concerns about the devastating
effects that the Russian military offensive has on their
country and on the free and peaceful scientific, cultural,
and economic cooperation amongst peoples
_______________________________________________
Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
users mailing list [email protected]
https://lists.quantum-espresso.org/mailman/listinfo/users

Reply via email to