<div dir="ltr"><div dir="ltr">Dear Dr. Kumar,</div><div dir="ltr"><br></div><div dir="ltr">I think, with all respect, there are some errors in your input file. Have you tried to you pslibrary-1.0.0 (or newer versions) by Andrea dal Corso (<a href="https://dalcorso.github.io/pslibrary/">https://dalcorso.github.io/pslibrary/</a>)?</div><div><br></div><div>But, anyway, here are some tips you could do as well:</div><div>1. You should provide the atomic configuration in the proper order;</div><div>2. After the line with "use_paw_as_gipaw=.true." you have to provide the Cd valence states according to item 1, the variable config.</div><div><br></div><div>Now, there are 2 thing your input file lacks:</div><div>3. After the item 2, you have to include the card &test; you do not need to change anything if you do not wish. Then put the '/' sign;</div><div>4. And lastly, you have to provide the list of projectors (at least 2) so the GIPAW method can construct the wavefunctions where this 3d electron goes to.</div><div><br></div><div>However, I'm not sure if you can do a half-electron XANES simulation.</div><div>Please, let us know if it worked properly.</div><div><br></div><div>Below is a copy of the input file from pslibrary-1.0.0. I had it on my laptop.</div><div>I hope it may help you.</div><div><br></div><div> &input<br> title='Cd',<br> zed=48.,<br> rel=1,<br> config='[Kr] 5s2 5p0.5 4d9.5',<br> iswitch=3,<br> dft='PBE'<br> /<br> &inputp<br> lpaw=.true.,<br> pseudotype=3,<br> file_pseudopw='Cd.pbe-n-kjpaw_psl.1.0.0.UPF',<br> author='ADC',<br> lloc=-1,<br> rcloc=2.4,<br> which_augfun='PSQ',<br> rmatch_augfun_nc=.true.,<br> nlcc=.true.,<br> new_core_ps=.true.,<br> rcore=1.8,<br> tm=.true.<br> /<br>6<br>5S 1 0 2.00 0.00 1.60 2.30 0.0<br>5S 1 0 0.00 6.00 1.60 2.30 0.0<br>5P 2 1 0.50 0.00 1.60 2.30 0.0<br>5P 2 1 0.00 8.00 1.60 2.30 0.0<br>4D 3 2 9.50 0.00 0.75 1.80 0.0<br>4D 3 2 0.00 4.30 0.75 1.80 0.0<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div>Best regards.</div><div dir="ltr"><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><i style="text-align:center;color:rgb(0,0,0);font-family:monospace"><div style="text-align:left"><i><font size="1"> Marcelo Albuquerque</font></i></div></i><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><i style="text-align:center;color:rgb(0,0,0);font-family:monospace"><div style="text-align:left"><i><font size="1"> Ph.D. Student</font></i></div></i><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><i style="text-align:center;color:rgb(0,0,0);font-family:monospace"><div style="text-align:left"><i><font size="1"> Physics Institute</font></i></div></i><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><i style="color:rgb(0,0,0);font-family:monospace;font-size:x-small;text-align:center"><div style="text-align:left"><i>Universidade Federal Fluminense (UFF)</i></div></i><div><div><div style="text-align:left"><font face="monospace" color="#000000" size="1"><i style="background-color:rgb(255,255,255)"> Niterói/RJ - Brazil</i></font></div></div></div><div><div dir="ltr"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 9, 2020 at 8:00 AM Dr. SUNIL KUMAR 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"><br>
Dear Expert and Users of QE DFT.<br>
<br>
I am facing a problem to carry out Xspectra simulation for CdS.<br>
I am trying to do a simulation to remove an electron from a 3d orbital as<br>
given in the following script but it is showing an error (Error in routine<br>
invmat (1): error in DGETRF). Can anyone help me to get rid of this error?<br>
<br>
&input<br>
title='Cd',<br>
zed=48.,<br>
rel=1,<br>
config='1s2 2s2 2p6 3s2 3p6 3d9.5 4s2 4p6 4d10 5s2.0 5p0.5'<br>
iswitch=3,<br>
dft='PBE'<br>
/<br>
&inputp<br>
lpaw=.true.,<br>
pseudotype=3,<br>
file_pseudopw='Cd.pbe-dn-kjpaw_psl.0.3.1.UPF',<br>
author='ADC',<br>
lloc=-1,<br>
rcloc=1.9,<br>
which_augfun='PSQ',<br>
rmatch_augfun=1.6,<br>
nlcc=.true.,<br>
new_core_ps=.true.,<br>
rcore=1.3,<br>
tm=.true.<br>
lgipaw_reconstruction=.true.<br>
use_paw_as_gipaw=.true.<br>
/<br>
6<br>
3D 3 2 9.50 0.00 1.6 1.6 0.0<br>
3D 3 2 0.00 4.30 1.6 1.6 0.0<br>
<br>
5S 1 0 2.00 0.00 2.00 2.10 0.0<br>
5S 1 0 0.00 2.30 1.70 2.10 0.0<br>
5P 2 1 0.50 0.00 2.10 2.30 0.0<br>
5P 2 1 0.00 8.00 1.80 2.30 0.0<br>
<br>
Dr. Sunil Kumar<br>
Ph.D (Chemical Engg. IIT Delhi)<br>
M.Tech (Chemical Engg. IIT Delhi)<br>
B.Tech (Chemical Engg. IET-CSJMU Kanpur)<br>
Scientist-C and Assistant Professor<br>
CSIR-National Metallurgical Laboratory Jamshedpur-831007<br>
<a href="http://www.nmlindia.org/" rel="noreferrer" target="_blank">http://www.nmlindia.org/</a><br>
<a href="https://scholar.google.co.in/citations?user=OchYqugAAAAJ&hl=en&oi=sra" rel="noreferrer" target="_blank">https://scholar.google.co.in/citations?user=OchYqugAAAAJ&hl=en&oi=sra</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.quantum-espresso.org/pipermail/users/attachments/20201109/4e861163/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.quantum-espresso.org/pipermail/users/attachments/20201109/4e861163/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
users mailing list<br>
<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>
End of users Digest, Vol 160, Issue 8<br>
*************************************<br>
</blockquote></div></div>