`ffl` race conditions between omicron jobs
I have been encountering ffl cannot be loaded
errors when running offline omicron jobs via pyomicrons condor dag generation.
When running via condor, which jobs encounter this issue is random. Running the same jobs serially via a bash script always results in the jobs successfully completing.
When running via condor, jobs that are launched at the same time sometime share the same ffl
file, due to the seed being set with the current time.
I suspect the problem I've been encountering is due to race conditions between jobs sharing the same ffl
file. As a solution, I propose combing the current time with a process specific attribute (e.g. getpid()
) to seed the frame file name.