From: "Alexander N. Andreyev" <alexander@vvv.srcc.msu.su>
Newsgroups: comp.parallel.mpi
Subject: Re: 2 MPI Programs
Date: Thu, 22 Apr 1999 14:46:42 +0400
Organization: SRCC Nonlinear Computation Lab InterNetNew site
Distribution: world
Message-Id: <7fmum0$qnq$1@vvv.srcc.msu.su>
References: <371DED74.67F2DC94@hrb.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.mpi:4965


I think, the following way would be easier: 
1) you run 1 big MPI program, 
2) split the MPI_COMM_WORLD into two disjoint communicators, 
3) let the parts work independently
4) at the end, do MPI_Barrier(MPI_COMM_WORLD)

> I'm running the same MPI programs at the same time, using mpirun.
> Is there a way to not let 1 program exit until the the other has
> completed?

-- 
Alexander N. Andreyev 
Laboratory of Parallel Information Technologies, SRCC, MSU
alexander@vvv.srcc.msu.su, http://alex.motor.ru, ICQ: #3523091
Parallel Computing: http://parallel.srcc.msu.su [russian language]

