On Sat, 19 Oct 2019, Marcin Błażejowski wrote:
On 18.10.2019 22:08, Allin Cottrell wrote:
> On Fri, 18 Oct 2019, Marcin Błażejowski wrote:
>>>> ALT_BUNSEND: 1, NEW_BUNCAST: 1 => crash
>>>> ALT_BUNSEND: 0, NEW_BUNCAST: 0 => works
>>> OK, but what about ALT_BUNSEND: 0, NEW_BUNCAST: 1 ?
> The problems exposed by Marcin's script are fixed in git -- which
> doesn't mean, of course, that there are no bugs remaining in the new
> MPI data transfer mechanism!
> For anyone wanting to mess with this: the new stuff is now controlled
> by a single symbol in gretl_mpi.c, namely NEW_BUNPASS. A value of 0
> for this reverts to the old code; a value of 1 activates the new code
> for mpibcast only; and a value of 2 or greater activates the new code
> for both mpibcast and mpisend/mpirecv.
I've just finished tests with different NEW_BUNPASS values in two
scenarios: mpisend-ing bundles or arrays and everything works fine.
Thanks, Marcin, that's good to hear.