<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;"><div><div><div style="font-family: arial, sans-serif;font-size: 13px">Hello everyone,<br><br>I tried to compile Quantum ESPRESSO using the Intel compilers and the MKL libraries. But it went sideways with an error as follows,<br><br><img src="cid:60f47e8753aa77b600efb202496d6c84" alt="" width="1385" height="773" vspace="0" hspace="0" border="0" style="width:1385px;height:773px;margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;border:0px solid black;"><p><br>What I did was as follows,</p> <ol> <li>Started with a fresh Ubuntu distro in windows 10 wsl.</li> <li>Download and install the Intel oneAPI Base and HCP toolkits.</li> <li>source the setvars.sh script by Intel to set the environment variables.</li> <li>Extract the Quantum ESPRESSO source code.</li> <li>Custom configure QE by executing the configure file (./configure MPIF90=mpiifort CC=mpiicc F90=ifort F77=mpiifort -enable-parallel).</li> <li>Edit the make.inc by setting the "BLAS_LIBS=", "LAPACK_LIBS=", "SCALAPACK_LIBS=", and "FFT_LIBS=" to "-L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 -lpthread -lm -ldl" as given by Intel link line advisor.</li> <li>Edit the make.inc by setting the "MPI_LIBS=" to "-L/opt/intel/oneapi/mpi/2021.<wbr></wbr>7.1/lib -lmpi".</li> <li>Compiling QE by make pw.</li> </ol> <p>I can't figure out the problem here and would appreciate the view from an expert on the matter. I have attached the config.log as a separate files.<br><br>Thank you, Best regards.<br><br>Chamara Somarathna,<br>Research scholar,<br>University of Moratuwa,<br>Sri Lanka.</p> <br><signature></signature> </div></div></div></div></body></html>