Hi all, I 'm facing an odd behavior using MPI_Send with messages created with ones. In particular if the message is created with
message=[1 1]; it is successfully delivered, but if it is created with message=ones(1,2); the communication fails. Both MPI_Send and MPI_Recv return MPI_SUCCESS, but the received vector is [](1x0). I tested some variations of the aboves with Octave 3.2.4 and openmpi_ext 1.0.1. The failing tests give the same result "[](1x0)". message=[1 1]; %works message=ones(1,2);% fails message=zeros(1,2); %works message=[ones(1,2)]; % works message=ones(1,2)*0.5;% fails message=ones(2,1); % works message=ones(2,2); % works message=rand(1,2); % works Can you explain why this happens? Andrea Bressan
mpi_test_send_vector.m
Description: Binary data
------------------------------------------------------------------------------
_______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev