-
Notifications
You must be signed in to change notification settings - Fork 3
Create Beamline benchmark #154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
931a7e0 to
adda7dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No operational concerns from me. Plots look good.
|
Thanks @veprbl. A few questions from me. The simulation appears to have run twice rather than bench:beamline picking up and using the file created by sim:beamline. Is this correct? How/why is the workflow divided up between the github yml and snakemake? Locally, when have the other benchmarks in the top Snakefile uncommented, snakemake appears to freeze tying to identify the job graph. e.g. running Are the results being published anywhere at the moment or do we need to download the artefacts ourselves? |
470b303 to
67d4206
Compare
This is a bug. The issue seems to be that the gps input file has an ever more recent timestamp on each git fetch, and each gitlab jobs starts afresh. We can't pass .snakemake directory from sim step to bench because there are often several sim steps running in parallel and its not obvious how one can merge metadata, we can't have a shared .snakemake directory either. This makes Snakemake go off the timestamps only and mark the simulation rule for rerunning. For most jobs this is not an issue since we use Snakemake caching (you need to specify
That is odd. It starts instantly for me with the current state of repo. It can be slow to compute a large graph, but we should not have any such things in any of the benchmarks. Try with
You can click the eicweb/detector_benchmarks (nightly, epic_craterlake) job. There scroll right to either bench:beamline or collect_results:beamline, open that job and there will be a browse button for artifacts. Those are available immediately but stored for a limited amount of time. |
I should probably just remove the gps macro from the inputs of the benchmark when uploading here.
I was trying to check the image browser but from what I see it doesn't include any newer pipelines than 117112 |
I see you've already found a better solution. |
Don't do that. This tooling is mean to be used not just on CI, so we want to rerun the simulation whenever one changes its parameters.
cc @torrijeske regarding that |
Thanks @veprbl. It appears to be more recent now but not obviously updating automatically. |
|
working on it -- sorry about that. |
Briefly, what does this PR introduce?
Introduces a benchmark which outputs the position and momentum of the electron beam through the outgoing beamline magnets.
What kind of change does this PR introduce?
Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
No
Does this PR change default behavior?
Adds a new benchmark