LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Peter Kjellström (cap_at_[hidden])
Date: 2011-08-17 06:00:41


On Wednesday, August 17, 2011 10:27:59 AM Chris Thorne wrote:
> Hi,
>
> the tutorial example:
> file:///Users/dragonmage/code/MPI/mpiTutorials/ezstart.php.htm
>
> generates compile errors.
> unit_of_work_t is not defined, unless it is supposed to be in the header.

It's not a complete compileable example. It's a, and I quote, "complete
communications skeleton". unit_of_work_t is one of the things that a user
would have to fill in to turn this into a working program.
 
> slave(void) uses "result" but defines "results"

This is a typo. Probably not spotted since this code was not meant to be
compiled as is.

While you can expect an MPI tutorial for LAM to be generally valid for any MPI
implementation LAM itself is no longer active/maintained. Please have a look
at OpenMPI.

/Peter

> cheers,
>
> chris