<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 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>
</body>
</html>