send array using MPI
- From: Fabian Braennstroem <f.braennstroem@xxxxxx>
- Date: Wed, 29 Mar 2006 08:29:22 +0200
Hi,
I try to write a small fortran/mpi program to solve the
poisson eqn. To accomplish that, I have to send a part of
the calculated 2D array to the other processors.
The array is defined in a COMMON file: f(i,j) with i=100 and
j=100.
I want to send the values for j=10 and i=1 to 100; so I
actually send 100 values to the other processors.
My problem is, that I do not know, how I declare the range
of the sending array to the MPI_SEND routine.
CALL MPI_Send(f(1,100),count,MPI_FLOAT,1, 0,MPI_COMM_WORLD, ierr)
'count' should be set to 100, but how can I declare the
range!?
Would be nice, if you have an idea, how I can do that in
fortran77!
Greetings!
Fabian
.
- Follow-Ups:
- Re: send array using MPI
- From: Douglas Sondak
- Re: send array using MPI
- From: Michael Wild
- Re: send array using MPI
- Prev by Date: Re: Calling Matlab in Compaq visual fortran at Windows XP
- Next by Date: Re: send array using MPI
- Previous by thread: ANN: Free Fortran Tools with F on AMD64
- Next by thread: Re: send array using MPI
- Index(es):
Relevant Pages
|
|