Message: Re: Can't run example B1 after installing v9.6 on Windows 7 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Can't run example B1 after installing v9.6 on Windows 7 

Forum: Installation and Configuration
Re: Question Can't run example B1 after installing v9.6 on Windows 7 (Steve Peterson)
Re: None Re: Can't run example B1 after installing v9.6 on Windows 7 (Kirk Bertsche)
Re: Note Re: Can't run example B1 after installing v9.6 on Windows 7 (Ben Morgan)
Re: None Re: Can't run example B1 after installing v9.6 on Windows 7 (Ivana Hrivnacova)
Date: 28 Jan, 2013
From: Kirk Bertsche <Kirk Bertsche>

Per private suggestions from Ivana, I added a diagnostic line to report number of particle table entries in B1PrimaryGeneratorAction.cc:
B1/src/B1PrimaryGeneratorAction.cc:
      // default particle kinematic
      G4ParticleTable* particleTable = G4ParticleTable::GetParticleTable();
      G4cout << "Nof entries: " << particleTable->entries() << G4endl; 

Ivana got "Nof entries: 464" I got "Nof entries : -448432990"

Just for grins, I tried re-building Geant4 in "Debug" instead of "Release" mode in VisualStudio 2010. I also accidentally did "ALL_BUILD" before doing "INSTALL". This changed the behavior; now I get the right number of entries in the particle table, but ExampleB1 still fails (see attached screenshot). And now when I try to rebuild the "Release" version of Geant4 I get lots of link errors with unresolved symbols.

It looks like something is messed up in my Geant4 installation, but I have no clue how to fix it. Ideas?

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2013/01/28/16.09-32868-NewExampleB1Abort.gif

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

1 None: Re: Can't run example B1 after installing v9.6 on Windows 7   (Ivana Hrivnacova - 29 Jan, 2013)
(_ None: Re: Can't run example B1 after installing v9.6 on Windows 7   (Kirk Bertsche - 29 Jan, 2013)
 Add Message Add Message
to: "Re: Can't run example B1 after installing v9.6 on Windows 7"

 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 ]