C++ error! MPI_Finalize() could not be located!

Dominik Szczerba dominik at itis.ethz.ch
Wed Oct 21 06:23:13 CDT 2009


I get the following error building petsc-3.0.0-p8 on 32 bit linux 
(Ubuntu 9.04):

================================================================================= 
                                                  Running make on MPICH; 
this may take several minutes 
 
================================================================================= 
                                            TESTING: CxxMPICheck from 
config.packages.MPI(config/BuildSystem/config/packages/MPI.py:599) 
 
*********************************************************************************
          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log 
for details):
---------------------------------------------------------------------------------------
C++ error! MPI_Finalize() could not be located!
*********************************************************************************

Tail of configure.log:

*********************************************************************************
          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log 
for details):
---------------------------------------------------------------------------------------
C++ error! MPI_Finalize() could not be located!
*********************************************************************************
   File "./config/configure.py", line 217, in petsc_configure
     framework.configure(out = sys.stdout)
   File 
"/home/domel/pack/petsc-3.0.0-p8/config/BuildSystem/config/framework.py", 
line 902, in configure
     child.configure()
   File 
"/home/domel/pack/petsc-3.0.0-p8/config/BuildSystem/config/package.py", 
line 445, in configure
     self.executeTest(self.configureLibrary)
   File 
"/home/domel/pack/petsc-3.0.0-p8/config/BuildSystem/config/base.py", 
line 97, in executeTest
     ret = apply(test, args,kargs)
   File 
"/home/domel/pack/petsc-3.0.0-p8/config/BuildSystem/config/packages/MPI.py", 
line 695, in configureLibrary
     self.executeTest(self.CxxMPICheck)
   File 
"/home/domel/pack/petsc-3.0.0-p8/config/BuildSystem/config/base.py", 
line 97, in executeTest
     ret = apply(test, args,kargs)
   File 
"/home/domel/pack/petsc-3.0.0-p8/config/BuildSystem/config/packages/MPI.py", 
line 613, in CxxMPICheck
     raise RuntimeError('C++ error! MPI_Finalize() could not be located!')



The configure line:

./config/configure.py --with-cc=icc --with-fc=ifort 
--download-f-blas-lapack=1 --download-mpich=1 --download-hypre=1 --with-x=0

with the Intel compiler version 11.0.083 (with -long_double
and -no-multibyte-chars in icc.cfg).

The same configuration (OS, compilers, versions) but on 64 bit system 
compiles fine. Any ideas? Google is silent.

with regards,
Dominik


More information about the petsc-users mailing list