On May 20, 2010, at 2:52 PM, Lisandro Dalcin wrote:
> Jeff, you should really learn Python and give a try to mpi4py. Even if
> you do not consider Python a language for serious, production work
> :-), it would be a VERY productive one for writing tests targeting
> MPI.
Freely admitted laziness on
On 20 May 2010 11:09, Jeff Squyres wrote:
> Can you send us an all-C or all-Fortran example that shows the problem?
>
> We don't have easy access to test through the python bindings. ...ok, I
> admit it, it's laziness on my part. :-)
>
Jeff, you should really learn Python and give a try to mpi
Filed as https://svn.open-mpi.org/trac/ompi/ticket/2415.
Thanks for the bug report!
On May 20, 2010, at 1:33 PM, Edgar Gabriel wrote:
> thanks for pointing the problem out. I checked in the code, the problem
> is the MPI layer itself. The following check prevents us from doing
> anything
>
> -
thanks for pointing the problem out. I checked in the code, the problem
is the MPI layer itself. The following check prevents us from doing
anything
e.g. ompi/mpi/c/allgather.c
if ((MPI_IN_PLACE != sendbuf && 0 == sendcount) ||
(0 == recvcount)) {
return MPI_SUCCESS;
}
Hi,
you are right, I should have provided C++ and Fortran example, so I am doing
now
Here is "cplusplus.cpp"
#include
#include
using namespace std;
int main()
{
MPI::Init();
char command[] = "./a.out";
MPI::Info info;
MPI::Intercomm child = MPI::COMM_WORLD.Spawn(command, NULL,
Can you send us an all-C or all-Fortran example that shows the problem?
We don't have easy access to test through the python bindings. ...ok, I admit
it, it's laziness on my part. :-) But having a pure Open MPI test app would
also remove some possible variables and possible sources of error.
Hi Jody,
I think that it is correct, you can test this example in your desktop,
thanks,
On Thu, May 20, 2010 at 3:18 AM, jody wrote:
> Hi
> I am really no python expert, but it looks to me as if you were
> gathering arrays filled with zeroes:
> a = array('i', [0]) * n
>
> Shouldn't this lin
Hi
I am really no python expert, but it looks to me as if you were
gathering arrays filled with zeroes:
a = array('i', [0]) * n
Shouldn't this line be
a = array('i', [r])*n
where r is the rank of the process?
Jody
On Thu, May 20, 2010 at 12:00 AM, Battalgazi YILDIRIM
wrote:
> Hi,
>
>
> I a
Hi,
I am trying to use intercommunicator ::Allgather between two child process.
I have fortran and Python code,
I am using mpi4py for python. It seems that ::Allgather is not working
properly in my desktop.
I have contacted first mpi4py developers (Lisandro Dalcin), he simplified
my problem and