Message: error message Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question error message 

Forum: Run Management
Date: 16 May, 2002
From: Mario O de Menezes <Mario O de Menezes>

Dear Geanters

   What means this error message:

----------------------
Start Run processing.
G4EnergyLossTables::GetTables: table not found!

*** G4Exception: Aborting execution ***
Command terminated by signal 6 
2440.28user 33.15system 41:51.86elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (4823major+286798minor)pagefaults 0swaps
--------------------------

    I'm running a simulation of a Maxwellian Neutron Spectrum, being
collected (detected) by a Cadmium plate 4m away from the source.
    I've theses lines in my PhysicsList:


#include "G4HadronElasticProcess.hh"
#include "G4NeutronInelasticProcess.hh"
#include "G4NeutronHPElastic.hh"
#include "G4NeutronHPElasticData.hh"
#include "G4NeutronHPCapture.hh"
#include "G4NeutronHPCaptureData.hh"
#include "G4NeutronHPInelastic.hh"
#include "G4NeutronHPInelasticData.hh"


[... some lines cut ....]

  // Define transportation process

  AddTransportation();

  
  theParticleIterator->reset();
  while ((*theParticleIterator)()) {
    G4ParticleDefinition* particle = theParticleIterator->value();
    G4ProcessManager* pmanager = particle->GetProcessManager();
    G4String particleName = particle->GetParticleName();

    if (particleName == "neutron") {

      // elastic scattering
      G4HadronElasticProcess* theNeutronElasticProcess = 
        new G4HadronElasticProcess;
  
      G4NeutronHPElastic * theElasticNeutron = new G4NeutronHPElastic;
      theNeutronElasticProcess->RegisterMe(theElasticNeutron);

      G4CrossSectionDataStore * theStore = 
        ((G4HadronElasticProcess*)theNeutronElasticProcess)->GetCrossSectionDataStore();

      G4NeutronHPElasticData * theNeutronData = new G4NeutronHPElasticData;
      theStore->AddDataSet(theNeutronData);
      pmanager->AddDiscreteProcess(theNeutronElasticProcess);

      // inelastic scattering
      G4NeutronInelasticProcess* theInelasticProcess =
        new G4NeutronInelasticProcess("inelastic");

      G4NeutronHPInelastic * theHPNeutronInelasticModel =
        new G4NeutronHPInelastic;
      theInelasticProcess->RegisterMe(theHPNeutronInelasticModel);

      G4CrossSectionDataStore * theStore1 = 
        ((G4HadronInelasticProcess*)theInelasticProcess)->GetCrossSectionDataStore();

      G4NeutronHPInelasticData * theNeutronData1 = 
        new G4NeutronHPInelasticData;
      theStore1->AddDataSet(theNeutronData1);
      pmanager->AddDiscreteProcess(theInelasticProcess);

      // capture
      G4HadronCaptureProcess* theCaptureProcess =
        new G4HadronCaptureProcess;

      G4NeutronHPCapture * theHPNeutronCaptureModel = new G4NeutronHPCapture;
      theCaptureProcess->RegisterMe(theHPNeutronCaptureModel);

      G4CrossSectionDataStore * theStore3 = 
        ((G4HadronCaptureProcess*)theCaptureProcess)->GetCrossSectionDataStore();

      G4NeutronHPCaptureData * theNeutronData3 = new G4NeutronHPCaptureData;
      theStore3->AddDataSet(theNeutronData3);
      pmanager->AddDiscreteProcess(theCaptureProcess);


[... some lines more ... ]


    The two last lines in the error message are from time command 
on Debian/GNU Linux; I included them so that you know that the 
error appeared long after the beginning of the simulation.

    Thanks,

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: error message   (Makoto Asai - 16 May, 2002)
(_ None: Re: error message   (Mario Olimpio de Menezes - 16 May, 2002)
1 None: Re: error message   (Vladimir Ivantchenko - 16 May, 2002)
2 None: Re: error message   (Makoto Asai - 16 May, 2002)
 Add Message Add Message
to: "error message"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]