Beginner for MPI programming

  • Follow


Hello all,

    I'm a beginner to MPI Programing in C. Need some help in this
regard.

 I found that, MPI also has datatypes. But not getting why these
required & how to use.
What else needs to be concentrated, before to start coding?

As a beginner I want to start with the following example:

Problem: Finding the prime numbers between 1 to 1000

The problem size 1-1000 is divided into 10 parts and executed across
10 processes.

How this can be coded?

Thanks,
Sangamesh
0
Reply forum 11/11/2008 10:05:14 AM

On Tue, 11 Nov 2008 11:05:14 +0100, forum.san@gmail.com <forum.san@gmail.com> wrote:

> Hello all,
>
>     I'm a beginner to MPI Programing in C. Need some help in this
> regard.
>
>  I found that, MPI also has datatypes. But not getting why these
> required & how to use.
> What else needs to be concentrated, before to start coding?
>
> As a beginner I want to start with the following example:
>
> Problem: Finding the prime numbers between 1 to 1000
>
> The problem size 1-1000 is divided into 10 parts and executed across
> 10 processes.
>
> How this can be coded?
>
> Thanks,
> Sangamesh
> 

I found the MPI standard document informative enough to start coding.
For your convenience the 1.x and 2.0 standard documents were recently
merged into the latest 2.1 standard paper available in several versions 
here:
http://www.mpi-forum.org/docs/mpi-2.1/mpi-2-1-doc.htm


-- 
This signature intentionally left almost blank.
http://www.this-page-intentionally-left-blank.org/
0
Reply Georg 11/14/2008 1:13:22 PM


On Nov 14, 6:13=A0pm, "Georg Bisseling" <s...@bisseling.de> wrote:
> On Tue, 11 Nov 2008 11:05:14 +0100, forum....@gmail.com <forum....@gmail.=
com> wrote:
> > Hello all,
>
> > =A0 =A0 I'm a beginner to MPI Programing in C. Need some help in this
> > regard.
>
> > =A0I found that, MPI also has datatypes. But not getting why these
> > required & how to use.
> > What else needs to be concentrated, before to start coding?
>
> > As a beginner I want to start with the following example:
>
> > Problem: Finding the prime numbers between 1 to 1000
>
> > The problem size 1-1000 is divided into 10 parts and executed across
> > 10 processes.
>
> > How this can be coded?
>
> > Thanks,
> > Sangamesh
>
> I found the MPI standard document informative enough to start coding.
> For your convenience the 1.x and 2.0 standard documents were recently
> merged into the latest 2.1 standard paper available in several versions
> here:http://www.mpi-forum.org/docs/mpi-2.1/mpi-2-1-doc.htm
>
Thank you. I'll go thru the documents.
> --
> This signature intentionally left almost blank.http://www.this-page-inten=
tionally-left-blank.org/

0
Reply forum 11/16/2008 7:20:37 AM

2 Replies
401 Views

(page loaded in 0.177 seconds)

Similiar Articles:













7/24/2012 4:21:11 PM


Reply: