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

feat(ci): test run in celeritas #811

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

feat(ci): test run in celeritas #811

wants to merge 19 commits into from

Conversation

wdconinc
Copy link
Contributor

@wdconinc wdconinc commented Nov 25, 2024

Briefly, what does this PR introduce?

This PR exports the geometry (epic_craterlake_no_bhcal only, due to bhcal issues) to gdml with sensitive detectors, and runs it through a short celeritas simulation.

Needs

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

No.

Does this PR change default behavior?

No.

@github-actions github-actions bot added the topic: infrastructure Regarding build system, CI, CD label Nov 25, 2024
@wdconinc wdconinc requested a review from rahmans1 November 25, 2024 23:18
@rahmans1
Copy link
Contributor

When I try to test locally, I am getting this error while reading from .hepmc

jug_dev> rahmans@eic0112:/gpfs02/eic/rahmans/celeritas$ celer-g4 celeritas.json
info: Run manager type: G4MTRunManager
status: Reading JSON input from 'celeritas.json'
info: Opening HepMC3 input file at root://dtn-eic.jlab.org//work/eic2/EPIC/EVGEN/CI/pythia8NCDIS_5x41_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1_20ev.hepmc
Error in <TNetXNGFile::Init>: root://dtn-eic.jlab.org//work/eic2/EPIC/EVGEN/CI/pythia8NCDIS_5x41_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1_20ev.hepmc not a ROOT file
Error in <TNetXNGFile::TNetXNGFile>: Object is in 'zombie' state

Did you see this?

@wdconinc
Copy link
Contributor Author

When I try to test locally, I am getting this error while reading from .hepmc

jug_dev> rahmans@eic0112:/gpfs02/eic/rahmans/celeritas$ celer-g4 celeritas.json
info: Run manager type: G4MTRunManager
status: Reading JSON input from 'celeritas.json'
info: Opening HepMC3 input file at root://dtn-eic.jlab.org//work/eic2/EPIC/EVGEN/CI/pythia8NCDIS_5x41_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1_20ev.hepmc
Error in <TNetXNGFile::Init>: root://dtn-eic.jlab.org//work/eic2/EPIC/EVGEN/CI/pythia8NCDIS_5x41_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1_20ev.hepmc not a ROOT file
Error in <TNetXNGFile::TNetXNGFile>: Object is in 'zombie' state

Did you see this?

In my local testing I used a local file. I changed it to xrdcp the file first.

@rahmans1
Copy link
Contributor

rahmans1 commented Nov 26, 2024

Again from local testing, offloading output to hepmc fails. I think the extension should be .hepmc3.

status: Celeritas core setup complete
info: Wrote Geant4 diagnostic output to "pythia8NCDIS_5x41_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1_20ev.json"
/tmp/root/spack-stage/spack-stage-celeritas-0.5.0-5tn6dcqwhr6ejjdcfm2wmae7n27q5nzh/spack-src/app/celer-g4/celer-g4.cc:288: critical: While running celeritas.json: celeritas: Geant4 error: Celeritas runtime error: invalid event file format 'hepmc'
Segmentation fault (core dumped)
jug_dev> srahman1@LPO-174581:~/celeritas$

rahmans1
rahmans1 previously approved these changes Nov 26, 2024
rahmans1
rahmans1 previously approved these changes Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Regarding build system, CI, CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants