<div dir="ltr"><div>Ok, so I think you should locate the headers first, to see if they are in place (locate the file xc_f03_lib_m.mod). They should be in a libxc folder named 'include'. If they are not available there might be some problems in the installation/arrangement of the libxc folders.</div><div>Cheers,</div><div>Fabrizio<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 30, 2020 at 2:46 PM mkondrin <<a href="mailto:mkondrin@hppi.troitsk.ru">mkondrin@hppi.troitsk.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, Fabrizio,<br>
<br>
Thank you for your reply, I have follow your suggestion but with no <br>
avail. The compilation stopped with a message :<br>
cannot find -lxcf03<br>
<br>
Sincerely yours,<br>
Mikhail Kondrin<br>
<br>
On 30.12.2020 17:30, Fabrizio Ferrari wrote:<br>
> Hello,<br>
> did you check the notes in section 2.5.1 of the user_guide (Doc folder)?<br>
> WIth version 4.3.4 is better to use the flag -lxcf03 for the headers in<br>
> make.inc.<br>
> Cheers,<br>
> Fabrizio<br>
><br>
> On Wed, Dec 30, 2020 at 1:01 PM mkondrin <<a href="mailto:mkondrin@hppi.troitsk.ru" target="_blank">mkondrin@hppi.troitsk.ru</a>> wrote:<br>
><br>
>> When I have tried another way (editing make.inc file after simple<br>
>> ./configure) make command stops with error:<br>
>><br>
>> /usr/lib//libxc.so: undefined reference to `xc_erfcx'<br>
>><br>
>> So it seems to be a fault of libxc.<br>
>><br>
>> Sincerely yours,<br>
>> Mikhail Kondrin<br>
>><br>
>> On 30.12.2020 14:54, mkondrin wrote:<br>
>>> Dear QE developers and users,<br>
>>><br>
>>> I have tried to compile QE with libxc support but have failed.<br>
>>><br>
>>> libxc (4.3.4) was configured and 'make installed' with<br>
>>> ./configure --enable-shared=yes --prefix=/usr/lib<br>
>>><br>
>>> in /usr/lib all required libraries are present:<br>
>>> $ls /usr/lib/libxc*<br>
>>> /usr/lib/libxc.a /usr/lib/libxc.so.9.0.0* /usr/lib/libxcf90.so.9@<br>
>>> /usr/lib/<a href="http://libxc.la" rel="noreferrer" target="_blank">libxc.la</a>* /usr/lib/libxcf90.a /usr/lib/libxcf90.so.9.0.0*<br>
>>> /usr/lib/libxc.so@ /usr/lib/<a href="http://libxcf90.la" rel="noreferrer" target="_blank">libxcf90.la</a>*<br>
>>> /usr/lib/libxc.so.9@ /usr/lib/libxcf90.so@<br>
>>><br>
>>><br>
>>> QE (6.5.0) was configured with command:<br>
>>> ./configure --with-libxc --with-libxc-prefix=/usr/<br>
>>> BLAS_LIBS="-lsatlas" LAPACK_LIBS="-lsatlas"<br>
>>><br>
>>> but complains and exits with the message:<br>
>>><br>
>>> checking for libxc... no (-I/usr/include -L/usr/lib -lxcf90 -lxc)<br>
>>> configure: error: Could not find required libxc library.<br>
>>><br>
>>> I could not figure what went wrong.<br>
>>><br>
>>> Thank you in advance for any suggestions.<br>
>>><br>
>>> Sincerely yours,<br>
>>> Mikhail Kondrin<br>
>>> _______________________________________________<br>
>>> Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
>>> users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
>>> <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br>
>>><br>
>> _______________________________________________<br>
>> Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
>> users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
>> <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
> users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
> <a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br>
</blockquote></div>