Thread overview
MPI Concurrency library update?
Aug 10, 2012
Andrew Spott
Aug 11, 2012
dsimcha
Aug 11, 2012
Andrew
Aug 11, 2012
dsimcha
Aug 11, 2012
Russel Winder
Aug 11, 2012
Jacob Carlborg
Aug 11, 2012
Russel Winder
August 10, 2012
A while ago, (August of last year I think), there was talk about
a MPI wrapper for D.  Has there been any update on that?
August 11, 2012
On Friday, 10 August 2012 at 23:40:43 UTC, Andrew Spott wrote:
> A while ago, (August of last year I think), there was talk about
> a MPI wrapper for D.  Has there been any update on that?

I was considering writing one, but I wanted it to be high-level and easy-to-use.  I ended up not doing it, initially because I was waiting for serialization to be added to Phobos (which I thought was imminent) and then because I got busy with unrelated things.

I think that a nice high-level MPI wrapper for D should be tightly integrated into a serialization library to encapsulate the low-level details of passing non-trivial data structures across nodes.  I doubt I'll get around to implementing it when serialization is added, though, because I'm probably past the MPI-using stage of my life (my Ph.D. research is basically finished, I'm just revising my dissertation and preparing to defend) so I wouldn't get to eat my own dogfood.
August 11, 2012
On Saturday, 11 August 2012 at 00:24:40 UTC, dsimcha wrote:
> On Friday, 10 August 2012 at 23:40:43 UTC, Andrew Spott wrote:
>> A while ago, (August of last year I think), there was talk about
>> a MPI wrapper for D.  Has there been any update on that?
>
> I was considering writing one, but I wanted it to be high-level and easy-to-use.  I ended up not doing it, initially because I was waiting for serialization to be added to Phobos (which I thought was imminent) and then because I got busy with unrelated things.
>
> I think that a nice high-level MPI wrapper for D should be tightly integrated into a serialization library to encapsulate the low-level details of passing non-trivial data structures across nodes.  I doubt I'll get around to implementing it when serialization is added, though, because I'm probably past the MPI-using stage of my life (my Ph.D. research is basically finished, I'm just revising my dissertation and preparing to defend) so I wouldn't get to eat my own dogfood.

Well, my PhD research is just beginning... :)

Any chance you could pass on what you have?  It might help me out
a bit, and reduce my workload toward creating a usable MPI
library.

Thanks.

-Andrew
August 11, 2012
All I have is a very ad-hoc wrapper that does just what I needed for my purposes.  It basically has function prototypes for the parts of the API I actually care about and a few high-level wrappers for passing primitives and arrays to other nodes of the same architecture.

On Saturday, 11 August 2012 at 01:12:29 UTC, Andrew wrote:
> On Saturday, 11 August 2012 at 00:24:40 UTC, dsimcha wrote:
>> On Friday, 10 August 2012 at 23:40:43 UTC, Andrew Spott wrote:
>>> A while ago, (August of last year I think), there was talk about
>>> a MPI wrapper for D.  Has there been any update on that?
>>
>> I was considering writing one, but I wanted it to be high-level and easy-to-use.  I ended up not doing it, initially because I was waiting for serialization to be added to Phobos (which I thought was imminent) and then because I got busy with unrelated things.
>>
>> I think that a nice high-level MPI wrapper for D should be tightly integrated into a serialization library to encapsulate the low-level details of passing non-trivial data structures across nodes.  I doubt I'll get around to implementing it when serialization is added, though, because I'm probably past the MPI-using stage of my life (my Ph.D. research is basically finished, I'm just revising my dissertation and preparing to defend) so I wouldn't get to eat my own dogfood.
>
> Well, my PhD research is just beginning... :)
>
> Any chance you could pass on what you have?  It might help me out
> a bit, and reduce my workload toward creating a usable MPI
> library.
>
> Thanks.
>
> -Andrew


August 11, 2012
On Sat, 2012-08-11 at 03:12 +0200, Andrew wrote:
> On Saturday, 11 August 2012 at 00:24:40 UTC, dsimcha wrote:

> > I was considering writing one, but I wanted it to be high-level and easy-to-use.  I ended up not doing it, initially because I was waiting for serialization to be added to Phobos (which I thought was imminent) and then because I got busy with unrelated things.

Easy to use is good. Did you survey Boost.MPI?

> > I think that a nice high-level MPI wrapper for D should be tightly integrated into a serialization library to encapsulate the low-level details of passing non-trivial data structures across nodes.  I doubt I'll get around to implementing it when serialization is added, though, because I'm probably past the MPI-using stage of my life (my Ph.D. research is basically finished, I'm just revising my dissertation and preparing to defend) so I wouldn't get to eat my own dogfood.

Marshalling and unmarshalling data structures is a real pain. On the other hand isn't it something that has to be explicit when working with MPI since the MPI API works solely in machine level data types.

> Well, my PhD research is just beginning... :)
> 
> Any chance you could pass on what you have?  It might help me out a bit, and reduce my workload toward creating a usable MPI library.

I don't have any D-related material, and I don't use MPI for big cluster-based codes, but I use MPI a lot for some small algorithm benchmarks. So if you need someone to bounce idea off, feel free to include me in the set of people you drop a line to.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


August 11, 2012
On Sat, 2012-08-11 at 02:24 +0200, dsimcha wrote:
[…]
> serialization is added, though, because I'm probably past the MPI-using stage of my life (my Ph.D. research is basically finished, I'm just revising my dissertation and preparing to defend) so I wouldn't get to eat my own dogfood.

Good luck with finishing the dissertation and the defence.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


August 11, 2012
On 2012-08-11 12:30, Russel Winder wrote:

> Marshalling and unmarshalling data structures is a real pain. On the
> other hand isn't it something that has to be explicit when working with
> MPI since the MPI API works solely in machine level data types.

Probably not exactly what's needed but:

https://github.com/jacob-carlborg/orange

-- 
/Jacob Carlborg