<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic An include path is specified in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082269#M22842</link>
    <description>&lt;P&gt;An include path is specified by -I &amp;nbsp;examples are given by mkl link advisor.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2016 01:09:39 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2016-04-11T01:09:39Z</dc:date>
    <item>
      <title>How to correctly compile Quantum Espresso with intel MKL especially intel FFTW</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082268#M22841</link>
      <description>&lt;P&gt;I wish to exploit the power of intel mkl in &lt;A href="http://www.quantum-espresso.org/"&gt;Quantum Espresso,&lt;/A&gt; which is a popular open-source first-principle calculation suite.&lt;/P&gt;

&lt;P&gt;I found this tutorial named "&lt;A href="https://software.intel.com/en-us/articles/quantum-espresso-for-intel-xeon-phi-coprocessor"&gt;Quantum ESPRESSO* for Intel® Xeon Phi™ Coprocessor",&lt;/A&gt; in the intel document, which is quite in detail, illustrate step by step the setup flow for the software using intel compiler and mkl. Though I don't have Intel® Xeon Phi, But I guess the setup also works for ordinary multicore computer, am I right?&lt;/P&gt;

&lt;P&gt;But I encountered problems following that installation tutorial. This maybe due to that the version of my parallel studio is different from that in the tutorial. My version of parallel studio is 2016.2.181.&amp;nbsp; After completely follow the steps, I got this when running "make pw"&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;ifort: command line warning #10006: ignoring unknown option '-/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/include/fftw'&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&amp;nbsp;I notice the FCFLAGS is exported as&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;CODE class="plain"&gt;export FCFLAGS=&lt;/CODE&gt;&lt;CODE class="string"&gt;"-O3 -xAVX -fno-alias -ansi-alias -g -mkl -$MKLROOT/include/fftw"&lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;CODE class="string"&gt;here &lt;STRONG&gt;-$MKLROOT/include/fftw &lt;/STRONG&gt;is not right, because apparently the ifort doesn't know this option. &lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="string"&gt;Investigate further, I found the &lt;/CODE&gt;&lt;STRONG&gt;FFT_LIBS="-L$MKLROOT/intel64"&lt;/STRONG&gt;&lt;CODE class="string"&gt; is also wrong, because in version &lt;/CODE&gt;2016.2.181, there is no intel64 folder under $MKLROOT. So I changed it to &lt;STRONG&gt;$MKLROOT/lib/intel64_lin. &lt;/STRONG&gt;However, this still not working. Also after running&lt;STRONG&gt; ./configure --enable-openmp --enable-parallel,&lt;/STRONG&gt; there is actually no FFT_LIBS detected. The configure finally shows&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;The following libraries have been found:&lt;BR /&gt;
		&amp;nbsp; BLAS_LIBS=&amp;nbsp;&amp;nbsp; -lmkl_intel_thread -lmkl_core&lt;BR /&gt;
		&amp;nbsp; LAPACK_LIBS=-lmkl_blacs_intelmpi_lp64&lt;BR /&gt;
		&amp;nbsp; SCALAPACK_LIBS=-lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64&lt;BR /&gt;
		&amp;nbsp; FFT_LIBS=&lt;BR /&gt;
		Please check if this is what you expect.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Why FFT is not being detected? What is wrong? How to compile it correctly?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 00:25:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082268#M22841</guid>
      <dc:creator>balabi_b_</dc:creator>
      <dc:date>2016-04-11T00:25:06Z</dc:date>
    </item>
    <item>
      <title>An include path is specified</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082269#M22842</link>
      <description>&lt;P&gt;An include path is specified by -I &amp;nbsp;examples are given by mkl link advisor.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 01:09:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082269#M22842</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-04-11T01:09:39Z</dc:date>
    </item>
    <item>
      <title>Quote:Tim P. wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082270#M22843</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Tim P. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;An include path is specified by -I&amp;nbsp; examples are given by mkl link advisor.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thank you! Change "-$MKLROOT/include/fftwto "-I$MKLROOT/include/fftw" seems working. When doing "make", the compiler recognized the option. However in the output info of "./configure", there is still no FFT_LIBS detected.&lt;/P&gt;

&lt;P&gt;Also the new problem emerge. I got a huge list of undefined reference, which seems to mean all kinds of library is not properly set&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	mpiifort -static-intel&amp;nbsp; -qopenmp -o pw.x \&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pwscf.o&amp;nbsp; libpw.a ../../Modules/libqemod.a ../../FFTXlib/libqefft.a ../../flib/ptools.a ../../flib/flib.a ../../clib/clib.a ../../iotk/src/libiotk.a -lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64 -lmkl_blacs_intelmpi_lp64&amp;nbsp; -lmkl_intel_thread -lmkl_core&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	libpw.a(update_pot.o): In function `extrapolate_wfcs':&lt;BR /&gt;
	/fs10/home/qhw_wang/HPC-nj/quantum_espresso/espresso-5.3.0/PW/src/update_pot.f90:716: undefined reference to `zgesvd_'&lt;BR /&gt;
	/fs10/home/qhw_wang/HPC-nj/quantum_espresso/espresso-5.3.0/PW/src/update_pot.f90:782: undefined reference to `zgesvd_'&lt;BR /&gt;
	/fs10/home/qhw_wang/HPC-nj/quantum_espresso/espresso-5.3.0/PW/src/update_pot.f90:791: undefined reference to `zgemm_'&lt;/P&gt;

&lt;P&gt;/fs10/home/qhw_wang/HPC-nj/quantum_espresso/espresso-5.3.0/FFTXlib/./fft_scalar.FFTW3.f90:128: undefined reference to `dfftw_execute_dft_'&lt;BR /&gt;
	/fs10/home/qhw_wang/HPC-nj/quantum_espresso/espresso-5.3.0/FFTXlib/./fft_scalar.FFTW3.f90:124: undefined reference to `dfftw_execute_dft_'&lt;BR /&gt;
	../../FFTXlib/libqefft.a(fft_scalar.o): In function `fft_scalarcft_1z_mp_init_plan_':&lt;BR /&gt;
	/fs10/home/qhw_wang/HPC-nj/quantum_espresso/espresso-5.3.0/FFTXlib/./fft_scalar.FFTW3.f90:153: undefined reference to `dfftw_cleanup_threads_'&lt;BR /&gt;
	/fs10/home/qhw_wang/HPC-nj/quantum_espresso/espresso-5.3.0/FFTXlib/./fft_scalar.FFTW3.f90:154: undefined reference to `fftw_init_threads'&lt;/P&gt;

&lt;P&gt;../../flib/flib.a(dylmr2.o): In function `dylmr2':&lt;BR /&gt;
	/fs10/home/qhw_wang/HPC-nj/quantum_espresso/espresso-5.3.0/flib/dylmr2.f90:57: undefined reference to `dcopy_'&lt;BR /&gt;
	/fs10/home/qhw_wang/HPC-nj/quantum_espresso/espresso-5.3.0/flib/dylmr2.f90:81: undefined reference to `daxpy_'&lt;BR /&gt;
	/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_real'&lt;BR /&gt;
	/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so: undefined reference to `ssteqr_'&lt;BR /&gt;
	/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so: undefined reference to `dsyr2k_'&lt;BR /&gt;
	/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so: undefined reference to `cscal_'&lt;BR /&gt;
	/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_op_sum'&lt;BR /&gt;
	/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so: undefined reference to `caxpy_'&lt;BR /&gt;
	/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_byte'&lt;BR /&gt;
	/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/libmkl_blacs_openmpi_lp64.so: undefined reference to `ompi_mpi_dblprec'&lt;BR /&gt;
	/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so: undefined reference to `dsteqr_'&lt;BR /&gt;
	/fs00/software/intel/ps2016u2/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so: undefined reference to `cbdsqr_'&lt;/P&gt;

&lt;P&gt;What should I do?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 07:06:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082270#M22843</guid>
      <dc:creator>balabi_b_</dc:creator>
      <dc:date>2016-04-11T07:06:00Z</dc:date>
    </item>
    <item>
      <title>Could you please change -lmkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082271#M22844</link>
      <description>&lt;P&gt;Could you please change&amp;nbsp;-lmkl_blacs_openmpi_lp64&amp;nbsp;to -lmkl_intel_lp64 ?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 15:42:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082271#M22844</guid>
      <dc:creator>Evgueni_P_Intel</dc:creator>
      <dc:date>2016-04-11T15:42:59Z</dc:date>
    </item>
    <item>
      <title>If you don't care to study</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082272#M22845</link>
      <description>&lt;P&gt;If you don't care to study the recommendations of mkl link advisor, you must avoid static link.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 12:51:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082272#M22845</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-04-12T12:51:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Evgueni Petrov aka</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082273#M22846</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Evgueni Petrov aka espetrov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Could you please change&amp;nbsp;-lmkl_blacs_openmpi_lp64&amp;nbsp;to -lmkl_intel_lp64 ?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thank you very much!&lt;/P&gt;

&lt;P&gt;Now I use&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;./configure MPIF90=mpiifort F90=mpiifort F77=mpiifort --enable-openmp --enable-parallel --with-scalapack=intel&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;And the make process is successful now.&lt;/P&gt;

&lt;P&gt;But the problem is I still can't correctly invoke MKL's FFT. Quantum espresso still use its own FFT library. I tried several ways to set the library, all failed&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 15:10:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082273#M22846</guid>
      <dc:creator>balabi_b_</dc:creator>
      <dc:date>2016-04-12T15:10:10Z</dc:date>
    </item>
    <item>
      <title>Hi </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082274#M22847</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I think you are right, &amp;nbsp; the setup also works for ordinary multicore computer.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I notice in that article &amp;nbsp;use two place to control &amp;nbsp;the FFT&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE style="box-sizing: border-box; margin-top: 1.6em; margin-bottom: 1.6em; font-family: 'Courier New', 'DejaVu Sans Mono', monospace, sans-serif; font-size: 14px; line-height: 1.6em; white-space: pre-wrap; color: rgb(102, 102, 102);"&gt;
&amp;nbsp;&lt;/PRE&gt;

&lt;DIV class="syntaxhighlighter  " id="highlighter_46890" style="box-sizing: border-box; width: 663.297px;"&gt;
	&lt;DIV class="lines" style="box-sizing: border-box; width: 1983.89px;"&gt;
		&lt;DIV class="line alt1" style="box-sizing: border-box;"&gt;
			&lt;TABLE style="box-sizing: border-box;"&gt;
				&lt;TBODY style="box-sizing: border-box;"&gt;
					&lt;TR style="box-sizing: border-box;"&gt;
						&lt;TD class="content" style="box-sizing: border-box;"&gt;&lt;STRONG&gt;&lt;CODE class="plain" style="box-sizing: border-box;"&gt;export FFT_LIBS=&lt;/CODE&gt;&lt;CODE class="string" style="box-sizing: border-box;"&gt;"-L$MKLROOT/intel64"&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/TD&gt;
					&lt;/TR&gt;
				&lt;/TBODY&gt;
			&lt;/TABLE&gt;
			&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;

		&lt;DIV class="line alt2" style="box-sizing: border-box;"&gt;
			&lt;TABLE style="box-sizing: border-box;"&gt;
				&lt;TBODY style="box-sizing: border-box;"&gt;
					&lt;TR style="box-sizing: border-box;"&gt;
						&lt;TD class="number" style="box-sizing: border-box;"&gt;&lt;CODE style="box-sizing: border-box;"&gt;14&lt;/CODE&gt;&lt;/TD&gt;
						&lt;TD class="content" style="box-sizing: border-box;"&gt;&lt;CODE class="plain" style="box-sizing: border-box;"&gt;./configure --enable-openmp --enable-parallel&lt;/CODE&gt;&lt;/TD&gt;
					&lt;/TR&gt;
				&lt;/TBODY&gt;
			&lt;/TABLE&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;P style="box-sizing: border-box; word-wrap: break-word; margin-bottom: 20px; line-height: 1.4; color: rgb(102, 102, 102); font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 14px;"&gt;4. Edit the&amp;nbsp;&lt;STRONG style="box-sizing: border-box;"&gt;make.sys&lt;/STRONG&gt;&amp;nbsp;file in the top package directory and modify the&amp;nbsp;&lt;STRONG style="box-sizing: border-box;"&gt;DFLAGS&lt;/STRONG&gt;&amp;nbsp;variable in order to enable hybrid MPI+openmp mode, fftw3, and scalapack:&lt;/P&gt;

&lt;PRE style="box-sizing: border-box; margin-top: 1.6em; margin-bottom: 1.6em; font-family: 'Courier New', 'DejaVu Sans Mono', monospace, sans-serif; font-size: 14px; line-height: 1.6em; white-space: pre-wrap; color: rgb(102, 102, 102);"&gt;&lt;A class="item viewSource" href="https://software.intel.com/en-us/articles/quantum-espresso-for-intel-xeon-phi-coprocessor#viewSource" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1px; line-height: 1.1em; box-sizing: border-box; width: 16px; height: 16px; display: inline !important;" title="view source"&gt;iew source&lt;/A&gt;
&lt;/PRE&gt;

&lt;DIV class="syntaxhighlighter  " id="highlighter_76375" style="box-sizing: border-box; width: 663.297px;"&gt;
	&lt;DIV class="bar      show" style="box-sizing: border-box;"&gt;
		&lt;DIV class="toolbar" style="box-sizing: border-box;"&gt;&lt;A class="item printSource" href="https://software.intel.com/en-us/articles/quantum-espresso-for-intel-xeon-phi-coprocessor#printSource" style="box-sizing: border-box; width: 16px; height: 16px;" title="print"&gt;print&lt;/A&gt;&lt;A class="item about" href="https://software.intel.com/en-us/articles/quantum-espresso-for-intel-xeon-phi-coprocessor#about" style="box-sizing: border-box; width: 16px; height: 16px;" title="?"&gt;?&lt;/A&gt;&lt;/DIV&gt;
	&lt;/DIV&gt;

	&lt;DIV class="lines" style="box-sizing: border-box; width: 1983.89px;"&gt;
		&lt;DIV class="line alt1" style="box-sizing: border-box;"&gt;
			&lt;TABLE style="box-sizing: border-box;"&gt;
				&lt;TBODY style="box-sizing: border-box;"&gt;
					&lt;TR style="box-sizing: border-box;"&gt;
						&lt;TD class="number" style="box-sizing: border-box;"&gt;&lt;STRONG&gt;&lt;CODE style="box-sizing: border-box;"&gt;1&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/TD&gt;
						&lt;TD class="content" style="box-sizing: border-box;"&gt;&lt;STRONG&gt;&lt;CODE class="plain" style="box-sizing: border-box;"&gt;DFLAGS = -D__INTEL -D__FFTW3 -D__MPI -D__PARA -D__SCALAPACK -D__OPENMP &lt;/CODE&gt;&lt;/STRONG&gt;&lt;/TD&gt;
					&lt;/TR&gt;
				&lt;/TBODY&gt;
			&lt;/TABLE&gt;
		&lt;/DIV&gt;

		&lt;DIV class="line alt2" style="box-sizing: border-box;"&gt;
			&lt;TABLE style="box-sizing: border-box;"&gt;
				&lt;TBODY style="box-sizing: border-box;"&gt;
					&lt;TR style="box-sizing: border-box;"&gt;
						&lt;TD class="number" style="box-sizing: border-box;"&gt;&lt;CODE style="box-sizing: border-box;"&gt;2&lt;/CODE&gt;&lt;/TD&gt;
						&lt;TD class="content" style="box-sizing: border-box;"&gt;&lt;CODE class="plain" style="box-sizing: border-box;"&gt;BLAS_LIBS = -lmkl_intel_thread -lmkl_core&lt;/CODE&gt;&lt;/TD&gt;
					&lt;/TR&gt;
				&lt;/TBODY&gt;
			&lt;/TABLE&gt;
		&lt;/DIV&gt;

		&lt;DIV class="line alt1" style="box-sizing: border-box;"&gt;
			&lt;TABLE style="box-sizing: border-box;"&gt;
				&lt;TBODY style="box-sizing: border-box;"&gt;
					&lt;TR style="box-sizing: border-box;"&gt;
						&lt;TD class="number" style="box-sizing: border-box;"&gt;&lt;CODE style="box-sizing: border-box;"&gt;3&lt;/CODE&gt;&lt;/TD&gt;
						&lt;TD class="content" style="box-sizing: border-box;"&gt;&lt;CODE class="plain" style="box-sizing: border-box;"&gt;LAPACK_LIBS = -lmkl_blacs_intelmpi_lp64&lt;/CODE&gt;&lt;/TD&gt;
					&lt;/TR&gt;
				&lt;/TBODY&gt;
			&lt;/TABLE&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Apr 2016 09:18:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082274#M22847</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-04-15T09:18:52Z</dc:date>
    </item>
    <item>
      <title>So about the FFTW switch may</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082275#M22848</link>
      <description>&lt;P&gt;&lt;SPAN style="font-weight: 700; font-size: 12px; line-height: 18px;"&gt;So about the FFTW switch may include some trick.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-weight: 700; font-size: 12px; line-height: 18px;"&gt;generally, &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-weight: 700; font-size: 12px; line-height: 18px;"&gt;export FFT_LIBS="-L$MKLROOT/intel64" &amp;nbsp; it is only mkl path&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Then It should be normal after configure, then FFT_LIB would be found.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Maybe you can try&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; font-weight: bold; line-height: 18px;"&gt;FFT_LIBS="-L$MKLROOT/intel64 -lmkl"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; font-weight: bold; line-height: 18px;"&gt;and add&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&amp;nbsp;Edit the&amp;nbsp;&lt;SPAN style="font-weight: 700;"&gt;make.sys&lt;/SPAN&gt;&amp;nbsp;file in the top package directory and modify the&amp;nbsp;&lt;SPAN style="font-weight: 700;"&gt;DFLAGS&lt;/SPAN&gt;&amp;nbsp;variable in order to enable hybrid MPI+openmp mode, fftw3, and scalapack:&lt;/P&gt;

&lt;PRE style="font-size: 13.008px; color: rgb(96, 96, 96); line-height: 19.512px;"&gt;&lt;A href="https://software.intel.com/en-us/articles/quantum-espresso-for-intel-xeon-phi-coprocessor#viewSource" style="font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif;"&gt;iew source&lt;/A&gt;
&lt;/PRE&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&lt;A href="https://software.intel.com/en-us/articles/quantum-espresso-for-intel-xeon-phi-coprocessor#printSource"&gt;print&lt;/A&gt;&lt;A href="https://software.intel.com/en-us/articles/quantum-espresso-for-intel-xeon-phi-coprocessor#about"&gt;?&lt;/A&gt;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&lt;SPAN style="font-weight: 700;"&gt;1&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-weight: 700;"&gt;DFLAGS = -D__INTEL -D__FFTW3 -D__MPI -D__PARA -D__SCALAPACK -D__OPENMP&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;...&lt;/P&gt;

&lt;P&gt;and see if it can work?&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 09:22:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082275#M22848</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-04-15T09:22:47Z</dc:date>
    </item>
    <item>
      <title>Please have a look at https:/</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082276#M22849</link>
      <description>&lt;P&gt;Please have a look at &lt;A href="https://software.intel.com/en-us/articles/quantum-espresso-for-the-intel-xeon-phi-processor" target="_blank"&gt;https://software.intel.com/en-us/articles/quantum-espresso-for-the-intel-xeon-phi-processor&lt;/A&gt;, which not only focuses on the Intel® Xeon Phi™ x200 processor family (previously code-named "Knights Landing" or "KNL") but seamlessly applies to any Intel processor. The aforementioned article helps to build an optimized binary, which also yields optimized performance.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 10:54:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082276#M22849</guid>
      <dc:creator>Hans_P_Intel</dc:creator>
      <dc:date>2016-12-01T10:54:07Z</dc:date>
    </item>
    <item>
      <title>I have successfully compiled</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082277#M22850</link>
      <description>&lt;P&gt;I have successfully compiled QE-6.0 using the following modules:&lt;/P&gt;

&lt;P&gt;1) intel/14.0.2.144&amp;nbsp;&amp;nbsp; 2) intel/ompi/1.6.5&lt;/P&gt;

&lt;P&gt;To compile against the MKL FFT library (DFTI), I use the following:&lt;/P&gt;

&lt;P&gt;./configure --prefix=/home/$username/bin/qe-6.0&amp;nbsp; --enable-shared&amp;nbsp; --enable-parallel&amp;nbsp; --with-scalapack&amp;nbsp; CC=mpicc&amp;nbsp; F77=mpif90&amp;nbsp;&amp;nbsp; FC=mpif90&lt;/P&gt;

&lt;P&gt;If I do not include the CC, F77 and FC options, the code compiles against the native QE FFTW library.&lt;/P&gt;

&lt;P&gt;Vahid&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 00:05:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-correctly-compile-Quantum-Espresso-with-intel-MKL/m-p/1082277#M22850</guid>
      <dc:creator>Vahid_A_2</dc:creator>
      <dc:date>2017-03-09T00:05:51Z</dc:date>
    </item>
  </channel>
</rss>

