I am running an experiment distributed over several computers using the Parallel computing toolbox. I want to be able to produce a log of the progress of the experiment (or of any error occurring) and save this info in a file while the processes are running. What is the standard way to do it?
- I use embarrassingly parallel
- I want only one file for all the workers (I have a network drive that can be accessed from all the machine)
My main concern is having a file opened for append by several workers. Do I risk losing messages, or having an error opening the file?