Skip to content
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

Add slot particle diagnostic #1426

Merged
merged 24 commits into from
Sep 30, 2024

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Sep 25, 2024

This adds a class that extends @amandalund 's neat ASCII art in #1322 to exporting particle IDs at every step for postprocessing.

  • Add slot diagnostic, JSON output, and test
  • Add python postprocessing script
  • Add interface to front end

TestEM3 demo (from Amanda's unit test):
em3slot-long-demo-plot

Celer-g4 offloading unit test (without partitioning) showing concatenated events:
slot-diag-cpu-plot

@sethrj sethrj added enhancement New feature or request user Hits and track diagnostics labels Sep 25, 2024
@sethrj sethrj requested a review from amandalund September 25, 2024 18:28
Copy link

github-actions bot commented Sep 25, 2024

Test summary

 3 249 files   5 047 suites   3m 41s ⏱️
 1 520 tests  1 493 ✅ 27 💤 0 ❌
16 838 runs  16 776 ✅ 62 💤 0 ❌

Results for commit 4286b59.

♻️ This comment has been updated with latest results.

@sethrj sethrj force-pushed the slot-particle-diagnostic branch from 9776414 to 969096d Compare September 25, 2024 20:07
@sethrj sethrj marked this pull request as ready for review September 26, 2024 15:01
@amandalund
Copy link
Contributor

Super cool! I was wishing we had something like this to see how the separation evolves over time for some of the benchmark problems. Will take a look soon.

@sethrj
Copy link
Member Author

sethrj commented Sep 26, 2024

Yeah! After this gets merged I was going to run it (but I'm happy to let you!) to make pretty plots for the upcoming presentations.

@sethrj
Copy link
Member Author

sethrj commented Sep 26, 2024

Just as a side note, I ran the same problem on GPU and got identical behavior. One of these days we should do a more thorough GPU/CPU equivalence comparison.
em3slot-long-demo-plot

Copy link
Contributor

@amandalund amandalund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, cool addition @sethrj!

@sethrj sethrj force-pushed the slot-particle-diagnostic branch from bc4a4b9 to 179dffd Compare September 28, 2024 12:16
@sethrj sethrj force-pushed the slot-particle-diagnostic branch from 179dffd to d00d93d Compare September 28, 2024 12:17
@sethrj sethrj merged commit df1b2c3 into celeritas-project:develop Sep 30, 2024
34 checks passed
@sethrj sethrj deleted the slot-particle-diagnostic branch September 30, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user Hits and track diagnostics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants