[Q-e-developers] virtual.x bug

Stefano Dal Forno s.dal-forno at imperial.ac.uk
Fri Oct 13 16:38:58 CEST 2017


Hi there,

Long story short, I got this error when using virtual.x

     Error in routine set_dft_from_name (1):
     : unrecognized dft

So I took a look at the source and found that the compute_virtual(x,filein)
subroutine in virtual.f90 was importing the module pseudo, I changed the
import to "use pseudo_mod".
Then I set to public all the variables in read_upf.f90 (aka the pseudo_mod).
Now all the variables are defined within virtual.x and everything is
working.
I hope this helps.

Cheers,
Stefano.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20171013/9c69676e/attachment.html>


More information about the developers mailing list