Hello,
I'm having trouble with some MPI programming in Fortran, using openmpi.
It seems that my program doesn't work unless I print some unrelated text to the
screen. For example, if I have this situation:
*** hundreds of lines cut ***
IF (irank .eq. 0) THEN
CALL print_results1(variable)
not wait for each other with the following commands:
CALL MPI_BARRIER(MPI_COMM_WORLD,ierr) ! in parent
CALL MPI_BARRIER(MPI_COMM_WORLD,ierr) ! in child
To: us...@open-mpi.org
From: treum...@us.ibm.com
List-Post: users@lists.open-mpi.org
Date: Wed, 17 Mar 2010 13:25:03 -0400
Subject: Re: [OMPI users] r
Hello,
Following advice on other branches of this thread, I've managed to get to the
point where I can spawn the second program. I've also managed to ensure that
I'm running in an open-mpi environment during the testing.
I would like to run my next steps by everyone in case anyone with more
e
Thank you very much for the examples.
I tried the following program, based on the guidance here and additional
information I found through google:
---
PROGRAM mpitest1
IMPLICIT none
CHARACTER*6 :: dir
CHARACTER*1 :: crank
! MPI parameters
INCLUDE 'mpif.h'
INTEGER :
Thanks for your kind help so far.
Following your suggestions I've been trying to figure out MPI_COMM_SPAWN, but
it's at the edge of my understanding so it's not easy.
I read that the changing of directories can be achieved using info keys,
however these are very cryptic: I can't seem to find a
org
Subject: Re: [OMPI users] running external program on same
processor (Fortran)
How are you trying to start this external program? With an MPI_Comm_spawn? Or
are you just fork/exec'ing it?
How are you waiting for this external program to finish?
On Mar 5, 2010, at 7:52 AM, abc
I as this mailing list is for the latter. We could have directed
you to the appropriate place if we had known.
On Mar 3, 2010, at 5:17 AM, abc def wrote:I don't know (I'm a little new to
this area), but I figured out how to get around the problem:
Using SGE and MVAPICH2, the "-env M
his is the problem of the scheduler that your system uses,
> rather than MPI?
>
>
> On Wed, 2010-03-03 at 00:48 +, abc def wrote:
> > Hello,
> >
> > I wonder if someone can help.
> >
> > The situation is that I have an MPI-parallel fortran program. I
Hello,
I wonder if someone can help.
The situation is that I have an MPI-parallel fortran program. I run it
and it's distributed on N cores, and each of these processes must
call an external program.
This external program is also an MPI program, however I want to run it
in serial, on the co