<div dir="ltr">
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:12pt;font-family:"MS PGothic",sans-serif">Previously you had this error:</p><span lang="EN-GB"><span style="font-family:"Lucida Console",Monaco,monospace"> </span></span>          READ(dftout(5:), '(i)', IOSTAT=i) beeftype<br><div>Error: Nonnegative width required in format string at (1)</div><div><br></div><div>Why don't you try to fix it as a first attempt? this might do the job:<br>
<span lang="EN-GB"><span style="font-family:"Lucida Console",Monaco,monospace"> </span></span>          READ(dftout(5:), *, IOSTAT=i) beeftype<br>

</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 27, 2019 at 9:46 AM Delgado DelgadoJorge <<a href="mailto:delgadodelgado.jorge@aist.go.jp">delgadodelgado.jorge@aist.go.jp</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 dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">Dear Paolo, </span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">Thank you very much for the quick reply. After reading your comments and considering that some of the contributors of the mailing list succeeded in the compilation of qe5.1 using gcc 4.8.5, I tried to test additional compilations using this
 compiler (gcc 4.8.5). Although the make pw lasted longer than when using the default gcc 7.4.0, the compilation is interrupted and a different error appeared this time:
</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">ranlib libpw.a</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">mpif90 -g -pthread -o pw.x \</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US"><span>  
</span>pwscf.o<span>  </span>libpw.a ../../Modules/libqemod.a ../../flib/ptools.a ../../flib/flib.a ../../clib/clib.a ../../iotk/src/libiotk.a<span> 
</span>/home/jorge/20191226-qe51-compilations/26/espresso.5.1.r11289.pybeef/espresso/lapack-3.2/lapack.a<span> 
</span>/home/jorge/20191226-qe51-compilations/26/espresso.5.1.r11289.pybeef/espresso/BLAS/blas.a<span>   
</span>-L/home/jorge/20191226-qe51-compilations/26/libbeef/lib -lbeef</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">/usr/bin/ld: ../../clib/clib.a(c_mkdir.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">/usr/bin/ld: ../../clib/clib.a(copy.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">/usr/bin/ld: ../../clib/clib.a(cptimer.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">/usr/bin/ld: ../../clib/clib.a(eval_infix.o): relocation R_X86_64_32S against undefined symbol `stack_op' can not be used when making a PIE object; recompile with -fPIC</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">/usr/bin/ld: ../../clib/clib.a(fft_stick.o): relocation R_X86_64_32S against `.text' can not be used when making a PIE object; recompile with -fPIC</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">/usr/bin/ld: ../../clib/clib.a(md5_from_file.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">/usr/bin/ld: ../../clib/clib.a(md5.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">/usr/bin/ld: final link failed: Nonrepresentable section on output</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">collect2: error: ld returned 1 exit status</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">Makefile:256: recipe for target 'pw.x' failed</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">make[2]: *** [pw.x] Error 1</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">make[2]: Leaving directory '/home/jorge/20191226-qe51-compilations/26/espresso.5.1.r11289.pybeef/espresso/PW/src'</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">Makefile:9: recipe for target 'pw' failed</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">make[1]: *** [pw] Error 1</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">make[1]: Leaving directory '/home/jorge/20191226-qe51-compilations/26/espresso.5.1.r11289.pybeef/espresso/PW'</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span style="font-size:9pt" lang="EN-US">Makefile:47: recipe for target 'pw' failed</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">Both, the lbeef and the qe were compiled using gcc-4.8. The code lines used are described below:</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">Installation of lbeef library:</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">./configure CC=gcc-4.8 --prefix=/home/jorge/20191226-qe51-compilations/26/libbeef</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">make</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">make install</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">Compilation of qe:</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">./configure CC_gcc=4.8 BEEF_LIBS="-L/home/jorge/20191226-qe51-compilations/26/libbeef/lib -lbeef"</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">make pw</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span lang="EN-US">So the error this time is basically related to: “</span><span style="font-size:9pt" lang="EN-US">/usr/bin/ld: ../../clib/clib.a(c_mkdir.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making
 a PIE object; recompile with -fPIC”.</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">I wonder if this is still related to the compiler used. If so, should I try icc compilers instead?
</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">I have to mentioned that I also installed separately gfortran-4.8 (v 4.8.5), and did the same as described for gcc-4.8 (installed lbeef and tried to compile qe), but the error was exactly the same.
</span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span lang="EN-US">Let me recall the specification of the environment I’m working on:</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span lang="EN-GB">OS: Ubuntu v.18.04.1 (64bit Virtual machine guest on Windows 10 host – VirtualBox6.0)</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span lang="EN-GB">Processor: Intel® Core™ i7-8550U CPU @ 1.80GHz × 4 </span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span lang="EN-GB">Graphics: SVGA3D; build: RELEASE; LLVM;<br>
Compiller: gcc, GNU Fortran (Ubuntu 7.4.0-1ubuntu1~18.04.1) <span style="background:yellow none repeat scroll 0% 0%">
7.4.0</span> (also installed separately gcc-4.8.5 and gfortran-4.8.5)</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span lang="EN-GB"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span lang="EN-GB">Last time I forgot to mentioned that I’m trying to do the installation on a ubuntu virtual machine. Before of attempting the specific compilation I’m describing here (qe5.1-patched/lbeef), I managed to compile
 normal qe5.1 or qe6.4 source codes in the standard manner (</span><span lang="EN-US">./configure; make pw)</span><span lang="EN-GB">, without any issue. The problems appeared at the moment of using the pair qe5.1-patched/lbeef,
 with the particularities that demand this installation. To double check that the issue was not related to my ubuntu virtual machine, I tested the described above using the Quantum Mobile 19.09.0 (Ubuntu 18.04.3 LTS) , but the obtained errors were exactly the
 same. If for some reason the use of a ubuntu as a virtual machine is not suitable for this compilation, please let me know.
</span></p>
<p style="margin:0mm 0mm 0.0001pt;text-align:justify;font-size:10.5pt;font-family:"Yu Mincho",serif">
<span lang="EN-GB"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">I would appreciate further guidance with this issue. </span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0mm 0mm 0.0001pt;font-size:10.5pt;font-family:"Yu Mincho",serif;text-align:left" align="left">
<span lang="EN-US">Regards</span></p>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<pre style="font-family:courier,"courier new",monospace;font-size:14px;margin:0px;background-color:rgb(255,255,255)">Jorge</pre>
<pre style="font-family:courier,"courier new",monospace;font-size:14px;margin:0px;background-color:rgb(255,255,255)"><br></pre>
<pre style="font-family:courier,"courier new",monospace;font-size:14px;margin:0px;background-color:rgb(255,255,255)"><br></pre>
<pre style="font-family:courier,"courier new",monospace;font-size:14px;margin:0px;background-color:rgb(255,255,255)">-----
Jorge A. Delgado, Ph.D.
Research Scientist - Catalysis and Nanomaterials
National Institute of Advanced Industrial Science and Technology (AIST)
Central 5-2, 1-1-1 Higashi, Tsukuba, Ibaraki, 305-8565, Japan</pre>
<div id="gmail-m_2560819455918960927Signature">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div style="margin:0px;font-size:15px;font-family:Helvetica,serif,EmojiFont;text-align:start">
<a title="mailto: ayada@sbchem.kyoto-u.ac.jp Command + Click or tap to display link" rel="noopener noreferrer" href="mailto:ayada@sbchem.kyoto-u.ac.jp" style="margin:0px" target="_blank"><span style="margin:0px;font-size:14pt;font-family:"MS PGothic","\00ff2d\00ff33  \00ff30\0030b4\0030b7\0030c3\0030af","MS Gothic","\00ff2d\00ff33  \0030b4\0030b7\0030c3\0030af","Hiragino Kaku Gothic ProN",sans-serif,serif,EmojiFont"><font><font><span style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(12,100,192)"></span></font></font></span></a></div>
<br>
</div>
</div>
</div>

_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>
users mailing list <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"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>