Currently, I have a nice c++ graph algorithm written with custom struct definitions of linked-lists or arrays of linked-lists (I should turn this into a template definition, but it currently is not). This algorithm can easily be distributed, and I would like to test this. However, I do not have much OpenMPI experience other than understanding of some basic MPI examples.
- How do I use linked-lists in OpenMPI?
- What is the common practise for using linked-lists in MPI? For example, I could transform my linked-lists into arrays when I pass them to other processes and then just convert them back.
- Would I need to separately handle each of my linked-list classes? Currently, I have 4 separate linked-list classes. If this is the case I might be better off making a template class definition.
Thanks for the guidance and all the help!