You have to ensure that the IO only happens in the main process (where BlockDataSyncMode::ReduceOnly syncs to). Otherwise each process will write to the same file in parallel and in addition not even have the correct data.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok