Skip to content

Reply To: Storing data in a csv file error (running code in parallel)

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

› Forums › OpenLB › General Topics › Storing data in a csv file error (running code in parallel) › Reply To: Storing data in a csv file error (running code in parallel)

#5815
Adrian
Keymaster

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.