Boost logo

Boost Users :

Subject: [Boost-users] [MPI] Fail in compiling MPI and related libraries
From: Yuan Yao (yaoyuan0123_at_[hidden])
Date: 2015-08-20 00:55:14


Dear all,

The following is my compilation settings:

BOOST: 1.59

Compiler: VS Community 2015

MPI: Microsoft MPI v6

Configuration File:
=================================================================================
using msvc : : "C:/Program Files/Microsoft Visual Studio 14.0/VC/bin/cl" ;

local cluster_pack_path = "C:/Program Files/Microsoft SDKs/MPI" ;
using mpi : : <include>$(cluster_pack_path)/
Include <library-path>$(cluster_pack_path)/Lib/x86
              <find-shared-library>msmpi ;
=================================================================================

Command: b2 --user-config=user-config.jam variant=debug,release link=shared runtime-link=shared install

Part of Error Message:
======================================================================================================================================================
compile-c-c++ ..\boost-build\boost\bin.v2\libs\mpi\build\msvc-14.0\debug\threading-multi\broadcast.obj
broadcast.cpp
C:\Program Files\Microsoft SDKs\MPI\Include\mpi.h: warning C4819: ?????????????(936)??????????????? Unicode ?????????
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/exception.hpp(33): warning C4275: ? dll ?? class"std::exception"?? dll ?? class"boost::mpi::exception"??
C:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE\vcruntime_exception.h(43): note: ??"std::exception"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/exception.hpp(32): note: ??"boost::mpi::exception"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/exception.hpp(85): warning C4251: "boost::mpi::exception::message": class"std::basic_string<char,std::char_traits<char>,std::allocator<char>>"??? dll ??? class"boost::mpi::exception"??????
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/packed_iarchive.hpp(53): warning C4275: ? dll ?? class"boost::archive::detail::basic_iarchive"?? dll ?? class"boost::archive::detail::common_iarchive<boost::mpi::packed_iarchive>"??
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/archive/detail/basic_iserializer.hpp(42): note: ??"boost::archive::detail::basic_iarchive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/packed_iarchive.hpp(151): warning C4251: "boost::mpi::packed_iarchive::internal_buffer_": class"std::vector<char,boost::mpi::allocator<char>>"??? dll ??? class"boost::mpi::packed_iarchive"??????
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/request.hpp(95): warning C4251: "boost::mpi::request::m_data": class"boost::shared_ptr<void>"??? dll ??? class"boost::mpi::request"??????
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/packed_oarchive.hpp(51): warning C4275: ? dll ?? class"boost::archive::detail::basic_oarchive"?? dll ?? class"boost::archive::detail::common_oarchive<boost::mpi::packed_oarchive>"??
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/archive/detail/basic_pointer_oserializer.hpp(39): note: ??"boost::archive::detail::basic_oarchive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/packed_oarchive.hpp(136): warning C4251: "boost::mpi::packed_oarchive::internal_buffer_": class"std::vector<char,boost::mpi::allocator<char>>"??? dll ??? class"boost::mpi::packed_oarchive"??????
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/communicator.hpp(1073): warning C4251: "boost::mpi::communicator::comm_ptr": class"boost::shared_ptr<MPI_Comm>"??? dll ??? class"boost::mpi::communicator"??????
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/skeleton_and_content.hpp(200): warning C4251: "boost::mpi::content::holder": class"boost::shared_ptr<boost::mpi::detail::mpi_datatype_holder>"??? dll ??? class"boost::mpi::content"??????
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/skeleton_and_content.hpp(244): warning C4275: ? dll ?? class"boost::mpi::detail::ignore_iprimitive"?? dll ?? class"boost::mpi::packed_skeleton_iarchive"??
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/ignore_iprimitive.hpp(27): note: ??"boost::mpi::detail::ignore_iprimitive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/skeleton_and_content.hpp(244): note: ??"boost::mpi::packed_skeleton_iarchive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/skeleton_and_content.hpp(246): warning C4275: ? dll ?? class"boost::archive::detail::basic_iarchive"?? dll ?? class"boost::archive::detail::common_iarchive<Archive>"??
        with
        [
            Archive=boost::mpi::packed_skeleton_iarchive
        ]
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/archive/detail/basic_iserializer.hpp(42): note: ??"boost::archive::detail::basic_iarchive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/skeleton_and_content.hpp(314): warning C4275: ? dll ?? class"boost::mpi::detail::ignore_oprimitive"?? dll ?? class"boost::mpi::packed_skeleton_oarchive"??
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/ignore_oprimitive.hpp(26): note: ??"boost::mpi::detail::ignore_oprimitive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/skeleton_and_content.hpp(314): note: ??"boost::mpi::packed_skeleton_oarchive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/skeleton_and_content.hpp(316): warning C4275: ? dll ?? class"boost::archive::detail::basic_oarchive"?? dll ?? class"boost::archive::detail::common_oarchive<Archive>"??
        with
        [
            Archive=boost::mpi::packed_skeleton_oarchive
        ]
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/archive/detail/basic_pointer_oserializer.hpp(39): note: ??"boost::archive::detail::basic_oarchive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/content_oarchive.hpp(27): warning C4275: ? dll ?? class"boost::mpi::detail::mpi_datatype_primitive"?? dll ?? class"boost::mpi::detail::content_oarchive"??
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/mpi_datatype_primitive.hpp(39): note: ??"boost::mpi::detail::mpi_datatype_primitive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/content_oarchive.hpp(27): note: ??"boost::mpi::detail::content_oarchive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/content_oarchive.hpp(29): warning C4275: ? dll ?? class"boost::archive::detail::basic_oarchive"?? dll ?? class"boost::archive::detail::common_oarchive<Archive>"??
        with
        [
            Archive=boost::mpi::detail::content_oarchive
        ]
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/archive/detail/basic_pointer_oserializer.hpp(39): note: ??"boost::archive::detail::basic_oarchive"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/ignore_skeleton_oarchive.hpp(64): error C2664: "void boost::mpi::detail::ignore_skeleton_oarchive<boost::mpi::detail::content_oarchive>::save_override(const std::string &,int)": ????? 1 ?"const boost::serialization::array<const _Elem>"???"const std::string &"
        with
        [
            _Elem=char
        ]
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/ignore_skeleton_oarchive.hpp(64): note: ????: ???"const boost::serialization::array<const _Elem>"???"const std::string"
        with
        [
            _Elem=char
        ]
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/ignore_skeleton_oarchive.hpp(64): note: ?????????????????????,??????????
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/ignore_skeleton_oarchive.hpp(62): note: ??? ?? ????"void boost::mpi::detail::ignore_skeleton_oarchive<boost::mpi::detail::content_oarchive>::save_override(const std::string &,int)"?
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/content_oarchive.hpp(29): note: ????????? ?? ???"boost::mpi::detail::ignore_skeleton_oarchive<boost::mpi::detail::content_oarchive>"???
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/mpi/detail/ignore_skeleton_oarchive.hpp(63): warning C4390: ";": ????????;????????

    call "C:\Users\YUANYA~1\AppData\Local\Temp\b2_msvc_14.0_vcvarsall_x86.cmd" >nul
cl /Zm800 -nologo @"..\boost-build\boost\bin.v2\libs\mpi\build\msvc-14.0\debug\threading-multi\broadcast.obj.rsp"

...failed compile-c-c++ ..\boost-build\boost\bin.v2\libs\mpi\build\msvc-14.0\debug\threading-multi\broadcast.obj...
======================================================================================================================================================


Thank you!

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net