On Mon, 15 Jan 2018, Marcin Błażejowski wrote:
Hi,
why this code:
<hansl>
set echo off
mpi
matrix FOO
if $mpirank == 0
FOO = ones(3,1)
endif
mpibcast(&FOO)
eval $mpirank * FOO
end mpi
</hansl>
in most cases produces an error? (MPI_ABORT was invoked on rank...)
Thanks for the report, Marcin. There's some new code in place to clean
up the gretl "dotdir" on exit and it turns out the cleanup was too
aggressive: under MPI the script (temporary file) to be run by
gretlmpi was getting deleted before all processes had finished reading
it.
There's now an initial fix in git but I'll take a further look at the
matter.
Allin