<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Sourcing the .csh files of the compiler fixed the problem. Thanks! However, later it got another error (see the attached configure.log for details):</span></div><div><span></span> </div><div><span>*******************************************************************************<br>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>-------------------------------------------------------------------------------<br>Fortran error! mpi_init() could not be located!<br>*******************************************************************************<br></span></div><div><span>It seems the configure did not link the Intel MPI libs. I used --with-mpi-dir to specify the MPI directory, can configure
 get the correct Intel MPI lib names? If I have to specify the lib names (using --with-mpi-lib?), which libs should I specify? I saw a lot of libs under the directory, such as libmpi.a, libmpi_ipl64.a, libmpi_mt.a, etc. </span></div><div><span></span> </div><div><span>Thanks a lot,</span></div><div><span>Qin</span></div><div><br></div>  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div>  <font size="2" face="Arial"> <b><span style="font-weight: bold;">From:</span></b> Barry Smith <bsmith@mcs.anl.gov><br> <b><span style="font-weight: bold;">To:</span></b> Qin Lu
 <lu_qin_2000@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> petsc-users <petsc-users@mcs.anl.gov> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, March 21, 2014 10:11 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [petsc-users] Building PETSc with Intel mpi<br> </font> </div> <div class="y_msg_container"><br><br clear="none">  Did you follow the directions here: <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#libimf" shape="rect" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html#libimf</a><br clear="none"><br clear="none">  Did it make any difference?<br clear="none"><br clear="none"><br clear="none">On Mar 21, 2014, at 9:45 AM, Qin Lu <<a href="mailto:lu_qin_2000@yahoo.com" shape="rect" ymailto="mailto:lu_qin_2000@yahoo.com">lu_qin_2000@yahoo.com</a>> wrote:<br clear="none"><br clear="none">> Hello,<br clear="none">>  <br
 clear="none">> I was trying to build PETSc-3.4.2 with Intel MPI using Intel-2013 compilers in Linux, but got the error below. The configure.log is attached.<br clear="none">>  <br clear="none">> *******************************************************************************<br clear="none">>                     UNABLE to EXECUTE BINARIES for ./configure <br clear="none">> -------------------------------------------------------------------------------<br clear="none">> Cannot run executables created with FC. If this machine uses a batch system <br clear="none">> to submit jobs you will need to configure using ./configure with the additional option  --with-batch.<br clear="none">>  Otherwise there is problem with the compilers. Can you compile and run code with your C/C++ (and maybe Fortran) compilers?<br clear="none">> See <a
 href="http://www.mcs.anl.gov/petsc/documentation/faq.html#libimf" shape="rect" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html#libimf</a><br clear="none">> *******************************************************************************<br clear="none">>  <br clear="none">> Thanks a lot for any suggestions abut the problem,<br clear="none">>  <br clear="none">> Regards,<br clear="none">> Qin<div id="yqtfd15573" class="yqt9978266559"><br clear="none">>  <br clear="none">> <configure.log><br clear="none"></div><br><br></div> </div> </div>  </div></body></html>