<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); background-color: rgba(0, 0, 0, 0);">
Yes the original example of Si works, but the si.lda.0.5.out  display at the end of the file this message:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<div>     Message from routine write_upf_v2::write_inputfile:</div>
<div>     input file not open</div>
<div></div>
<div><br>
</div>
i'am using the qe6.2 version of quantum espresso. Thanks for your reply.<br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> BENYAHIA NEZHA<br>
<b>Envoyé :</b> samedi 24 février 2018 13:23<br>
<b>À :</b> pw_forum@pwscf.org<br>
<b>Objet :</b> Error: Segmentation fault - invalid memory reference.</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgba(0,0,0,0)">
<div>Dear Quantum espresso developers and users,</div>
<div><br>
</div>
<div>I'am trying to use the lda-1/2 for the first time to correct the band gap of Sb atom, i've followed the example of Si in the atomic code, using the inupt file:</div>
<div><br>
</div>
<div>
<div>&input</div>
<div>       title='Sb',</div>
<div>       zed=51,</div>
<div>       config='[Kr] 5s2 5p3 4d10',</div>
<div>       iswitch=4</div>
<div>       rel=2</div>
<div>/</div>
<div>&test</div>
<div>  file_pseudo='Sb.pz.paw.UPF',</div>
<div>  file_pseudopw='Sb.lda.0.5.UPF',</div>
<div>  configts(1)='5s2 5p3 4d10',</div>
<div>  configts(2)='5s2 5p3 4d9.75',</div>
<div>  rcutv=1</div>
<div>/</div>
<div><br>
</div>
<div>after that i exexuted this script ./job.test<br>
</div>
<div>
<div>#!/bin/bash</div>
<div></div>
<div>workd=./results/</div>
<div></div>
<div>mkdir -p $workd</div>
<div></div>
<div>./ld1.x <Sb.lda.0.5.in > Sb.lda.0.5.out</div>
<div>mv *.out Sb.lda.0.5.UPF $workd</div>
<div>rm -f *.wfc</div>
<div></div>
<div><br>
</div>
<br>
</div>
however i received this error: <br>
</div>
<div><br>
</div>
<div>Program received signal SIGSEGV: Segmentation fault - invalid memory reference.</div>
<div></div>
<div>Backtrace for this error:</div>
<div>#0  0x7FD5A1A25777</div>
<div>#1  0x7FD5A1A25D7E</div>
<div>#2  0x7FD5A115DCAF</div>
<div>#3  0x42E9B0 in export_upf_ at export_upf.f90:227 (discriminator 3)</div>
<div>#4  0x445453 in ld1_writeout_ at ld1_writeout.f90:92</div>
<div>#5  0x403632 in ld1 at ld1.f90:69</div>
<div>#6  0x7FD5A1148F44</div>
<div>./test.job1: line 8:  9700 Segmentation fault      (core dumped) $LD1 < Sb.lda.0.5.in > Sb.lda.0.5.out</div>
<div></div>
<div>[6]+  Stopped                 mc</div>
<div><br>
</div>
<div><br>
</div>
<div>Please help me  to  resolve this error, and i'll be so grateful.<br>
</div>
<div></div>
<div><br>
</div>
<br>
</div>
</div>
</body>
</html>