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.