<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">Dear Dr. Fortmann,<br> Thank you for your reply. There is another question. For example, there is an input file "Gd.rel-pbe-spdn-rrkjus_psl.1.0.0.in" in pslibrary.1.0.0.tar.gz. The keyword "rmatch_augfun_nc=.ture." is not recognized by atomic-4.2.1. I change "rmatch_augfun_nc=.ture." to "rmatch_augfun=1.3". The .UPF files generated by atomic-5.0.2 based on the above two keywords are exactly the same. After the test, I add "upf_v1_format=.ture." and generate the .UPF file by atomic-4.2.1.<br> When I use virtual.x in upftools of espresso-4.2.1 to mix the generated pseudopotentials, there is a error message:<br> IOS= 0 1 4<br> Reading pseudopotential file in UPF format...<br> ikk2 954 954 954 954 954 954<br> 959 959 959 959 0 0<br> 0 0 0 0<br><br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br> Error in routine read_pseudo_nl (1):<br> inconsistent angular momentum for Q_ij<br> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br><br>The .in file is shown below. I do not know why the generated .UPF is wrong. Is there anything wrong in my .in file? Thanks for your time.<br>Regards,<br>Chang Chen<br><div><br>.in file:<br></div> &input<br> title='Gd',<br> zed=64.0,<br> rel=2,<br> config='[Xe] 4f7.0 5d1.0 6s1.5 6p0.5',<br> iswitch=3,<br> dft='PBE'<br> /<br> &inputp<br> lpaw=.false.,<br> pseudotype=3,<br> file_pseudopw='Gd.rel-pbe-spdn-rrkjus_psl.1.0.0.UPF',<br> author='ADC',<br> lloc=-1,<br> rcloc=2.0,<br> which_augfun='PSQ',<br> rmatch_augfun=1.3,<br> upf_v1_format=.ture.,<br> nlcc=.true.,<br> new_core_ps=.true.,<br> rcore=1.1,<br> tm=.true.<br> /<br>6<br>5S 1 0 2.00 0.00 1.30 1.70 0.0<br>6S 2 0 1.50 0.00 1.30 1.70 0.0<br>5P 2 1 6.00 0.00 1.30 1.80 0.0<br>6P 3 1 0.50 0.00 1.30 1.80 0.0<br>5D 3 2 1.00 0.00 1.30 2.00 0.0<br>5D 3 2 0.00 2.00 1.30 2.00 0.0<br><br><br><br><div></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2015-01-22 21:31:58, "Carsten Fortmann" <carsten.fortmann@quantumwise.com> wrote:
>you can use
>upf_v1_format=.true.
>in an input for for atomic
>
>here's a link to the documentation of all input variables :
>
>ftp://ftp.ictp.it/shared/qetutorial/espresso-4.2.1/Doc/INPUT_LD1.html
>
>good luck.
>
>
>On 01/22/2015 02:25 PM, Chang Chen wrote:
>> Dear Doctors,
>> I want to calculate some doping effect based on virtual crystal approximation. The program virtual.x in espresso-5.0.2/upftools can mix two pseudopotentials. However, it seems that virtual.x can only read old-style UPF files. When I use files with <UPF version="2.0.1">, there is always a error message "Error in routine scan_begin (1): No HEADER block". I find pseudopotentials generated by atomic-5.0.2.tar.gz and pslibrary.1.0.0.tar.gz are always with a head line <UPF version="2.0.1">.
>> Can I generate old-style UPF files by "atomic" program or can I convert new type of UPF to the old version?
>> Thanks!
>> Regards,
>> Chang Chen
>>
>>
>>
>> _______________________________________________
>> Pw_forum mailing list
>> Pw_forum@pwscf.org
>> http://pwscf.org/mailman/listinfo/pw_forum
>>
>
>--
>Carsten Fortmann
>Scientific Software Developer
>QuantumWise A/S
>Lersø Parkalle
>2100 Copenhagen
>Denmark
>
>Phone: +45 699 01 888
>Fax: +45 698 02 801
>skype: carsten.fortmann
>
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>