Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] error from MPI_Allgather
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-09-26 02:37:29


Two things:

1. That looks like an MPICH error message (i.e., it's not from Open MPI -- Open MPI and MPICH2 are entirely different software packages with different developers and behaviors). You might want to contact them for more specific details.

2. That being said, it looks like you used the same buffer for both the sbuf and rbuf. MPI does not allow you to do that; you need to specify different buffers for those arguments.

On Sep 26, 2012, at 5:45 AM, Rajesh J wrote:

> Hello,
> I have some error while using mpirun. Could anyone please help me solve this.
> I googled this and found some, but too technical for me since I am not
> so familiar with mpi programs. Is this due to some installation
> problem or the program which I run?
>
> Fatal error in PMPI_Allgather: Invalid buffer pointer, error stack:
> PMPI_Allgather(958): MPI_Allgather(sbuf=0x6465d30, scount=1,
> MPI_INTEGER, rbuf=0x6465d30, rcount=1, MPI_INTEGER, MPI_COMM_WORLD)
> failed
> PMPI_Allgather(931): Buffers must not be aliased
>
>
> Thank you very much
> --
> **Dr. Rajesh J.
> Postdoctoral Research Associate,
> Center for Global Environmental Research,
> National Institute for Environmental Studies,
> 16-2 Onogawa, Tsukuba, Ibaraki, 305-8506 Japan
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/