Closed GernotMaier closed 2 days ago
There are two unrelated issues which pop up when running in parallel. One of them is related to creating the tarball and I think it is solved now in the fix_parallel_running
branch. I will take a look at the other issue as well (at some point).
Actually, after merging the main into fix_parallel_running
after #1137 was merged to main, I cannot reproduce the first problem. Can you @GernotMaier, @tobiaskleiner please check and see if you can reproduce the problem in fix_parallel_running
? If not, I will open a PR with this small fix.
I will anyway look into the output files from productions in the future because I want to change the names to be a bit more consistent.
Requires cross check with @EshitaJoshi that changes implemented in PR #1211 fixes this issue.
I can confirm the tests all pass for me now!
I ran: pytest -n auto --no-cov tests/integration_tests/ --count 5 -k simtools-simulate-prod
Good - then let's close this issue.
Issue noticed by Tobias during work on #1137.
Running the simulate_prod integration tests in parallel makes them fail.
The error messages are typically:
Comparing log files from sim_telarray, it becomes apparent that for the failing runs sim_telarray was not executed correctly. So above error on missing histogram files is because these files are never generated.
An inspection of configuration files (for simtools, corsika, sim_telarray) or run scripts do not reveal anything notable. Paths are set everywhere consistently to the right temporary directory generated by pytest.
Propose to analyse if sim_telarray array uses some temporary directories for all runs, which might interfer when run in parallel?