Message: Re: Some examples broken by 10.01.p01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Some examples broken by 10.01.p01 

Forum: Installation and Configuration
Re: Question Some examples broken by 10.01.p01 (Bryan Wright)
Re: Idea Re: Some examples broken by 10.01.p01 (Andrea Dotti)
Re: None Re: Some examples broken by 10.01.p01 (Bryan Wright)
Re: Idea Re: Some examples broken by 10.01.p01 (Andrea Dotti)
Date: 13 Apr, 2015
From: Bryan Wright <Bryan Wright>

Hi again,

Still no luck. I'm not using a patched version, I'm starting from a clean geant4.10.01.p01.tar.gz file. I tried the earlier gcc version (4.4.7), but it behaves the same way.

When I do:

make -j 5 VERBOSE=1 Ultra

I see that the failure happens during the command:

/usr/bin/c++ -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -std=c++98 -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -std=c++98 -O2 -DNDEBUG -O2 -DNDEBUG CMakeFiles/Ultra.dir/Ultra.cc.o CMakeFiles/Ultra.dir/src/UltraOpticalHit.cc.o CMakeFiles/Ultra.dir/src/UltraDetectorConstruction.cc.o CMakeFiles/Ultra.dir/src/UltraFresnelLensParameterisation.cc.o CMakeFiles/Ultra.dir/src/UltraPMTSD.cc.o CMakeFiles/Ultra.dir/src/UltraEventAction.cc.o CMakeFiles/Ultra.dir/src/UltraPhysicsList.cc.o CMakeFiles/Ultra.dir/src/UltraActionInitializer.cc.o CMakeFiles/Ultra.dir/src/UltraRunAction.cc.o CMakeFiles/Ultra.dir/src/UltraFresnelLens.cc.o CMakeFiles/Ultra.dir/src/UltraPrimaryGeneratorAction.cc.o -o ../../../outputs/runtime/Ultra -rdynamic ../../../outputs/library/Linux-g++/libG4Tree.so ../../../outputs/library/Linux-g++/libG4FR.so ../../../outputs/library/Linux-g++/libG4GMocren.so ../../../outputs/library/Linux-g++/libG4visHepRep.so ../../../outputs/library/Linux-g++/libG4RayTracer.so ../../../outputs/library/Linux-g++/libG4VRML.so ../../../outputs/library/Linux-g++/libG4OpenGL.so ../../../outputs/library/Linux-g++/libG4gl2ps.so ../../../outputs/library/Linux-g++/libG4vis_management.so ../../../outputs/library/Linux-g++/libG4modeling.so ../../../outputs/library/Linux-g++/libG4interfaces.so ../../../outputs/library/Linux-g++/libG4persistency.so ../../../outputs/library/Linux-g++/libG4analysis.so ../../../outputs/library/Linux-g++/libG4error_propagation.so ../../../outputs/library/Linux-g++/libG4readout.so ../../../outputs/library/Linux-g++/libG4physicslists.so ../../../outputs/library/Linux-g++/libG4run.so ../../../outputs/library/Linux-g++/libG4event.so ../../../outputs/library/Linux-g++/libG4tracking.so ../../../outputs/library/Linux-g++/libG4parmodels.so ../../../outputs/library/Linux-g++/libG4processes.so ../../../outputs/library/Linux-g++/libG4digits_hits.so ../../../outputs/library/Linux-g++/libG4track.so ../../../outputs/library/Linux-g++/libG4particles.so ../../../outputs/library/Linux-g++/libG4geometry.so ../../../outputs/library/Linux-g++/libG4materials.so ../../../outputs/library/Linux-g++/libG4graphics_reps.so ../../../outputs/library/Linux-g++/libG4intercoms.so ../../../outputs/library/Linux-g++/libG4global.so ../../../outputs/library/Linux-g++/libG4zlib.so ../../../outputs/library/Linux-g++/libG4geomUSolids.so ../../../outputs/library/Linux-g++/libG4FR.so ../../../outputs/library/Linux-g++/libG4vis_management.so ../../../outputs/library/Linux-g++/libG4modeling.so -lXm -lSM -lICE -lX11 -lXext -lXmu -lGLU -lGL -lQtOpenGL -lQtGui -lQtGui_debug -lQtCore -lQtCore_debug -lxerces-c ../../../outputs/library/Linux-g++/libG4run.so ../../../outputs/library/Linux-g++/libG4event.so ../../../outputs/library/Linux-g++/libG4tracking.so ../../../outputs/library/Linux-g++/libG4processes.so ../../../outputs/library/Linux-g++/libG4zlib.so -lexpat ../../../outputs/library/Linux-g++/libG4digits_hits.so ../../../outputs/library/Linux-g++/libG4track.so ../../../outputs/library/Linux-g++/libG4particles.so ../../../outputs/library/Linux-g++/libG4geometry.so ../../../outputs/library/Linux-g++/libG4geomUSolids.so ../../../outputs/library/Linux-g++/libG4materials.so ../../../outputs/library/Linux-g++/libG4graphics_reps.so ../../../outputs/library/Linux-g++/libG4intercoms.so ../../../outputs/library/Linux-g++/libG4global.so -lCLHEP -Wl,-rpath,$HOME/geant4.10.01.p01-build/outputs/library/Linux-g++

The error is still:

CMakeFiles/Ultra.dir/src/UltraDetectorConstruction.cc.o: In function `UltraDetectorConstruction::ConstructTableMaterials()': UltraDetectorConstruction.cc:(.text+0x644): undefined reference to `fpPVAllocator' UltraDetectorConstruction.cc:(.text+0x835): undefined reference to `fpPVAllocator' UltraDetectorConstruction.cc:(.text+0xb23): undefined reference to `fpPVAllocator' UltraDetectorConstruction.cc:(.text+0xcb4): undefined reference to `fpPVAllocator' UltraDetectorConstruction.cc:(.text+0x123e): undefined reference to `fpPVAllocator' CMakeFiles/Ultra.dir/src/UltraDetectorConstruction.cc.o:UltraDetectorConstruction.cc:(.text+0x1278): more undefined references to `fpPVAllocator' follow

I see that, since 10.00.p02, a couple of lines referering to fpPVAllocator have been commented out of G4PhysicsVector.cc:

//G4ThreadLocal G4Allocator<G4PhysicsVector> *fpPVAllocator = 0;
// --------------------------------------------------------------
G4PhysicsVector::G4PhysicsVector(G4bool)
 : type(T_G4PhysicsVector),
   edgeMin(0.), edgeMax(0.), numberOfNodes(0),
   useSpline(false), 
   dBin(0.), baseBin(0.),
   verboseLevel(0)
{
  // if (!fpPVAllocator) fpPVAllocator = new G4Allocator<G4PhysicsVector>;
}

Bryan

 Add Message Add Message
to: "Re: Some examples broken by 10.01.p01"

 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 ]