Hi Andrea,
I posted the new versions of MPI_Send.cc and MPI_Rec.cc on svn on octave-forge.
I am about to prepare a new release with the bug fix.
Bests
Riccardo

--- Mer 26/5/10, Andrea Bressan <andrea.bres...@unipv.it> ha scritto:

Da: Andrea Bressan <andrea.bres...@unipv.it>
Oggetto: Re: problem with ones and openmpi
A: "Riccardo Corradini" <riccardocorrad...@yahoo.it>
Cc: octave-dev@lists.sourceforge.net
Data: Mercoledì 26 maggio 2010, 12:38

On Wed, 26 May 2010 10:03:29 +0000 (GMT)
Riccardo Corradini <riccardocorrad...@yahoo.it> wrote:

> It is because you are sending a "range" object and there is little
> bug in both procedure. I will fix it as soon as I may.
> Just browse the source code and you will see on your own.
> ..
> octave:3> typeinfo message
> ans = sq_string
> octave:4> message1 = ones(1,2)
> message1 =
> 
>    1   1
> 
> octave:5> typeinfo(message1)
> ans = range
> octave:6> message2 = ones(1,2) * 0.5
> message2 =
> 
>     0.50000    0.50000
> 
> octave:7> typeinfo(message2)
> ans = range

Thanks a lot for looking into this.

So a fix is forcing the type to be matrix as with [ones(1,2)].

Andrea



      
------------------------------------------------------------------------------

_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to