LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Michael Wheatley (michaelw_at_[hidden])
Date: 2005-04-10 22:26:41


At 23:05 10/04/2005 -0400, you wrote:
>Hello,
>
>I've been assigned to take an existing C program and to modify it with
>MPI so that it could run in parallel on our cluster.
>
>The program consists of a graph and a few other linked lists. Since
>MPI doesn't provide explicit shared memory, I was wondering how I
>would handle the linked lists. Any suggestions?

I'd be interested to know of other responses as my experience closely
mirrors yours. I used graphcode and classdesc(it is on sourceforge) to
achieve the sharing of a graph in an MPI environment. Classdesc handles
all the packing for transfer of linked lists. Graphcode looks after the
distribution of the objects.

Now for the catches.
1) it is c++ not c
2) I know the guy who wrote graphcode (he is now on long service leave)
3) I too am/was a novice programmer given code to make parallel and it has
taken me about a year to get my head around all this lot.

I hope this helps. I can give you some more information of graphcode
should you want. Just fire me an email.

Mike

  Michael Wheatley
  Email: michaelw_at_[hidden]
  Photoelectrochemical solar cells
  School of Chemical Engineering and
  Industrial Chemistry
  Applied Science Building
     _--_|\ University of New South Wales
    / \ UNSW SYDNEY NSW 2052
    \_.--. _* Australia
         v phone ++61 2 9385 4296
               fax ++61 2 9385 5966