<div dir="ltr">Dear All,<div><br></div><div>I would like to use M06 functional for my system comprising of Fe and S. I got an error after including FUNCTIONAL XC_HYB_MGGA_XC_M06</div><div>
<p class="p1"><span class="s1"> </span></p>
<p class="p1"><span class="s1"><font color="#38761d"> *** In order to use libxc you need to download and install it ***</font></span></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1">As per the instructions in the <font color="#3d85c6">INSTALL</font> file in <font color="#3d85c6">/share/apps/cp2k/cp2k</font> folder:</span></p><p class="p1"><span class="s1"><br></span></p>
<p class="p1"><span class="s1"><font color="#38761d">2k) Library of exchange-correlation functionals libxc (optional, v2.0.1):</font></span></p>
<p class="p1"><span class="s1"><font color="#38761d"> * The version 2.0.1 (ONLY this one) of libxc needs to be downloaded</font></span></p>
<p class="p1"><span class="s1"><font color="#38761d"> (http://www.tddft.org/programs/octopus/wiki/index.php/Libxc) and installed.</font></span></p>
<p class="p1"><font color="#38761d"><span class="s1"> During the installation, the directory $(</span><span class="s2">LIBXC</span><span class="s1">_DIR)/lib is created.</span></font></p>
<p class="p1"><span class="s1"><font color="#38761d"><span class="s1"> * Add -D__</span><span class="s2">LIBXC</span><span class="s1">2 to DFLAGS and -L$(</span><span class="s2">LIBXC</span><span class="s1">_DIR)/lib -lxc to LIBS.</span></font></span></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1"> I downloaded and installed <font color="#3d85c6">libxc-2.0.1</font> in my home directory: <font color="#3d85c6">/home/megha/libxc-2.0.1</font> and the file </span><font color="#3d85c6">/home/megha/libxc-2.0.1/lib</font> has been added. My question is in which file do I find the <font color="#e06666">DFLAGS</font> option to add <font color="#e06666">-D__LIBXC2</font> and the other one. </p><p class="p1"><br></p><p class="p1">Someone please help.</p><p class="p1"><br></p><p class="p1">Thanks,</p><p class="p1">Megha</p></div></div>