Hi Stuart,
On 2020-01-22 09:31, Stuart Henderson wrote:
On 2020/01/22 09:24, j...@bitminer.ca wrote:
The mixing of gcc-built code with clang "runtime" is not really
such a big deal on AMD64.
I know very little about openmpi but it looks like you're intending
this
as a general statement. For C code it's not a problem. For C++ code
it's
a big problem because the standard libraries conflict.
True -- I should have qualified the sentence "when using C and often
when using C++".
OpenMPI provides a C library, not C++. So any[*] C++ source code
can be built with OpenMPI, with either compiler, provided any other
prerequisites are also available. OpenMPI people deprecated
their C++ interface long ago.
Much of this info exceeds the typical scope of documentation; I have
some web pages in progress that I hope to publish soon (once I
figure out github pages).
Perhaps the OpenMPI port needs an OpenBSD-specific set of guidelines
(e.g. useful runtime environment variables, compiling guidance, etc).
[*] In principle, although I haven't tried many.