It seems as though this problem is fixed with version 1.2.6. I did not
get the error when using the packages from Debin Sid who use this
version instead of 1.2.5.
ilmar
Ilmar Wilbers wrote:
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
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users