Re: "error: No best alternative for {dir}/libs/mpi/build/boost_mpi", but the build succeeds

Дмитрий Архипов via Boost-users <[email protected]> Fri, 17 Jan 2025 16:49:24 +0300
Newsgroups gmane.comp.lib.boost.user
Message-ID <CAKEcVxUZPzZRpk8RQtJbjOHc5nbJqgyqsQD7OnwjX1i-xQ-ycQ@mail.gmail.com>
чт, 16 янв. 2025 г. в 23:59, Nicholas Williams <[email protected]>:
> This is from just one platform (as stated in my original post, all platforms have the exact same error):
>
> https://gist.github.com/beamerblvd/5bbc952d8ece4a44e38df8630837114a

It turns out, the problem is that you need to configure the mpi module. Put

using mpi ;

into either user-config.jam or project-config.jam (the former is
better, because the bootstrap script rewrites project-config.jam).

Boost.MPI was supposed to tell you that you need to do this, but
something made this part to do nothing:

        message boost_mpi
            : "warning: skipping optional Message Passing Interface
(MPI) library."
            : "note: to enable MPI support, add \"using mpi ;\" to
user-config.jam."
            : "note: to suppress this message, pass \"--without-mpi\" to b2."
            : "note: otherwise, you can safely ignore this message."
            ;
_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users