Put your MPI binary directory into environment variable.<br>For example, if your OpenMPI installed at ~/OpenMPI, then you can add PATH=$PATH:~/OpenMPI/bin into the end of file ~/.bashrc and re-config QE again.<br>BTW: it may be better that OpenMPI was also compiled by ifort.<br><div></div><br><pre><br>At&nbsp;2011-04-16&nbsp;04:33:22,jorge.gallardo@cab.cnea.gov.ar&nbsp;wrote:

&gt;Hello&nbsp;All!
&gt;
&gt;I'm&nbsp;trying&nbsp;to&nbsp;compile&nbsp;Quantum&nbsp;Espresso&nbsp;with&nbsp;the&nbsp;new&nbsp;"Intel®&nbsp;Fortran
&gt;Composer&nbsp;XE&nbsp;for&nbsp;Linux"&nbsp;(formerly&nbsp;Intel®&nbsp;Fortran&nbsp;Compiler)&nbsp;with&nbsp;the&nbsp;OpenMPI
&gt;libraries&nbsp;previously&nbsp;installed,&nbsp;on&nbsp;an&nbsp;Intel&nbsp;i7&nbsp;multicore&nbsp;processor
&gt;machine.&nbsp;But&nbsp;when&nbsp;I&nbsp;try
&gt;
&gt;&nbsp;./configure&nbsp;LIBDIRS=&nbsp;"/opt/intel/mkl/lib/intel64
&gt;/usr/lib/openmpi/lib/openmpi"
&gt;
&gt;where
&gt;
&gt;/opt/intel/mkl/lib/intel64
&gt;
&gt;and
&gt;
&gt;/usr/lib/openmpi/lib/openmpi
&gt;
&gt;are&nbsp;respectively&nbsp;the&nbsp;folders&nbsp;where&nbsp;mkl&nbsp;and&nbsp;open-mpi&nbsp;libraries&nbsp;are,&nbsp;I&nbsp;get
&gt;
&gt;"
&gt;...
&gt;
&gt;MKL&nbsp;not&nbsp;found
&gt;in&nbsp;/usr/lib/openmpi/lib/openmpi:&nbsp;checking&nbsp;for&nbsp;library&nbsp;containing&nbsp;dgemm...&nbsp;no
&gt;MKL&nbsp;not&nbsp;found
&gt;in&nbsp;/opt/intel/mkl/lib/intel64:&nbsp;checking&nbsp;for&nbsp;library&nbsp;containing&nbsp;dgemm...
&gt;-lmkl_intel_lp64
&gt;checking&nbsp;for&nbsp;library&nbsp;containing&nbsp;dspev...&nbsp;none&nbsp;required
&gt;setting&nbsp;BLAS_LIBS...&nbsp;-L/opt/intel/mkl/lib/intel64&nbsp;-lmkl_intel_lp64
&gt;-lmkl_sequential&nbsp;-lmkl_core
&gt;setting&nbsp;LAPACK_LIBS...
&gt;checking&nbsp;for&nbsp;library&nbsp;containing&nbsp;dfftw_execute_dft...&nbsp;no
&gt;in&nbsp;/usr/lib/openmpi/lib/openmpi:&nbsp;checking&nbsp;for&nbsp;library&nbsp;containing
&gt;dfftw_execute_dft...&nbsp;no
&gt;in&nbsp;/opt/intel/mkl/lib/intel64:&nbsp;checking&nbsp;for&nbsp;library&nbsp;containing
&gt;dfftw_execute_dft...&nbsp;no
&gt;in&nbsp;/usr/local/lib:&nbsp;checking&nbsp;for&nbsp;library&nbsp;containing&nbsp;dfftw_execute_dft...&nbsp;no
&gt;
&gt;...
&gt;
&gt;checking&nbsp;for&nbsp;library&nbsp;containing&nbsp;mpi_init...&nbsp;no
&gt;setting&nbsp;MPI_LIBS...
&gt;checking&nbsp;for&nbsp;library&nbsp;containing&nbsp;mpi_init...&nbsp;(cached)&nbsp;no
&gt;
&gt;...
&gt;
&gt;The&nbsp;following&nbsp;libraries&nbsp;have&nbsp;been&nbsp;found:
&gt;&nbsp;&nbsp;BLAS_LIBS=-L/opt/intel/mkl/lib/intel64&nbsp;-lmkl_intel_lp64&nbsp;
&gt;-lmkl_sequential&nbsp;-lmkl_core
&gt;&nbsp;&nbsp;LAPACK_LIBS=
&gt;&nbsp;&nbsp;FFT_LIBS=
&gt;Please&nbsp;check&nbsp;if&nbsp;this&nbsp;is&nbsp;what&nbsp;you&nbsp;expect.
&gt;
&gt;...
&gt;
&gt;Parallel&nbsp;environment&nbsp;not&nbsp;detected&nbsp;\(is&nbsp;this&nbsp;a&nbsp;parallel&nbsp;machine?\).\
&gt;Configured&nbsp;for&nbsp;compilation&nbsp;of&nbsp;serial&nbsp;executables.
&gt;
&gt;...
&gt;"
&gt;
&gt;meaning,&nbsp;I&nbsp;think,&nbsp;that&nbsp;only&nbsp;a&nbsp;few&nbsp;mkl-library-files&nbsp;where&nbsp;found&nbsp;and&nbsp;none
&gt;of&nbsp;open-mpi,&nbsp;so&nbsp;the&nbsp;parallel&nbsp;compilation&nbsp;is&nbsp;not&nbsp;posible&nbsp;with&nbsp;this
&gt;configuration.
&gt;
&gt;Have&nbsp;you&nbsp;any&nbsp;idea&nbsp;how&nbsp;can&nbsp;I&nbsp;tell&nbsp;properly&nbsp;to&nbsp;the&nbsp;configuration&nbsp;script,
&gt;where&nbsp;the&nbsp;open-mpi,&nbsp;and&nbsp;intel-mkl-library-files&nbsp;are,&nbsp;in&nbsp;order&nbsp;to&nbsp;compile
&gt;for&nbsp;a&nbsp;parallel&nbsp;machine?
&gt;
&gt;
&gt;Tank&nbsp;you&nbsp;in&nbsp;advance!
&gt;
&gt;
&gt;____
&gt;
&gt;Lic.&nbsp;Jorge&nbsp;A.&nbsp;García&nbsp;Gallardo
&gt;Materiales&nbsp;Metalicos&nbsp;y&nbsp;Nanoestructurados
&gt;TeMaDi
&gt;Bariloche&nbsp;Atomic&nbsp;Center
&gt;CNEA
&gt;
&gt;_______________________________________________
&gt;Pw_forum&nbsp;mailing&nbsp;list
&gt;Pw_forum@pwscf.org
&gt;http://www.democritos.it/mailman/listinfo/pw_forum
</pre><br><br><span title="neteasefooter"><span id="netease_mail_footer"><hr/>
<a href="http://mail.163.com/html/110414_attachment/att1.htm" target="_blank">体验网易邮箱2G超大附件,轻松发优质大电影、大照片,提速3倍!</a>
</span></span>