Hi, Fabrizio


I have successfully compiled libxc v4.3.4 with QE 6.4.1 by specifying the flags 
in DFLAGS


DFLAGS         =  -D__LIBXC 
-D__INTEL -D__FFTW3 -D__MPI -D__PARA
LD_LIBS        = 
-L/home/yons/codes/libxc-5.0.0/lib -lxcf90 -lxc



It seems that libxc v5.0.0 does not work with QE 6.5


Thanks


Jibiao Li 

------------------ Original ------------------
From:&nbsp;"Fabrizio Ferrari"<ferrariruffino...@gmail.com&gt;;
Date:&nbsp;Mon, Jun 22, 2020 04:48 PM
To:&nbsp;"Quantum ESPRESSO users Forum"<users@lists.quantum-espresso.org&gt;;

Subject:&nbsp;Re: [QE-users] Error from calculations with NCPP+SCAN



Hello,
the compatibility check of QE with the latest version v5.0.0 of libxc is still 
in progress. It will be set in the near future. For now I suggest you to keep 
using v4.3.4.
I usually link libxc in QE by adding the flags in DFLAGS, IFLAGS and LD_LIBS in 
the make.inc file (you can follow the comments inside) generated in the main 
folder after the configuration.
If the problem persists, let us know.

Best regards,


Fabrizio



On Sun, Jun 21, 2020 at 12:19 PM Kamel Demmouche <kdemmou...@gmail.com&gt; 
wrote:

Dear user,


I compiled libxc 4.3.4 with q.e. 6.5 (develloper version) for metagga (scan) 
purpose. It works nice with ONCPP pseudopotentiel. Please see if you don't have 
compilation issues. 
Best wishes !


K--


Am So., 21. Juni 2020 um 04:48 Uhr schrieb Jibiao Li <jibia...@foxmail.com&gt;:

Dear All,


I am performing NEB calculations with NCPP+SCAN. I have installed libxc v.5.0 
on my computer and specified the library path in the .bashrc file (export 
LD_LIBRARY_PATH=/home/yons/codes/libxc-5.0.0/lib:$LD_LIBRARY_PATH
). However, the neb calculations still complain about libxc with the error 
below:


&nbsp;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
&nbsp;&nbsp; &nbsp; task #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 26
&nbsp;&nbsp; &nbsp; from SCAN meta-GGA : error 
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 1

&nbsp;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
&nbsp;&nbsp; &nbsp; task #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 45
&nbsp;&nbsp; &nbsp; from SCAN meta-GGA : error 
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 1
&nbsp;&nbsp; &nbsp; need LibXC v.3.0.1 or later
&nbsp;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



Please help me resolve this error. Thank you so much!



BEGIN_PATH_INPUT
&amp;PATH
&nbsp; restart_mode&nbsp;&nbsp;&nbsp; &nbsp; = 'from_scratch',
&nbsp; string_method&nbsp;&nbsp; &nbsp; = 'neb',
&nbsp; nstep_path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; = 198,
&nbsp; 
ds&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 &nbsp; = 1.D0,
&nbsp; opt_scheme&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; = 'broyden',
&nbsp; first_last_opt&nbsp; &nbsp; = .TRUE.,
&nbsp; num_of_images&nbsp;&nbsp; &nbsp; = 9,
&nbsp; k_max&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 
= 0.6D0,
&nbsp; k_min&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 
= 0.6D0,
&nbsp; CI_scheme&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp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bsp;&nbsp;&nbsp; &nbsp; 
diagonalization = 'david' ,
/
ATOMIC_SPECIES
&nbsp; &nbsp; O &nbsp; 15.999&nbsp; O.pbe-hgh.UPF 
&nbsp; &nbsp; H &nbsp; 1.0079&nbsp; H.pbe-hgh.UPF
&nbsp;&nbsp; Pd &nbsp; 106.40&nbsp; Pd.pbe-sp-hgh.UPF 
BEGIN_POSITIONS
FIRST_IMAGE
ATOMIC_POSITIONS angstrom&nbsp; 
...


INTERMEDIATE_IMAGE
ATOMIC_POSITIONS angstrom&nbsp; 
...
LAST_IMAGE
ATOMIC_POSITIONS angstrom 
...

END_POSITIONS
K_POINTS automatic 
&nbsp; 2 2 1 &nbsp; 0 0 0 
END_ENGINE_INPUT
END




Dr. Jibiao Li, 
Department of Material Science and Engineering
Yangtze Normal University
Juxian Dadao 16#, Fuling, Chongqing, China
Email: jibia...@yznu.edu.cn, jibia...@foxmail.com, jibiao...@hotmail.com
Homepage: https://www.researchgate.net/profile/Jibiao_Li
 

_______________________________________________
 Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso)
 users mailing list users@lists.quantum-espresso.org
 https://lists.quantum-espresso.org/mailman/listinfo/users
 _______________________________________________
 Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso)
 users mailing list users@lists.quantum-espresso.org
 https://lists.quantum-espresso.org/mailman/listinfo/users
_______________________________________________
Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso)
users mailing list users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

Reply via email to