Hello,
in a code that I am currently reading I have found that code:
template
struct MPI_Select_unsigned_integer_datatype;
template <>
struct MPI_Select_unsigned_integer_datatype<1> {
static MPI_Datatype datatype;
};
MPI_Datatype MPI_Select_unsigned_integer_datatype<1>::datatype =
MPI_UNSIG
Am 29.03.2018 um 09:58 schrieb Florian Lindner:
> #define MPI_BOOL MPI_Select_unsigned_integer_datatype::datatype
>
>
> It redefines MPI_BOOL based on the size of bool. I wonder if this is needed
> and why?
>
> I was speculating that the compiler could pack multiple bools in one word,
> when
You need to configure with --enable-mpi-cxx -- the Open MPI C++ bindings are
not built by default.
Can I ask what software you are using that requires the MPI C++ bindings?
I ask because the MPI C++ bindings were deprecated in the MPI-2.2 standard in
2009, and were formally deleted from the MPI
> Am 29.03.2018 um 09:58 schrieb Florian Lindner:
>> #define MPI_BOOL MPI_Select_unsigned_integer_datatype::datatype
>>
>> It redefines MPI_BOOL based on the size of bool. I wonder if this is needed
>> and why?
>>
>> I was speculating that the compiler could pack multiple bools in one word,
>>
Kaiming Ouyang writes:
> Hi Jeff,
> Thank you for your advice. I will contact the author for some suggestions.
> I also notice I may port this old version library to new openmpi 3.0. I
> will work on this soon. Thank you.
I haven't used them, but at least the profiling part, and possibly
control
Hi Durga,
This is only my interpretation, but they were never that appealing, nor
very C++-like, and people mostly kept using the C interface.
If you want to have a real C++ interface for MPI, have a look at Boost
MPI (http://www.boost.org/doc/libs/1_64_0/doc/html/mpi.html )
If the C++ MPI bin
Hello,
I would like to use openmpi with a software called LAMMPS. I know it is
possible when compiling the software to indicate it to use it with openmpi.
However when I do that I have a warning message telling me that the linkage
could not have been done (I specified the path for openmpi libra
On Mar 29, 2018, at 7:14 AM, Maxime Boissonneault
wrote:
>
> If the C++ MPI bindings had been similar to Boost MPI, they would probably
> have been adopted more widely and may still be alive.
FYI: the initial C++ bindings that were proposed (by me!) to the MPI Forum were
a full-blown class li
Elemental has very nice C++ wrappers to MPI features. If C++ is your
thing, you may want to take a look (https://github.com/elemental/Elemental/
)
There are a few other good projects you can find on GitHub that wrap MPI in
modern C++ syntax. None are complete AFAIK but I don’t think that matters