Newsgroups: comp.parallel.mpi
From: Roberto Lionello <REMOVE_THIS_TO_REPLYlionel@iris023.saic.com>
Subject: Alternative to MPI_gather?
Organization: SAIC
Date: Wed, 03 Sep 1997 12:33:19 -0700
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <340DBB7F.3EE7047A@iris023.saic.com>

Hello,


 I'm deviding my data structure in unequal blocks
because I don't want to be restricted to even numbers of
 points or processors. For example if my array when I use
only one processor is a(81,51) then when
 I use four processors  the local arrays are
PE 0   alocal(81,13)
PE 1   alocal(81,13)
PE 2   alocal(81,13)
PE 3   alocal(81,12)


The problem is when I have to write everything  in a file.
 I cannot use MPI_gather to put the alocal arrays
back into a(81,51)  because I'm using unequal blocks.
Is there an elegant way of this? Thanks! 
If you answer  by email my correct address is shown  below.

Regards,
Roberto

-- 

Roberto Lionello <lionel@iris023.saic.com> ****I don't speak for SAIC****
SAIC, 10260 Campus Point Drive MS-C2, San Diego, CA 92121-1578, USA. 
Tel: 1-619-546-6771, Fax: 1-619-546-6261, http://www.arcetri.astro.it/~lionel
Visit the Italian Ph.D. Association: http://distart.ing.unibo.it/dott/

