Hello OpenMP Experts,
I would like to know what precautions need to be taken, while writting and reading a txt file in the parallel context. I have a third party code which is written in FORTRAN who decides the number of threads etc. I have written a C++ function which is called by this FORTRAN code. where I open a existing file and read them and initialize variables. I write to an another file some log message. As there is single input and log file I would like to have some advice and precautions to be taken for parallel codes.
Thank you,
digimat
