Opened 13 years ago

Closed 13 years ago

#3372 closed Bugs (duplicate)

Boost.MPI Build failure

Reported by: anonymous Owned by: Douglas Gregor
Milestone: Boost 1.40.0 Component: mpi
Version: Boost 1.39.0 Severity: Regression
Keywords: Cc: bwbarre@…

Description

When building the RC for Boost 1.40.0, Boost.MPI with Open MPI 1.3.3 on a Linux cluster, I get numerous errors of the type:

gcc.compile.c++ bin.v2/libs/mpi/build/gcc-3.4.6/debug/threading-multi/broadcast.o
In file included from ./boost/mpi/detail/mpi_datatype_cache.hpp:13,
                 from ./boost/mpi/datatype.hpp:27,
                 from ./boost/mpi/communicator.hpp:20,
                 from ./boost/mpi/collectives.hpp:21,
                 from ./boost/mpi/collectives_fwd.hpp:19,
                 from ./boost/mpi/collectives/broadcast.hpp:11,
                 from libs/mpi/src/broadcast.cpp:9:
./boost/mpi/detail/mpi_datatype_oarchive.hpp: In member function `void boost::mpi::detail::mpi_datatype_oarchive::save_enum(const T&, mpl_::true_)':
./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected primary-expression before "void"
./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected `)' before "void"
./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected `)' before '}' token

    "g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -g -pthread -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_MPI_DYN_LINK=1 -DBOOST_MPI_SOURCE=1  -I"." -I"/home/bwbarre/Software/x86_64-unknown-linux-gnu/openmpi/1.3.3/include" -c -o "bin.v2/libs/mpi/build/gcc-3.4.6/debug/threading-multi/broadcast.o" "libs/mpi/src/broadcast.cpp"

The system is running stock Red Hat 4 with the default compilers:

[15:51] bwbarre@odin:pts/2 ~> cat /etc/redhat-release 
Red Hat Enterprise Linux WS release 4 (Nahant Update 7)
[15:51] bwbarre@odin:pts/2 ~> g++ --version
g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Boost 1.39.0 with the same MPI and compilers does not exhibit this problem.

Change History (3)

comment:1 by anonymous, 13 years ago

original bug submitted by Brian Barrett <bwbarre@…>

comment:2 by Steven Watanabe, 13 years ago

Component: Nonempi
Owner: set to Douglas Gregor

comment:3 by smr@…, 13 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of ticket #3371.

Note: See TracTickets for help on using tickets.