You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you install CRPropa from git or download a release?
I installed version 3f5d189 from git
Things that I tried before asking for help:
I read and followed the installation instructions at https://crpropa.github.io/CRPropa3/ ; especially the additional instructions for Mac OS (i.e. install LLVM with Homebrew and specify the LLVM and Python paths manually). I also looked through the previous issues regarding installation on Mac OS but could not find a fix that worked.
Problem
All installation steps with cmake run successfully, however, when importing crpropa in python I get the Segmentation fault 11 error and python crashes. Also, five tests fail when running make test.
Can you import python? python -c "from crpropa import *
Test-10 failing is not too problematic. We see that happening from time to time on OSX. The others are all python tests if I remember correctly. So I guess something went wrong with your python linking.
Dear developers,
I have problems installing CRPropa on my system
Did you install CRPropa from git or download a release?
I installed version 3f5d189 from git
Things that I tried before asking for help:
I read and followed the installation instructions at https://crpropa.github.io/CRPropa3/ ; especially the additional instructions for Mac OS (i.e. install LLVM with Homebrew and specify the LLVM and Python paths manually). I also looked through the previous issues regarding installation on Mac OS but could not find a fix that worked.
Problem
All installation steps with cmake run successfully, however, when importing crpropa in python I get the Segmentation fault 11 error and python crashes. Also, five tests fail when running
make test
.CMakeCache.txt
1/20 Test #1: testCore ......................... Passed 1.26 sec
Start 2: testVector3
2/20 Test #2: testVector3 ...................... Passed 0.57 sec
Start 3: testModuleList
3/20 Test #3: testModuleList ................... Passed 0.57 sec
Start 4: testMagneticField
4/20 Test #4: testMagneticField ................ Passed 0.56 sec
Start 5: testTurbulentField
5/20 Test #5: testTurbulentField ............... Passed 0.69 sec
Start 6: testAdvectionField
6/20 Test #6: testAdvectionField ............... Passed 0.61 sec
Start 7: testDensity
7/20 Test #7: testDensity ...................... Passed 0.58 sec
Start 8: testPropagation
8/20 Test #8: testPropagation .................. Passed 0.61 sec
Start 9: testBreakCondition
9/20 Test #9: testBreakCondition ............... Passed 0.57 sec
Start 10: testInteraction
10/20 Test #10: testInteraction ..................***Failed 27.68 sec
Start 11: testSource
11/20 Test #11: testSource ....................... Passed 0.62 sec
Start 12: testOutput
12/20 Test #12: testOutput ....................... Passed 0.52 sec
Start 13: testFunctionalGroups
13/20 Test #13: testFunctionalGroups ............. Passed 0.54 sec
Start 14: testAdiabaticCooling
14/20 Test #14: testAdiabaticCooling ............. Passed 0.62 sec
Start 15: testCandidateSplitting
15/20 Test #15: testCandidateSplitting ........... Passed 0.56 sec
Start 16: testGalacticMagneticLens
16/20 Test #16: testGalacticMagneticLens ......... Passed 0.62 sec
Start 17: testSimulationExecution
17/20 Test #17: testSimulationExecution ..........***Exception: SegFault 0.89 sec
Start 18: testDiffusionSDE
18/20 Test #18: testDiffusionSDE .................***Exception: SegFault 0.48 sec
Start 19: testMomentumDiffusion
19/20 Test #19: testMomentumDiffusion ............***Exception: SegFault 0.35 sec
Start 20: testPythonExtension
20/20 Test #20: testPythonExtension ..............***Exception: SegFault 0.18 sec
75% tests passed, 5 tests failed out of 20
Total Test time (real) = 39.09 sec
The following tests FAILED:
10 - testInteraction (Failed)
17 - testSimulationExecution (SEGFAULT)
18 - testDiffusionSDE (SEGFAULT)
19 - testMomentumDiffusion (SEGFAULT)
20 - testPythonExtension (SEGFAULT)
Errors while running CTest
Output from these tests are in: /Users/andreasnossum/Documents/SourceCodes/crpropa/CRPropa3/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
make: *** [test] Error 8
The text was updated successfully, but these errors were encountered: