<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Sorry. The message was truncated so I didn't get that you were probably referring to the first line.
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Either way it was a fresh installation and I had followed the documentation so I was wondering if there is something I missed.<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></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>From:</b> Mr. Sheharyar Pervez RA FES <sheharyar@giki.edu.pk><br>
<b>Sent:</b> Wednesday, February 1, 2023 3:55 PM<br>
<b>To:</b> Paolo Giannozzi <paolo.giannozzi@uniud.it>; Quantum ESPRESSO users Forum <users@lists.quantum-espresso.org><br>
<b>Subject:</b> Re: [QE-users] Error Installing KGEC</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof x_ContentPasted0" style="font-family:"Times New Roman",Times,serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
I tried that and got pretty much the same error (unrecognized command line option '--warn-'):
<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family:"Times New Roman",Times,serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family:"Times New Roman",Times,serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<blockquote class="x_ContentPasted1" style="margin-top:0; margin-bottom:0">(cp -r ./src ./for-qe-6.1-mpi; cp makefiles/Makefile.for-qe-6.1 ./for-qe-6.1-mpi; \
<div class="x_ContentPasted1"> cd ./for-qe-6.1-mpi; pwd; make -f Makefile.for-qe-6.1 kgec.x || exit 1)</div>
<div class="x_ContentPasted1">/home/fes33/Software/KGECDIR/for-qe-6.1-mpi</div>
<div class="x_ContentPasted1">make[1]: Entering directory '/home/fes33/Software/KGECDIR/for-qe-6.1-mpi'</div>
<div class="x_ContentPasted1">mpif90 -O3 -g -x f95-cpp-input -D__FFTW3 -D__MPI -I/home/fes33/Software/6.1-mpi//include -I../include/ -D__QE6 -c qevars.f90 -o qevars.o -I /home/fes33/Software/6.1-mpi/Modules -I /home/fes33/Software/6.1-mpi/PW/src -I ../src
/home/fes33/Software/6.1-mpi/PW/src/libpw.a /home/fes33/Software/6.1-mpi/Modules/libqemod.a /home/fes33/Software/6.1-mpi/FFTXlib/libqefft.a /home/fes33/Software/6.1-mpi/LAXlib/libqela.a --warn- all</div>
<div class="x_ContentPasted1">gfortran: error: all: No such file or directory</div>
<div class="x_ContentPasted1">gfortran: error: unrecognized command line option --warn-</div>
<div class="x_ContentPasted1">make[1]: *** [Makefile.for-qe-6.1:42: qevars.o] Error 1</div>
<div class="x_ContentPasted1">make[1]: Leaving directory '/home/fes33/Software/KGECDIR/for-qe-6.1-mpi'</div>
<br>
</blockquote>
<br>
</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Paolo Giannozzi <paolo.giannozzi@uniud.it><br>
<b>Sent:</b> Wednesday, February 1, 2023 3:46 PM<br>
<b>To:</b> Quantum ESPRESSO users Forum <users@lists.quantum-espresso.org>; Mr. Sheharyar Pervez RA FES <sheharyar@giki.edu.pk><br>
<b>Subject:</b> Re: [QE-users] Error Installing KGEC</font>
<div> </div>
</div>
<div class="x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_PlainText">On 01/02/2023 11:40, Mr. Sheharyar Pervez RA FES wrote:<br>
<br>
> gfortran: error: all: No such file or directory<br>
> gfortran: error: unrecognized command line option -warn; did you<br>
> mean --warn-?<br>
<br>
you have the problem and the solution here<br>
-- <br>
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>
Univ. Udine, via delle Scienze 206, 33100 Udine Italy, +39-0432-558216<br>
</div>
</span></font></div>
</div>
</body>
</html>