Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Problems with gcc 4.3
From: Ilmar Wilbers (ilmarw_at_[hidden])
Date: 2008-05-05 08:15:45


Hi,

This email is a follow-up to the following:
http://www.open-mpi.org/community/lists/users/2007/12/4756.php

I experience the same problems with gcc 4.3 and the Debias packages og
openmpi for Ubuntu Hardy:
cc1plus: warnings being treated as errors
In file included from
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h:246,
from /usr/lib/openmpi/include/mpi.h:1783,
from /usr/lib/petsc/include/petsc.h:138,
from /usr/lib/petsc/include/petscis.h:7,
from /usr/lib/petsc/include/petscvec.h:9,
from ./dolfin/la/PETScVector.h:18,
from ./dolfin/la/default_la_types.h:10,
from ./dolfin/la/Vector.h:15,
from ./dolfin/function/Function.h:16,
from ./dolfin/fem/Form.h:14,
from dolfin/elements/ProjectionLibrary.h:12,
from dolfin/elements/ProjectionLibrary.cpp:5:
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/request_inln.h: In static
member function ‘static MPI::Grequest MPI::Grequest::Start(int
(*)(void*, MPI::Status&), int (*)(void*), int (*)(void*, bool), void*)’:
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/request_inln.h:347: error:
declaration ‘struct MPI::Grequest_intercept_t’ does not declare anything
In file included from
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h:247,
from /usr/lib/openmpi/include/mpi.h:1783,
from /usr/lib/petsc/include/petsc.h:138,
from /usr/lib/petsc/include/petscis.h:7,
from /usr/lib/petsc/include/petscvec.h:9,
from ./dolfin/la/PETScVector.h:18,
from ./dolfin/la/default_la_types.h:10,
from ./dolfin/la/Vector.h:15,
from ./dolfin/function/Function.h:16,
from ./dolfin/fem/Form.h:14,
from dolfin/elements/ProjectionLibrary.h:12,
from dolfin/elements/ProjectionLibrary.cpp:5:
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h: In static
member function ‘static int MPI::Comm::NULL_COPY_FN(const MPI::Comm&,
int, void*, void*, void*, bool&)’:
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h:641: error:
the address of ‘int OMPI_C_MPI_NULL_COPY_FN(ompi_communicator_t*, int,
void*, void*, void*, int*)’ will never be NULL
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h: In static
member function ‘static int MPI::Comm::NULL_DELETE_FN(MPI::Comm&, int,
void*, void*)’:
/usr/lib/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h:698: error:
the address of ‘int OMPI_C_MPI_NULL_DELETE_FN(ompi_communicator_t*, int,
void*, void*)’ will never be NULL

Similar error come for each time the header files are included. Does
anyone know what causes this?

ilmar