<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dear Iurii,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
the problem was the 'eels' flag. It should be set to .TRUE., which was missing in my input. The "chi" and "eps" files were correctly produced.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
One more thing: I just want to make sure that to get the absorption spectrum using EELS , we have to set any one of the qs in the eels input file (that is q1, q2 or q3) to a very small number say 0.001.
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> users <users-bounces@lists.quantum-espresso.org> on behalf of Iurii TIMROV via users <users@lists.quantum-espresso.org><br>
<b>Sent:</b> Wednesday, October 27, 2021 2:55 PM<br>
<b>To:</b> Quantum Espresso users Forum <users@lists.quantum-espresso.org><br>
<b>Subject:</b> Re: [QE-users] Error using turbo_spectrum.x</font>
<div> </div>
</div>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;">
Could you try to run with Quantum ESPRESSO v6.8? Are you sure that calculations using pw.x and turbo_eels.x finished successfully? If yes, could you share your input and output files using Google Drive?</p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;">
<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;">
HTH</p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;">
<br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;">
Iurii</p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top: 0px; margin-bottom: 0px;">
<br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<font size="3" face="'Times New Roman', Times, serif" color="808080">--<br>
<span style="font-family:Cambria,Georgia,serif">Dr. Iurii TIMROV</span><br>
<span style="font-family:Cambria,Georgia,serif">Senior Research Scientist</span></font></div>
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<font size="3" face="'Times New Roman', Times, serif" color="808080"><span style="font-family:Cambria,Georgia,serif">Theory and Simulation of Materials (THEOS)</span></font></div>
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<span style="font-size:12pt; color:rgb(128,128,128); font-family:Cambria,Georgia,serif">Swiss Federal Institute of Technology Lausanne (EPFL</span><font style="font-size:12pt; color:rgb(128,128,128); font-family:"Times New Roman",Times,serif" color="808080"><font face="'Times New Roman', Times, serif"><span style="font-family:Cambria,Georgia,serif">)</span></font></font><br>
</div>
<span style="font-family:Cambria,Georgia,serif"></span><font color="808080"></font><span style="font-family:Cambria,Georgia,serif"></span>
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<span style="font-family:Cambria,Georgia,serif"></span><font size="3" face="'Times New Roman', Times, serif" color="808080"><span style="font-family:Cambria,Georgia,serif">CH-1015 Lausanne, Switzerland</span><br>
<span style="font-family:Cambria,Georgia,serif">+41 21 69 34 881</span></font></div>
<span style="font-family:Cambria,Georgia,serif"></span>
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<span style="font-family:Cambria,Georgia,serif"></span><a href="http://people.epfl.ch/265334" tabindex="0" id="LPNoLP"><span style="font-family:Cambria,Georgia,serif">http://people.epfl.ch/265334</span></a><br>
</div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> users <users-bounces@lists.quantum-espresso.org> on behalf of Elio Physics <Elio-Physics@live.com><br>
<b>Sent:</b> Wednesday, October 27, 2021 6:03:27 PM<br>
<b>To:</b> Quantum Espresso users Forum<br>
<b>Subject:</b> [QE-users] Error using turbo_spectrum.x</font>
<div> </div>
</div>
<div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Dear all,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am using the turbo_wwls.x and turbo_spectrum.x to obtain the absorption of a structure I have. I have successfully run the pw.x and the turbo_ells.x executables. However, when running the turbo_spectrum.x , I have obtained the following error:</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
<div> Error in routine read_b_g_z_file (1):</div>
<div> Error reading file</div>
<span> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span>I have checked the 'prefix' and the 'outdir' in all input files. They are the same. The 'b_g_z' file is found in the OUT/tmp_eels directory. I have copied this file to the OUT directory and to the main directory of the system's folder , but in vain.
I still get the same error. ANy help would be appreciated. The input files are below:</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<u><span>scf.in <br>
</span></u></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<u><span><br>
</span></u></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<u><span></span></u>&control
<div> prefix='pds2'</div>
<div> calculation='scf',</div>
<div> tstress=.true.,</div>
<div> tprnfor=.true.,</div>
<div> pseudo_dir = '/fefs1/physics/eamoujaes/PSEUDO-CREATED'</div>
<div> wf_collect=.true.</div>
<div> outdir='/fefs1/physics/eamoujaes/PdS2/1H/OPTICAL/TDDFPT/OUT'</div>
<div> etot_conv_thr=1.0D-6</div>
<div> forc_conv_thr=1.0D-5</div>
<div><br>
</div>
<div> /</div>
<div> &system</div>
<div> ibrav= 4, A=3.980136, C=20, nat=3, ntyp= 2, ecutwfc=100, occupations='smearing',smearing='mp', degauss=0.011, nbnd=60, noncolin=.true., lspinorb=.true.</div>
<div><br>
</div>
<div>/<br>
</div>
<div> &electrons</div>
<div> electron_maxstep=2000</div>
<div> conv_thr=1.D-7,</div>
<div> mixing_beta=0.05D0,</div>
<div> mixing_mode='plain',</div>
<div> diago_david_ndim=2,</div>
<div> diago_full_acc=.true.</div>
<div><br>
</div>
<div> /</div>
<div>&ions</div>
<div>ion_dynamics='bfgs'</div>
<div>/</div>
<div><br>
</div>
<div>&cell</div>
<div>cell_dynamics='bfgs'</div>
<div>press=0.0</div>
<div>cell_dofree='2Dxy'</div>
<div>/</div>
<div><br>
</div>
<div>ATOMIC_SPECIES</div>
<div> Pd 106.42 Pd.upf</div>
<div> S 32.065 S.upf</div>
<div><br>
</div>
<div>ATOMIC_POSITIONS crystal</div>
<div>Pd 0.3333333330 0.6666666660 0.2500000000</div>
<div>S 0.6666666660 0.3333333330 0.1654692842</div>
<div>S 0.6666666660 0.3333333330 0.3345307158</div>
<div>K_POINTS {automatic}</div>
<span>24 24 1 0 0 0</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<u><span>turbo-eels input:</span></u></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<u><span><br>
</span></u></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<u><span></span></u>
<div>&lr_input</div>
<div>prefix='pds2'</div>
<div>outdir='/fefs1/physics/eamoujaes/PdS2/1H/OPTICAL/TDDFPT/OUT'</div>
<div>restart_step=50</div>
<div>restart=.false.</div>
<div>/</div>
<div>&lr_control</div>
<div>itermax=500</div>
<div>q1=0.001</div>
<div>q2=0.000</div>
<div>q3=0.000</div>
<span>/</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<u><span>turbo-spectrum-input</span></u></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<u><span><br>
</span></u></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span>
<div>&lr_input</div>
<div>prefix='pds2'</div>
<div>outdir='/fefs1/physics/eamoujaes/PdS2/1H/OPTICAL/TDDFPT/OUT'</div>
<div>itermax0=500</div>
<div>itermax=20000</div>
<div>extrapolation='osc'</div>
<div>epsil=0.02</div>
<div>units=1</div>
<div>start=0.0</div>
<div>end=50.0</div>
<div>increment=0.01</div>
<span>/</span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span>The QE version I am using in qe-6.4.1.</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span>Regards<br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span></span><br>
</div>
</div>
</div>
</div>
</body>
</html>