<div dir="ltr">Dear <table cellpadding="0" class="gmail-cf gmail-gJ" style="border-collapse:collapse;margin-top:0px;width:auto;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:14px;letter-spacing:0.2px;display:block"><tbody style="display:block"><tr class="gmail-acZ" style="height:auto;display:flex"><td class="gmail-gH gmail-bAk" style="text-align:right;white-space:nowrap;vertical-align:top;display:block;max-height:20px"><div class="gmail-gK" style="padding:0px;display:flex"></div></td><td class="gmail-gF gmail-gK" style="white-space:nowrap;padding:0px;vertical-align:top;width:637.859px;line-height:20px;display:block;max-height:20px"><table cellpadding="0" class="gmail-cf gmail-ix" style="border-collapse:collapse;table-layout:fixed;width:637px"><tbody><tr><td class="gmail-c2" style="display:flex"><h3 class="gmail-iw" style="overflow:hidden;font-size:0.75rem;font-weight:inherit;margin:inherit;text-overflow:ellipsis;letter-spacing:0.3px;color:rgb(95,99,104);line-height:20px"><span class="gmail-qu" tabindex="-1" style="outline:none"><span name="Marcelo Albuquerque" class="gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px">Marcelo Albuquerque</span></span></h3><div><span class="gmail-qu" tabindex="-1" style="outline:none"><span name="Marcelo Albuquerque" class="gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px"><br></span></span></div><div><span class="gmail-qu" tabindex="-1" style="outline:none"><span name="Marcelo Albuquerque" class="gmail-gD" style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;display:inline;vertical-align:top;letter-spacing:0.2px;line-height:20px"><br></span></span></div></td></tr></tbody></table></td><td class="gmail-gH gmail-bAk" style="text-align:right;white-space:nowrap;vertical-align:top;display:block;max-height:20px"><div class="gmail-gK" style="padding:0px;display:flex"></div></td></tr></tbody></table>Thanks for your detailed reply and useful information regarding DFT simulation.<div>I will go through it.</div><div>However, I have one more question. I am trying to learn dft simulation of Cadmium Sulfide with Dangling bond. Can you share some example/tutorials regarding Dangling bonds. It will be to much helpful for me.</div><div>Thank you<br class="gmail-Apple-interchange-newline"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Sunil Kumar<div>Ph.D (Chemical Engg. IIT Delhi)</div><div><span style="font-size:12.8px">M.Tech (Chemical Engg. IIT Delhi)</span><br></div><div><span style="font-size:12.8px">B.Tech (Chemical Engg. IET-CSJMU Kanpur)</span></div><div><span style="font-size:12.8px">Scientist-C and Assistant Professor</span></div><div>CSIR-National Metallurgical Laboratory Jamshedpur-831007</div><div><a href="http://www.nmlindia.org/" target="_blank">http://www.nmlindia.org/</a><br></div><div><a href="https://scholar.google.co.in/citations?user=OchYqugAAAAJ&hl=en&oi=sra" target="_blank">https://scholar.google.co.in/citations?user=OchYqugAAAAJ&hl=en&oi=sra</a><br></div><div><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 10, 2020 at 7:03 PM Marcelo Albuquerque <<a href="mailto:marcelofilho@id.uff.br">marcelofilho@id.uff.br</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"><div dir="ltr"><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/" target="_blank">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><span style="color:rgb(80,0,80)"> &input<br>   title='Cd',<br>   zed=48.,<br>   rel=1,<br></span>   config='[Kr] 5s2 5p0.5 4d9.5',<span style="color:rgb(80,0,80)"><br>   iswitch=3,<br>   dft='PBE'<br> /<br> &inputp<br>   lpaw=.true.,<br>   pseudotype=3,<br></span>   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>Sorry. I forgot to change the subject.</div><div dir="ltr"><br></div><div>Best regards.</div><div dir="ltr"><br clear="all"><div><div dir="ltr"><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><font face="monospace" color="#000000" size="1"><i>  </i></font><i style="color:rgb(0,0,0);font-family:monospace;font-size:x-small">     Niterói/RJ - Brazil</i></div></div><div><i style="color:rgb(0,0,0);font-family:monospace;font-size:x-small"><br></i></div><div><i style="color:rgb(0,0,0);font-family:monospace;font-size:x-small"><br></i></div></div></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><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>
</blockquote></div></div>
_______________________________________________<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></blockquote></div>