Am 24.01.2022 um 16:45 schrieb Marcin Błażejowski:
Hi,
suppose I have a R code which load gretldata via '--send-data' flag
and stores the results RES via 'gretl.export(RES, base)' and 'base' is
$mpirank based string. Is this thread-safe?
Hi Marcin, I believe it would be. Assuming that gretl.export from the R
side produces temp files, I think the most problematic part would be to
make sure that those temp files are not mixed up across ranks (threads).
So if those files are named according to the MPI rank and only that rank
them picks them up, I'd say it should work in theory.
cheers
sven