Created attachment 395 [details] G4HadronElasticPhysicsPHP tar ball When G4HadronElasticPhysicsPHP is used in a multi-threaded application it fails with the message: -------- EEEE ------- G4Exception-START -------- EEEE ------- *** G4Exception : Run0035 issued by : G4RunManagerKernel::G4RunManagerKernel() Size of G4ProcessVector is inconsistent between master and worker threads for the particle <B+>. size of G4ProcessVector for worker thread is 4 while master thread is 5. *** Fatal Exception *** core dump *** ---------------------------------------------------- By comparing it with G4HadronElasticPhysicsHP I concluded the the variables: wasActivated, and mainElasticBuilder were not used correctly and modified the code based on how these variables are used in G4HadronElasticPhysicsHP. Attached is the modified source.
Yes, you are right. The problem has been fixed in our development line, and will be included in the coming beta release, G4 10.3beta, expected by the end of June. Thanks!