<div dir="ltr">Hi.<div><br></div><div>My quick and dirty homemade way</div><div><br></div><div><span style="font-family:monospace,monospace">ls -1 pdos_atm* > list.dat</span><br></div><div><font face="monospace, monospace">grep "(p" list.dat > list_2p.dat<br>sumpdos.x -f list_2p.dat > pdos_2p.dat </font><br></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">HTH</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">ff</font></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 12, 2018 at 10:39 AM Gui Wei <<a href="mailto:201707021019@cqu.edu.cn">201707021019@cqu.edu.cn</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><span lang="EN-US" style="text-indent:7pt"><font face="Times New Roman" size="4">Hi,<u></u><u></u></font></span></div><div><font face="Times New Roman" size="4"><span lang="EN-US" style="text-indent:7pt">When I sum the pdos for 2p orbitals of 64 carbon
atoms with sumpdos.x : ./sumpdos.x C.pdos_atm#1(\C\)_wfc#2\(p\) C.pdos_atm#2(\C\)_wfc#2\(p\)……C.pdos_atm#64(\C\)_wfc#2\(p\).I
obtain the result that contains only <a name="m_5434891892472965177_OLE_LINK1">two columns</a> of
data:E(eV)and pdos(E) rather than four columns:E(eV) pdos(E) pdos(E) pdos(E).</span><span lang="EN-US" style="text-indent:7pt"> </span><span lang="EN-US" style="text-indent:7pt">But what I care about is the result of superposition of 2Pz </span><span lang="EN-US" style="text-indent:7pt">orbital's states.</span><span lang="EN-US" style="text-indent:7pt"> </span><span lang="EN-US" style="text-indent:7pt">Is there any easy way to quickly count the data I
want?</span></font></div><div><span lang="EN-US" style="text-indent:7pt"><font face="Times New Roman" size="4"><br></font></span></div><div><span lang="EN-US" style="text-indent:7pt"><font face="Times New Roman" size="4"><br></font></span></div><div><span lang="EN-US" style="text-indent:7pt"><font face="Times New Roman" size="4"><div style="text-indent:0px">Gui Wei</div><div style="text-indent:0px">School of Mechanical Engineering,Chongqing University, China</div></font></span></div>_______________________________________________<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></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="background-color:transparent;font-family:Arial;font-size:10pt;font-weight:700;white-space:pre-wrap">Federico IORI</span><br></div><div><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;background-color:transparent;font-style:italic;vertical-align:baseline;white-space:pre-wrap">Computational material scientist</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="background-color:transparent;color:rgb(61,133,198);font-family:Arial;font-size:11pt;font-style:italic;font-weight:700;white-space:pre-wrap">Paris-Saclay Research Center</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><a href="https://www.google.com/maps/place/Air+Liquide/@48.8297381,2.2016685,11.75z/data=!4m5!3m4!1s0x47e67e61a4fbbdc7:0xca3bea9e80059880!8m2!3d48.7630415!4d2.1333045" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:12.8px;white-space:normal" target="_blank">1 chemin de la Porte des Loges</a><br style="font-family:arial,sans-serif;font-size:12.8px;white-space:normal"><span style="font-family:arial,sans-serif;font-size:12.8px;white-space:normal">Les Loges en Josas – 78354 Jouy en Josas cedex</span><br style="font-family:arial,sans-serif;font-size:12.8px;white-space:normal"><span style="font-family:arial,sans-serif;font-size:12.8px;white-space:normal">Mail</span><span style="font-family:arial,sans-serif;font-size:12.8px;white-space:normal">: <a href="mailto:federico.iori@airliquide.com" target="_blank">federico.iori@airliquide.com</a></span><br></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Phone: +33 7 621 605 15</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh5.googleusercontent.com/jWge08q7BtEKOlxuBF_cj804ywzhJmkjw9rEb5dBZLKyUL_HQkVwhcwNi9vtzVTj-EiY-wQhE18VPSACNFaAFCAWvxp6bEwkTDR6-IjGBqp-Y3Afzx-OxN8OHxXYPLS0Dz9tP8fr" width="165" height="40" style="border: none;"></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br></p></span></div></div></div></div></div></div></div></div></div></div></div></div></div>