Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Is this an OpenMPI bug?
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-02-23 09:56:06

On Feb 20, 2009, at 6:54 PM, -Gim wrote:

> I am trying to use the mpi_bcast function in fortran. I am using
> open-mpi-v-1.2.7
> Say x is a real variable of size 100. np =100 I try to bcast this
> to all the processors.
> I use call mpi_bcast(x,np,mpi_real,0,ierr)

Aren't you missing the communicator argument in there?

Jeff Squyres
Cisco Systems