[petsc-users] WHY "C++ error! MPI_Finalize() could not be located!"? Thanks.

Jerry orzgodlo at gmail.com
Sat Jan 17 13:18:44 CST 2015


Hi, Matthew.

Please find attached the configure log. Thanks.

-Jerry

2015-01-17 4:52 GMT-08:00 Matthew Knepley <knepley at gmail.com>:

> Send the whole configure.log
>
>   Thanks,
>
>      Matt
>
> On Sat, Jan 17, 2015 at 4:07 AM, Jerry <orzgodlo at gmail.com> wrote:
>
>> Hi, all.
>>
>> 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.
>>
>> But I am sure mpi.h is under the folder I specified
>> (--with-mpi-include=/usr/include/mpi )
>>
>> Any idea about the problem? Thanks.
>>
>>
>> $$ ./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
>>
>>
>> ===============================================================================
>>              Configuring PETSc to compile on your
>> system
>>
>> ===============================================================================
>> TESTING: CxxMPICheck from
>> config.packages.MPI(config/BuildSystem/config/packages*******************************************************************************
>>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
>> details):
>>
>> -------------------------------------------------------------------------------
>> C++ error! MPI_Finalize() could not be located!
>>
>> *******************************************************************************
>>
>>
>>
>> ===========  Last few lines from configure.log ================
>>
>>
>>
>> *******************************************************************************
>>   File "./config/configure.py", line 272, in petsc_configure
>>     framework.configure(out = sys.stdout)
>>   File
>> "/home/delia/workspace/programs/petsc/config/BuildSystem/config/framework.py",
>> line 941, in configure
>>     child.configure()
>>   File
>> "/home/delia/workspace/programs/petsc/config/BuildSystem/config/package.py",
>> line 606, in configure
>>     self.executeTest(self.configureLibrary)
>>   File
>> "/home/delia/workspace/programs/petsc/config/BuildSystem/config/base.py",
>> line 126, in executeTest
>>     ret = test(*args,**kargs)
>>   File
>> "/home/delia/workspace/programs/petsc/config/BuildSystem/config/packages/MPI.py",
>> line 660, in CxxMPICheck
>>     raise RuntimeError('C++ error! MPI_Finalize() could not be located!')
>>
>> ================================================================================
>> Finishing Configure Run at Sat Jan 17 01:34:31 2015
>>
>> ================================================================================
>>
>>
>> Jerry
>>
>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150117/d7a70260/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 1180644 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150117/d7a70260/attachment-0001.bin>


More information about the petsc-users mailing list