Message: Re: Geant4 on Sparc and i386 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

News Re: Geant4 on Sparc and i386 

Forum: Installation and Configuration
Re: Question Geant4 on Sparc and i386 (David Clark)
Date: 03 May, 2011
From: Marcin Kuzniak <Marcin Kuzniak>

Dave and others,

for the last week i've been trying to install geant4.9.4.p01 on a Sparc cluster with UltraSparc T2+ CPUs (more info here: http://www.hpcvl.org/hardware/victoria-falls.html), using Studio 12 Update 1 compilers (what could possibly go wrong).

i quickly run into problems with STL implementation, described by Dave, ended up independently trying both possibilities for CLHEP and geant4, ie: 1) switching to -library=stlport4 and solving the namespace issues 2) keeping the default Cstd and modyfying the code

i would manage to compile everything, with some minor warnings maybe. still i wouldn't be able to link any of geant4 examples.

i figured that common.gmk, binmake.gmk and moc.gmk rely on g++ to produce dependency files and also rely on a particular sed implementation. btw, this doesn't look right. it took a while, but i got it fixed and managed to produce correct dependencies with stlport4 headers and everything looking ok.

i've recompiled everything from scratch several times, with and without optimisations.

still, it doesn't link. an example of the error message is attached below (that's the one with stlport4). here's where i run out of ideas. has anyone successfuly tried such an installation?

please, help me out!

thanks, cheers,

Marcin

Making dependency for file exampleN01.cc ...
Making dependency for file src/ExN01PrimaryGeneratorAction.cc ...
Making dependency for file src/ExN01PhysicsList.cc ...
Making dependency for file src/ExN01DetectorConstruction.cc ...
Compiling ExN01DetectorConstruction.cc ...
Compiling ExN01PhysicsList.cc ...
Compiling ExN01PrimaryGeneratorAction.cc ...
Creating/replacing object files in /home/hpc2131/geant4.9.4.p01/tmp/SUN-CC/exampleN01/libexampleN01.a ...
Compiling exampleN01.cc ...
Using granular libraries ...
Linking exampleN01
Undefined                       first referenced
 symbol                             in file
std::vector<CLHEP::Hep3Vector>*G4VCurvedTrajectoryFilter::GimmeThePointsAndForgetThem() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4PropagatorInField.o)
G4FieldTrack G4ChordFinder::ApproxCurvePointV(const G4FieldTrack&,const G4FieldTrack&,const CLHEP::Hep3Vector&,double) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4MultiLevelLocator.o)
G4Pow*G4Pow::GetInstance()        /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4materials.a(G4Material.o)
G4PolyhedronTubs::G4PolyhedronTubs(double,double,double,double,double)   /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4csg.a(G4Tubs.o)
G4LossTableManager*G4LossTableManager::Instance() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4SteppingManager2.o)
std::ostream &operator<<(std::ostream &,const G4FieldTrack&) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4PropagatorInField.o)
void G4ProcessManager::DumpInfo() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
G4coutDestination::G4coutDestination #Nvariant 1()     /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4intercoms.a(G4UIsession.o)
G4coutDestination::~G4coutDestination #Nvariant 1()     /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4intercoms.a(G4UIsession.o)
void G4ProcessManager::EndTracking() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4TrackingManager.o)
void G4ProductionCutsTable::UpdateCoupleTable(G4VPhysicalVolume*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManagerKernel.o)
void G4ProcessManager::SetProcessOrderingToSecond(G4VProcess*,G4ProcessVectorDoItIndex) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
G4VTouchable::~G4VTouchable()            /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4VSteppingVerbose.o)
double G4PhysicsVector::Value(double)    /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4SteppingManager2.o)
G4ScoreSplittingProcess::G4ScoreSplittingProcess(const G4String&,G4ProcessType) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManagerKernel.o)
void G4RayShooter::Shoot(G4Event*,CLHEP::Hep3Vector,CLHEP::Hep3Vector) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4MaterialScanner.o)
G4ParallelWorldScoringProcess::G4ParallelWorldScoringProcess(const G4String&,G4ProcessType) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
int HepPolyhedron::GetNumberOfRotationSteps() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4csg.a(G4CSGSolid.o)
void G4ProcessTable::DeleteMessenger() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
G4EventManager::G4EventManager()          /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManagerKernel.o)
G4OrderedTable::G4OrderedTable()          /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4materials.a(G4SandiaTable.o)
void G4ProcessManager::StartTracking(G4Track*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4TrackingManager.o)
G4RayShooter::~G4RayShooter()            /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4MaterialScanner.o)
G4NURBSbox::G4NURBSbox(double,double,double)           /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4csg.a(G4Box.o)
G4CoupledTransportation::G4CoupledTransportation(int) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
void G4ProcessManager::SetProcessOrderingToLast(G4VProcess*,G4ProcessVectorDoItIndex) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
G4Polyhedron::~G4Polyhedron()            /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4csg.a(G4CSGSolid.o)
G4UImessenger*G4ProcessTable::CreateMessenger() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
G4FieldManager::G4FieldManager(G4Field*,G4ChordFinder*,bool) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4TransportationManager.o)
G4EventManager*G4EventManager::GetEventManager() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4MaterialScanner.o)
G4Step::G4Step()                  /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4SteppingManager.o)
G4VPVParameterisation::G4VPVParameterisation #Nvariant 1() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4PhantomParameterisation.o)
G4VPVParameterisation::~G4VPVParameterisation #Nvariant 1() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4PhantomParameterisation.o)
void G4EventManager::SetUserAction(G4UserEventAction*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4MaterialScanner.o)
bool G4MagInt_Driver::AccurateAdvance(G4FieldTrack&,double,double,double) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4VIntersectionLocator.o)
void G4BlockingList::FullyReset() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4ParameterisedNavigation.o)
void G4EventManager::ProcessOneEvent(G4Event*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
G4ProductionCutsTable*G4ProductionCutsTable::GetProductionCutsTable() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManagerKernel.o)
G4VVolumeMaterialScanner*G4VPVParameterisation::GetMaterialScanner() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4PhantomParameterisation.o)
G4VTouchable::~G4VTouchable #Nvariant 1()          /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4volumes.a(G4TouchableHistory.o)
G4VTouchable::G4VTouchable #Nvariant 1()          /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4volumes.a(G4TouchableHistory.o)
void G4PrimaryTransformer::CheckUnknown() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManagerKernel.o)
G4AttCheck::G4AttCheck(const std::vector<G4AttValue>*,const std::map<G4String,G4AttDef>*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4VTrajectory.o)
G4VVisManager*G4VVisManager::GetConcreteInstance() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManagerKernel.o)
G4AttCheck::~G4AttCheck()              /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4VTrajectory.o)
G4ProcessTable*G4ProcessTable::GetProcessTable() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
G4BlockingList::~G4BlockingList()          /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4VoxelNavigation.o)
const G4String&G4VProcess::GetProcessTypeName(G4ProcessType) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4RichTrajectory.o)
G4PolyhedronBox::G4PolyhedronBox(double,double,double)      /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4csg.a(G4Box.o)
double G4ChordFinder::AdvanceChordLimited(G4FieldTrack&,double,double,const CLHEP::Hep3Vector,double) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4PropagatorInField.o)
G4Event::G4Event(int)                /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
G4VExceptionHandler::G4VExceptionHandler #Nvariant 1()   /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4ExceptionHandler.o)
G4VExceptionHandler::~G4VExceptionHandler #Nvariant 1()   /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4ExceptionHandler.o)
void G4ProductionCutsTable::SetVerboseLevel(int) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
G4ProcessManager::G4ProcessManager(const G4ParticleDefinition*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
int G4ProductionCuts::GetIndex(const G4String&) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManagerKernel.o)
G4DataVector::G4DataVector(unsigned long,double)          /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4materials.a(G4SandiaTable.o)
int G4ProcessManager::AddProcess(G4VProcess*,int,int,int) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
G4NURBStube::G4NURBStube(double,double,double)          /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4csg.a(G4Tubs.o)
G4OrderedTable::~G4OrderedTable()          /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4materials.a(G4SandiaTable.o)
G4Event::~G4Event()                 /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
G4RayShooter::G4RayShooter()            /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4MaterialScanner.o)
G4SDManager*G4SDManager::GetSDMpointerIfExist() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
bool G4VPVParameterisation::IsNested()const /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4PhantomParameterisation.o)
void G4ScoringManager::Accumulate(G4VHitsCollection*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
void G4VCurvedTrajectoryFilter::CreateNewTrajectorySegment() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4PropagatorInField.o)
aTrackAllocator                     /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4TrackingManager.o)
G4VisExtent::~G4VisExtent()             /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4geometrymng.a(G4VSolid.o)
std::map<G4String,G4AttDef>*G4AttDefStore::GetInstance(G4String,bool&) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4Trajectory.o)
G4BlockingList::G4BlockingList(int,int)        /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4VoxelNavigation.o)
void G4ProductionCutsTable::SetEnergyRange(double,double) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
G4Step::~G4Step()                  /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4SteppingManager.o)
void G4SDManager::Activate(G4String,bool) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4MaterialScanner.o)
G4Track::~G4Track()                 /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4TrackingManager.o)
void G4ProductionCutsTable::DumpCouples()const /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunMessenger.o)
double G4Track::GetVelocity()const      /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4SteppingManager.o)
G4FieldTrack::G4FieldTrack(const CLHEP::Hep3Vector&,const CLHEP::Hep3Vector&,double,double,const double,double,double,double,const CLHEP::Hep3Vector*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4PropagatorInField.o)
bool G4AttCheck::Check(const G4String&)const /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4VTrajectory.o)
G4ProcessManager::~G4ProcessManager()        /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
bool G4ProductionCutsTable::RetrieveCutsTable(const G4String&,bool) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
G4EventManager::~G4EventManager()          /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManagerKernel.o)
G4NURBStubesector::G4NURBStubesector(double,double,double,double,double)  /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4csg.a(G4Tubs.o)
bool G4ProductionCutsTable::StoreCutsTable(const G4String&,bool) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
G4FieldManager::~G4FieldManager()          /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4navigation.a(G4TransportationManager.o)
double G4EnergyLossTables::GetRange(const G4ParticleDefinition*,double,const G4MaterialCutsCouple*,bool) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4tracking.a(G4SteppingManager2.o)
void G4TrackStack::clear()        /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
int G4ProductionCuts::GetIndex(const G4ParticleDefinition*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
G4NURBScylinder::G4NURBScylinder(double,double)       /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4csg.a(G4Tubs.o)
G4ProcessManager::G4ProcessManager(G4ProcessManager&)      /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
void G4ProcessManager::SetProcessOrderingToFirst(G4VProcess*,G4ProcessVectorDoItIndex) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
void G4EventManager::SetUserAction(G4UserStackingAction*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4MaterialScanner.o)
void G4EventManager::SetUserAction(G4UserSteppingAction*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4MaterialScanner.o)
void G4EventManager::SetUserAction(G4UserTrackingAction*) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4MaterialScanner.o)
G4Transportation::G4Transportation(int)       /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4VUserPhysicsList.o)
G4ScoringManager*G4ScoringManager::GetScoringManagerIfExist() /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
anEventAllocator                    /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
void G4ParallelWorldScoringProcess::SetParallelWorld(G4String) /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManager.o)
G4VisExtent::G4VisExtent(double,double,double,double,double,double)       /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4geometrymng.a(G4VSolid.o)
G4SDManager::~G4SDManager()             /home/hpc2131/geant4.9.4.p01/lib/SUN-CC/libG4run.a(G4RunManagerKernel.o)
ld: fatal: Symbol referencing errors. No output written to /home/hpc2131/geant4.9.4.p01/bin/SUN-CC/exampleN01
gmake: *** [/home/hpc2131/geant4.9.4.p01/bin/SUN-CC/exampleN01] Error 1

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

1 None: Re: Geant4 on Sparc and i386   (David Clark - 04 May, 2011)
 Add Message Add Message
to: "Re: Geant4 on Sparc and i386"

 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 ]