ictr / covid19-outbreak-simulator

Population-based Forward-time Simulator for the Outbreak of COVID-19
https://ictr.github.io/covid19-outbreak-simulator/
Other
1 stars 3 forks source link

prevent writing to the same log file by two processes #19

Closed BoPeng closed 3 years ago

BoPeng commented 3 years ago

Somehow two cluster jobs got created to execute the same command and the resulting log file is messed up.

We could lock the log file and prevent multiple processes from writing to them.