Giter VIP home page Giter VIP logo

Comments (4)

candreop avatar candreop commented on September 17, 2024

Hi Gianluca - not sure I understand why you refer to the PYTHIA printout at all. It is just an INFO level mesg produced at initialisation. Neither GENIE or PYTHIA complains there. The first important mesg is marked as FATAL. It says that no spline was loaded. This is probably factually correct. Given that GENIE uses many GEVGDriver instances, one for each initial state in your setup, the one instance that produced the FATAL mesg could not find any spline (for the initial state it was configured for). Yes, maybe you loaded splines for different initial states, but it doesn’t know how to access those either (because it shouldn’t). What error mesg would you like to see? We can make sure it is printed out. More informative messages are probably there already but are probably filtered out by the message thresholds you used. We provide several Messenger.xml configurations (some more verbose than others) and stream thresholds can be lowered manually too.

from generator.

PetrilloAtWork avatar PetrilloAtWork commented on September 17, 2024

Thank you for explaining a bit of what it is happening under the hood.
I believe Pythia is likely a red herring there, but I could not be completely sure.
When I see that message, I think that no spline at all has been loaded... because literally that's what it says. Is it possible to have the GEVGDriver message mention which initial state it is configured with? I suppose the initial state includes the nucleus, and that would have given me the right hint. While I do not really understand RES/P33(1232)/free, I feel the information about the nature of the nucleus is not there.
Or maybe better: is it possible to emit an error message when a spline that is required is not found? I suppose that might be already happening in the messages I don't see.
I am accessing GENIE via a wrapper of a wrapper, and I felt discouraged while attempting to figure out how to play along well with the system to adopt a different message configuration. This part is a wrapper issue, not GENIE's.

from generator.

PetrilloAtWork avatar PetrilloAtWork commented on September 17, 2024

Excerpt I could get after I finally learned how to change a bit of the verbosity via the wrappers (Thanks Robert!!):

 ---- Creating a GEVGDriver object configured for init-state: nu-pdg:-12;tgt-pdg:1000410930; ----


1567204796 NOTICE GEVGDriver : [n] <GEVGDriver.cxx::Init (117)> : Initializing unphysical event mask (bits: 15 -> 0) : 1111111111111111
1567204796 NOTICE GEVGDriver : [n] <GEVGDriver.cxx::SetEventGeneratorList (351)> : Setting event generator list: Default+CCMEC+NCMEC
1567204796 NOTICE GEVGDriver : [n] <GEVGDriver.cxx::Configure (156)> : 
**********************************************************************************************************************************************
  Configuring event generation driver for initial state: `nu-pdg:-12;tgt-pdg:1000410930;' using event generator list: `Default+CCMEC+NCMEC'.  
**********************************************************************************************************************************************
1567204796 WARN GEVGDriver : [n] <GEVGDriver.cxx::UseSplines (567)> : *** At least a spline (algorithm: genie::NievesQELCCPXSec/Dipole, interaction: nu:-12;tgt:1000410930;N:2212;proc:Weak[CC],QES; doesn't exist. Reverting back to not using splines
1567204796 NOTICE GMCJDriver : [n] <GMCJDriver.cxx::PopulateEventGenDriverPool (624)> : 

 ---- Creating a GEVGDriver object configured for init-state: nu-pdg:-12;tgt-pdg:1000420960; ----


1567204796 NOTICE GEVGDriver : [n] <GEVGDriver.cxx::Init (117)> : Initializing unphysical event mask (bits: 15 -> 0) : 1111111111111111
1567204796 NOTICE GEVGDriver : [n] <GEVGDriver.cxx::SetEventGeneratorList (351)> : Setting event generator list: Default+CCMEC+NCMEC
1567204796 NOTICE GEVGDriver : [n] <GEVGDriver.cxx::Configure (156)> : 
**********************************************************************************************************************************************
  Configuring event generation driver for initial state: `nu-pdg:-12;tgt-pdg:1000420960;' using event generator list: `Default+CCMEC+NCMEC'.  
**********************************************************************************************************************************************
1567204796 WARN GEVGDriver : [n] <GEVGDriver.cxx::UseSplines (567)> : *** At least a spline (algorithm: genie::NievesQELCCPXSec/Dipole, interaction: nu:-12;tgt:1000420960;N:2212;proc:Weak[CC],QES; doesn't exist. Reverting back to not using splines
1567204796 NOTICE GMCJDriver : [n] <GMCJDriver.cxx::PopulateEventGenDriverPool (624)> : 

Provided that one has the patience of reading through, these messages are spelling out what is happening and why. So yes, the printout at higher levels is enough.

I would still like a "FATAL" level message to be less misleading, though.

from generator.

nusense avatar nusense commented on September 17, 2024

from generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.