Hello,
Does Yambo support the QE runs with fixed magnetization? Or should I stick with the option " starting magnetization"?
Thanks.
Runs with fixed magnetization
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, Daniele Varsano
-
- Posts: 36
- Joined: Mon Oct 24, 2022 7:23 pm
Runs with fixed magnetization
Niranji Ekanayake
PhD Candidate
Department of Chemistry
Queen's University
Kingston, ON K7L 3N6
Canada
PhD Candidate
Department of Chemistry
Queen's University
Kingston, ON K7L 3N6
Canada
-
- Posts: 214
- Joined: Fri Jan 31, 2014 11:13 am
Re: Runs with fixed magnetization
Dear nthiliniek,
QE implements fixed magnetization in spin-collinear calculations by using two fermi levels.
As far as I remember this option was not directly compatible with Yambo (which works only with one fermi level)...
One possibility, though, is to first converge with fixed mag and two fermi levels, and then check whether
one could go back to a description with 1 fermi level.
This could be done eg at the QE level by having a follow up scf run, starting with the existing spin densities, without the magnetic constraint.
If it stays with the desired magnetization you are done.
Within Yambo, if the system allows (eg you are working with a magnetic semiconductor), one could identify a unique fermi level even if QE has used two...
Then one needs to hack the datafile_schema.xml in QE $prefix.save to trick Yambo (this is a bit for advanced users, though).
short answer: not obvious to make fix mag working with Yambo (though not always impossible)
take care
Andrea
QE implements fixed magnetization in spin-collinear calculations by using two fermi levels.
As far as I remember this option was not directly compatible with Yambo (which works only with one fermi level)...
One possibility, though, is to first converge with fixed mag and two fermi levels, and then check whether
one could go back to a description with 1 fermi level.
This could be done eg at the QE level by having a follow up scf run, starting with the existing spin densities, without the magnetic constraint.
If it stays with the desired magnetization you are done.
Within Yambo, if the system allows (eg you are working with a magnetic semiconductor), one could identify a unique fermi level even if QE has used two...
Then one needs to hack the datafile_schema.xml in QE $prefix.save to trick Yambo (this is a bit for advanced users, though).
short answer: not obvious to make fix mag working with Yambo (though not always impossible)
take care
Andrea
Andrea Ferretti, PhD
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it