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

TestInteraction failling #507

Open
erosstark opened this issue Sep 24, 2024 · 0 comments
Open

TestInteraction failling #507

erosstark opened this issue Sep 24, 2024 · 0 comments

Comments

@erosstark
Copy link

All installation goes well, I can import crpropa and run every example in the site with no problem. But the when i do make test the testinteraction fails.
I notice that the RAM usage explode and the process is killed.
I installed in virtualenv

  • python3.10.12

  • swig 4.0.2

  • numpy 1.26.4

  • ubuntu 22.04 (zorin os 17.2)

  • Cmake version: 3.22.1

  • desktop
    I tried to reinstall everything following the crpropa instructions, but the error persist.
    Screenshot from 2024-09-24 15-27-42

    Start 10: testInteraction
    

10/20 Test #10: testInteraction ..................Subprocess killed***Exception: 32.94 sec
Running main() from /home/eros/virtualenvs/crpropa/CRPropa3/libs/gtest/src/gtest_main.cc
[==========] Running 57 tests from 12 test cases.
[----------] Global test environment set-up.
[----------] 7 tests from ElectronPairProduction
[ RUN ] ElectronPairProduction.allBackgrounds
[ OK ] ElectronPairProduction.allBackgrounds (336 ms)
[ RUN ] ElectronPairProduction.energyDecreasing
[ OK ] ElectronPairProduction.energyDecreasing (2 ms)
[ RUN ] ElectronPairProduction.belowEnergyTreshold
[ OK ] ElectronPairProduction.belowEnergyTreshold (0 ms)
[ RUN ] ElectronPairProduction.thisIsNotNucleonic
[ OK ] ElectronPairProduction.thisIsNotNucleonic (0 ms)
[ RUN ] ElectronPairProduction.valuesCMB
[ OK ] ElectronPairProduction.valuesCMB (0 ms)
[ RUN ] ElectronPairProduction.interactionTag
[ OK ] ElectronPairProduction.interactionTag (27 ms)
[ RUN ] ElectronPairProduction.valuesIRB
[ OK ] ElectronPairProduction.valuesIRB (1 ms)
[----------] 7 tests from ElectronPairProduction (366 ms total)

[----------] 8 tests from NuclearDecay
[ RUN ] NuclearDecay.scandium44
[ OK ] NuclearDecay.scandium44 (2 ms)
[ RUN ] NuclearDecay.lithium4
[ OK ] NuclearDecay.lithium4 (2 ms)
[ RUN ] NuclearDecay.helium5
[ OK ] NuclearDecay.helium5 (1 ms)
[ RUN ] NuclearDecay.limitNextStep
[ OK ] NuclearDecay.limitNextStep (2 ms)
[ RUN ] NuclearDecay.allChannelsWorking
[ OK ] NuclearDecay.allChannelsWorking (3 ms)
[ RUN ] NuclearDecay.secondaries
[ OK ] NuclearDecay.secondaries (2 ms)
[ RUN ] NuclearDecay.thisIsNotNucleonic
[ OK ] NuclearDecay.thisIsNotNucleonic (1 ms)
[ RUN ] NuclearDecay.interactionTag
[ OK ] NuclearDecay.interactionTag (2 ms)
[----------] 8 tests from NuclearDecay (15 ms total)

[----------] 7 tests from PhotoDisintegration
[ RUN ] PhotoDisintegration.allBackgrounds
[ OK ] PhotoDisintegration.allBackgrounds (7378 ms)
[ RUN ] PhotoDisintegration.carbon
[ OK ] PhotoDisintegration.carbon (589 ms)
[ RUN ] PhotoDisintegration.iron
[ OK ] PhotoDisintegration.iron (621 ms)
[ RUN ] PhotoDisintegration.thisIsNotNucleonic
[ OK ] PhotoDisintegration.thisIsNotNucleonic (668 ms)
[ RUN ] PhotoDisintegration.limitNextStep
[ OK ] PhotoDisintegration.limitNextStep (644 ms)
[ RUN ] PhotoDisintegration.allIsotopes
[ OK ] PhotoDisintegration.allIsotopes (1287 ms)
[ RUN ] PhotoDisintegration.interactionTag
[ OK ] PhotoDisintegration.interactionTag (600 ms)
[----------] 7 tests from PhotoDisintegration (11788 ms total)

[----------] 1 test from Photodisintegration
[ RUN ] Photodisintegration.updateParticleParentProperties
[ OK ] Photodisintegration.updateParticleParentProperties (697 ms)
[----------] 1 test from Photodisintegration (697 ms total)

[----------] 2 tests from ElasticScattering
[ RUN ] ElasticScattering.allBackgrounds
[ OK ] ElasticScattering.allBackgrounds (84 ms)
[ RUN ] ElasticScattering.secondaries
[ OK ] ElasticScattering.secondaries (24 ms)
[----------] 2 tests from ElasticScattering (108 ms total)

[----------] 8 tests from PhotoPionProduction
[ RUN ] PhotoPionProduction.allBackgrounds
[ OK ] PhotoPionProduction.allBackgrounds (258 ms)
[ RUN ] PhotoPionProduction.proton
[ OK ] PhotoPionProduction.proton (6 ms)
[ RUN ] PhotoPionProduction.helium
[ OK ] PhotoPionProduction.helium (19 ms)
[ RUN ] PhotoPionProduction.thisIsNotNucleonic
[ OK ] PhotoPionProduction.thisIsNotNucleonic (0 ms)
[ RUN ] PhotoPionProduction.limitNextStep
[ OK ] PhotoPionProduction.limitNextStep (0 ms)
[ RUN ] PhotoPionProduction.secondaries
[ OK ] PhotoPionProduction.secondaries (11 ms)
[ RUN ] PhotoPionProduction.sampling
[ OK ] PhotoPionProduction.sampling (1 ms)
[ RUN ] PhotoPionProduction.interactionTag
[ OK ] PhotoPionProduction.interactionTag (19 ms)
[----------] 8 tests from PhotoPionProduction (314 ms total)

[----------] 2 tests from Redshift
[ RUN ] Redshift.simpleTest
[ OK ] Redshift.simpleTest (0 ms)
[ RUN ] Redshift.limitRedshiftDecrease
[ OK ] Redshift.limitRedshiftDecrease (0 ms)
[----------] 2 tests from Redshift (0 ms total)

[----------] 4 tests from EMPairProduction
[ RUN ] EMPairProduction.allBackgrounds
[ OK ] EMPairProduction.allBackgrounds (416 ms)
[ RUN ] EMPairProduction.limitNextStep
[ OK ] EMPairProduction.limitNextStep (7 ms)
[ RUN ] EMPairProduction.secondaries
[ OK ] EMPairProduction.secondaries (79 ms)
[ RUN ] EMPairProduction.interactionTag
[ OK ] EMPairProduction.interactionTag (7 ms)
[----------] 4 tests from EMPairProduction (509 ms total)

[----------] 4 tests from EMDoublePairProduction
[ RUN ] EMDoublePairProduction.allBackgrounds
[ OK ] EMDoublePairProduction.allBackgrounds (256 ms)
[ RUN ] EMDoublePairProduction.limitNextStep
[ OK ] EMDoublePairProduction.limitNextStep (1 ms)
[ RUN ] EMDoublePairProduction.secondaries
[ OK ] EMDoublePairProduction.secondaries (30 ms)
[ RUN ] EMDoublePairProduction.interactionTag
[ OK ] EMDoublePairProduction.interactionTag (0 ms)
[----------] 4 tests from EMDoublePairProduction (287 ms total)

[----------] 4 tests from EMTripletPairProduction
[ RUN ] EMTripletPairProduction.allBackgrounds
[ OK ] EMTripletPairProduction.allBackgrounds (365 ms)
[ RUN ] EMTripletPairProduction.limitNextStep
[ OK ] EMTripletPairProduction.limitNextStep (6 ms)
[ RUN ] EMTripletPairProduction.secondaries
[ OK ] EMTripletPairProduction.secondaries (30 ms)
[ RUN ] EMTripletPairProduction.interactionTag
[ OK ] EMTripletPairProduction.interactionTag (6 ms)
[----------] 4 tests from EMTripletPairProduction (407 ms total)

[----------] 4 tests from EMInverseComptonScattering
[ RUN ] EMInverseComptonScattering.allBackgrounds
[ OK ] EMInverseComptonScattering.allBackgrounds (465 ms)
[ RUN ] EMInverseComptonScattering.limitNextStep
[ OK ] EMInverseComptonScattering.limitNextStep (16 ms)
[ RUN ] EMInverseComptonScattering.secondaries
[ OK ] EMInverseComptonScattering.secondaries (30 ms)
[ RUN ] EMInverseComptonScattering.interactionTag
[ OK ] EMInverseComptonScattering.interactionTag (42 ms)
[----------] 4 tests from EMInverseComptonScattering (553 ms total)

[----------] 6 tests from SynchrotronRadiation
[ RUN ] SynchrotronRadiation.interactionTag
[ OK ] SynchrotronRadiation.interactionTag (3506 ms)
[ RUN ] SynchrotronRadiation.simpleTestRMS
[ OK ] SynchrotronRadiation.simpleTestRMS (2 ms)
[ RUN ] SynchrotronRadiation.simpleTestField
[ OK ] SynchrotronRadiation.simpleTestField (1 ms)
[ RUN ] SynchrotronRadiation.getSetFunctions
[ OK ] SynchrotronRadiation.getSetFunctions (1 ms)
[ RUN ] SynchrotronRadiation.energyLoss
[ OK ] SynchrotronRadiation.energyLoss (1 ms)
[ RUN ] SynchrotronRadiation.PhotonEnergy

  Start 11: testSource

11/20 Test #11: testSource ....................... Passed 0.27 sec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant