<div dir="ltr"><div class="gmail_attr">Dear Valentina,</div><div class="gmail_attr">in order to use SCAN functionals you need to link libxc during the compilation, since they are not present in the qe internal library of xc functionals.</div><div class="gmail_attr">To do this you have to add the libxc flags in the make.inc file in the main folder (it is generated after the configuration). Add them to DFLAGS, IFLAGS and LD_LIBS as indicated by the comments and then compile.</div><div class="gmail_attr">If the input dft is SCAN, then the ordinary 'mgga_x_scan' and 'mgga_c_scan' are used. However, there are several variants of SCAN in libxc. Here you can find all of them:</div><div class="gmail_attr"><a href="https://tddft.org/programs/libxc/functionals/">https://tddft.org/programs/libxc/functionals/</a></div><div class="gmail_attr">To use any of them you must enforce them from input by putting their names in the input variable 'input_dft'. Be careful that some of them may depend on extra-parameters and, at present, their correct operation is not guaranteed.<br></div><div class="gmail_attr">I will put some more detailed comments on how to insert external parameters (and in general on the use of libxc in qe) in the user_guide soon.</div><div class="gmail_attr"><br></div><div class="gmail_attr">Best regards,</div><div class="gmail_attr">Fabrizio<br></div><div class="gmail_attr"><br></div><div class="gmail_attr"><br></div><div class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">-----------------------------------------------------------------------------------------<br></div><div dir="ltr" class="gmail_attr">From: <b class="gmail_sendername" dir="auto">Valentina Cantatore</b> <span dir="auto"><<a href="mailto:valcan@chalmers.se" target="_blank">valcan@chalmers.se</a>></span><br>Date: Fri, Jan 17, 2020 at 3:23 PM<br>Subject: [QE-users] How to use SCAN functional<br>To: <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a> <<a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a>><br></div><br><br>
<div lang="EN-US">
<div>
<p class="MsoNormal"><span lang="SV">Dear Quantum Espresso people,</span></p>
<p class="MsoNormal"><span lang="SV"> </span></p>
<p class="MsoNormal">For some reasons I would like to start calculation using SCAN functional on Hg Cuprates.</p>
<p class="MsoNormal">Can someone give me a hint on where to start, which libraries to use and, mostly, if it is possible to run such calculations?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thank you very much for your support.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Best regards,</p>
<p class="MsoNormal">Valentina Cantatore</p>
<p class="MsoNormal">Chalmers University of Technology, Göteborg, Sweden</p></div></div></div>