<div dir="ltr">Send the whole configure.log<div><br></div><div> Thanks,</div><div><br></div><div> Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 17, 2015 at 4:07 AM, Jerry <span dir="ltr"><<a href="mailto:orzgodlo@gmail.com" target="_blank">orzgodlo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, all.<br><br>I am trying to configure&compile petsc. However, during configuring, I got the following error (C++ error! MPI_Finalize() could not be located!). I am also copying the last few lines in configure.log.<br><br></div><div>But I am sure mpi.h is under the folder I specified (--with-mpi-include=/usr/include/mpi )<br><br></div><div>Any idea about the problem? Thanks.<br><br></div><div><br>$$ ./configure --prefix=~/local --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --with-mpi-include=/usr/include/mpi --with-mpi-lib=/usr/lib/libmpi.so<br><br>===============================================================================<br> Configuring PETSc to compile on your system <br>===============================================================================<br>TESTING: CxxMPICheck from config.packages.MPI(config/BuildSystem/config/packages*******************************************************************************<br> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>-------------------------------------------------------------------------------<br>C++ error! MPI_Finalize() could not be located!<br>*******************************************************************************<br><br><br><br></div>=========== Last few lines from configure.log ================<br><br><br><div>*******************************************************************************<br> File "./config/configure.py", line 272, in petsc_configure<br> framework.configure(out = sys.stdout)<br> File "/home/delia/workspace/programs/petsc/config/BuildSystem/config/framework.py", line 941, in configure<br> child.configure()<br> File "/home/delia/workspace/programs/petsc/config/BuildSystem/config/package.py", line 606, in configure<br> self.executeTest(self.configureLibrary)<br> File "/home/delia/workspace/programs/petsc/config/BuildSystem/config/base.py", line 126, in executeTest<br> ret = test(*args,**kargs)<br> File "/home/delia/workspace/programs/petsc/config/BuildSystem/config/packages/MPI.py", line 660, in CxxMPICheck<br> raise RuntimeError('C++ error! MPI_Finalize() could not be located!')<br>================================================================================<br>Finishing Configure Run at Sat Jan 17 01:34:31 2015<br>================================================================================<span class="HOEnZb"><font color="#888888"><br><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Jerry <br></div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div>