Using dpp on the openmpi headers

Peter Jacobs peterj at mech.uq.edu.au
Mon Mar 16 10:40:09 UTC 2020


On Monday, 16 March 2020 at 01:12:42 UTC, bachmeier wrote:
> On Friday, 13 March 2020 at 08:08:17 UTC, Peter Jacobs wrote:
>> Given the recent thread that mentioned dpp for generating an 
>> interface module for a C library, I thought that I would give 
>> it a go on the openmpi headers.
>> Thoughts or suggestions on how to proceed?
>

--- snip ---

> Have you seen this project?
>
> https://github.com/1100110/OpenMPI
>
> As I think about this, OpenMPI is probably one of the most 
> difficult libraries to deal with. It's such a complicated beast 
> to build that you're supposed to use their wrapper compiler.

Yes, indeed, we use that OpenMPI wrapper, actually the version at 
https://github.com/DlangScience/OpenMPI which has been maintained 
by John Colvin. A big thanks to both Jude Young and John Colvin.  
We have run our CFD flow solver across more than 1000 cores using 
MPI 
http://cfcfd.mechmining.uq.edu.au/eilmer/pdfs/cfh-seminar-oct-2019.pdf

What prompted my experiments with dpp is that I have been getting 
reports that our code is not building with very recent editions 
of openmpi, presumably because the OpenMPI wrapper-generator code 
is surprised by the new header file content, and that I have seen 
dpp suggested by Atila Neves a couple of times.




More information about the Digitalmars-d mailing list