<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 ContentPasted0">
I tried that and got pretty much the same error (unrecognized command line option '--warn-'):
<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 ContentPasted0">
<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 ContentPasted0">
<blockquote style="margin-top:0;margin-bottom:0" class="ContentPasted1">(cp -r ./src ./for-qe-6.1-mpi; cp makefiles/Makefile.for-qe-6.1 ./for-qe-6.1-mpi; \
<div class="ContentPasted1">         cd ./for-qe-6.1-mpi; pwd; make -f Makefile.for-qe-6.1 kgec.x || exit 1)</div>
<div class="ContentPasted1">/home/fes33/Software/KGECDIR/for-qe-6.1-mpi</div>
<div class="ContentPasted1">make[1]: Entering directory '/home/fes33/Software/KGECDIR/for-qe-6.1-mpi'</div>
<div class="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="ContentPasted1">gfortran: error: all: No such file or directory</div>
<div class="ContentPasted1">gfortran: error: unrecognized command line option ‘--warn-’</div>
<div class="ContentPasted1">make[1]: *** [Makefile.for-qe-6.1:42: qevars.o] Error 1</div>
<div class="ContentPasted1">make[1]: Leaving directory '/home/fes33/Software/KGECDIR/for-qe-6.1-mpi'</div>
<br>
</blockquote>
<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> 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="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="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>
</body>
</html>