<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div id="yiv1802466577"><table id="yiv1802466577bodyDrftID" class="yiv1802466577" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td id="yiv1802466577drftMsgContent" style="font:inherit;font-family:arial;font-size:10pt;"><div id="yiv1802466577"><table id="yiv1802466577bodyDrftID" class="yiv1802466577" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td id="yiv1802466577drftMsgContent" style="font:inherit;font-family:arial;font-size:10pt;">Hello,<br>I am trying the test xspectra calculation for diamond. The scf and fermi energy calculations run fine, but the xanes calculation remains incomplete. In its output file, at the end it says 'Could not find the element  C in the table of K edge energies!'<br><br>I'm using quantum espresso v4.3.2<br><br>Can anyone suggest what possibly is wrong?<br>Below are the inputs for scf, fermi energy and xanes
 calculations.<br><br>&control<br>    calculation='scf',<br>pseudo_dir = './Matteo/Gipaw_Pseudo_Generation/C_Hole',<br>   
 outdir='./tmp/',<br>    prefix='diamondh',<br>    verbosity='high'<br> /<br> &system<br>    ibrav = 1,<br>    celldm(1) = 6.740256,<br>    nat=8,<br>    ntyp=2,<br>    nbnd=17,<br>    ecutwfc=40.0,<br>   
 tot_charge=+1.0,<br> /<br> &electrons<br>    mixing_beta = 0.3,<br> /<br>ATOMIC_SPECIES<br>Ch 12.0 C.star1s-pbe-mt_gipaw.UPF<br>C 12.0 C.pbe-mt_gipaw.UPF<br>ATOMIC_POSITIONS crystal<br>Ch 0.0 0.0 0.0<br>C 0.0 0.5 0.5<br>C 0.5 0.0 0.5<br>C 0.5 0.5 0.0<br>C 0.75 0.75 0.25<br>C 0.75 0.25 0.75<br>C 0.25 0.75 0.75<br>C 0.25 0.25 0.25<br>K_POINTS automatic<br>4 4 4 0 0 0 <br><br> input for calculating  fermi energy...<br><br>&input_xspectra<br>    calculation='fermi_level',<br>    prefix='diamondh',<br>    outdir='./tmp/',<br>    xread_wf=.true.,<br> /<br> &plot<br> /<br> &pseudos<br>    filecore='Ch1.wfc',<br> /<br> &cut_occ<br> /<br>4 4 4 0 0 0<br><br>input for xanes....<br><br> &input_xspectra<br>    calculation='xanes_dipole',<br>   
 prefix='diamondh',<br>    outdir='./tmp/',<br>    xniter=1000,<br>    xcheck_conv=50,<br>    xepsilon(1)=1.0,<br>    xepsilon(2)=0.0,<br>    xepsilon(3)=0.0,<br>    xiabs=1,<br>    x_save_file='diamondh.xspectra.sav',<br>    ef_r=0.94036945,<br>    xerror=0.001,<br> /<br> &plot<br>    xnepoint=1000,<br>    xgamma=0.8,<br>    xemin=-10.0,<br>    xemax=30.0,<br>    terminator=.true.,<br>    cut_occ_states=.false.,<br> /<br> &pseudos<br>    filecore='Ch1.wfc',<br>    r_paw(1)=3.2,<br> /<br> &cut_occ<br> /<br>4 4 4 1 1 1<br><br>Thanking in advance.<br>-Niharika Joshi<br>(project student, IISER
 Pune)<br><br> <br><br><br><br><br></td></tr></tbody></table></div></td></tr></tbody></table></div></td></tr></table>