[MPI] Fail in compiling MPI and related libraries

Yuan Yao <yaoyuan0123 <at> outlook.com> writes:
The following is my compilation settings: BOOST: 1.59 Compiler: VS Community 2015 MPI: Microsoft MPI v6
Command: b2 --user-config=user- config.jam variant=debug,release link=shared runtime-link=shared install Part of Error Message: ========================================
E:\TDDOWNLOAD\Soft\gnu\boost_1_59_0\boost/ mpi/detail/ignore_skeleton_oarchive.hpp(64 ):
error C2664: "void boost::mpi::detail::ignore_skeleton_oarchi ve<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_oarchi ve<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_oa rchive<boost::mpi::detail::content_oarchiv e>"
Unfortunately your error messages are only displayed as question marks, but the file names and function names look exactly like the errors that I also had when trying to build MPI as a shared library with MSVC. I have created a pull request which fixes the errors for me: https://github.com/boostorg/mpi/pull/25

Marcel Raad writes:
Unfortunately your error messages are only displayed as question marks, but the file names and function names look exactly like the errors that I also had when trying to build MPI as a shared library with MSVC. I have created a pull request which fixes the errors for me: https://github.com/boostorg/mpi/pull/25 _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Fixed. Thank you very much! It really should have been merged into the boostorg:develop.

On 21/08/2015 03:19, Yuan Yao wrote:
Marcel Raad writes:
Unfortunately your error messages are only displayed as question marks, but the file names and function names look exactly like the errors that I also had when trying to build MPI as a shared library with MSVC. I have created a pull request which fixes the errors for me: https://github.com/boostorg/mpi/pull/25 _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Fixed. Thank you very much! It really should have been merged into the boostorg:develop.
Well, I wasn't very confident in merging that one myself, if only because I am not familiar with windows nor have access to a windows box with MPI. I'll check if it compiles on Linux and if nobody objects I'll merge it in. I'll cc too boost-mpi to give the issue more visibility to the people involved. Alain
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- --- Alain
participants (3)
-
Alain Miniussi
-
Marcel Raad
-
Yuan Yao