Linear Collider Forum



Home » Simulation » Mokka » Problem with installing Mokka (Mokka installation stops with an error when linking)
Re: Problem with installing Mokka [message #2177 is a reply to message #2173] Sat, 25 June 2011 03:44 Go to previous messageGo to previous message
sailer
Messages: 34
Registered: February 2009
Hi Robin,

I think the error you see is actually an error in Mokka, not with your system. The Yoke05::BuildRPC1PlugShape function is not implemented,but in the code it is (roughly):
Line 187 (Yoke05.cc, Revision197)
unsigned int nLayerPlug = 0;
[...]
for(i=0; i < nLayerPlug; ++i){
[...]
  Yoke05::BuildRPC1PlugShape();
[...]
}
with gcc 4.3.2 (and I think -O2) no error shows up during linking (compilation always works), because the loop is never entered and thrown out by the compiler.
If I set nLayerPlug = 1, then I get the same error as you.

Which compiler version are you using?

Cheers,
Andre

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:mokka "skip events" from stdhep input?
Next Topic:Mokka Simulation Times
Goto Forum:
  


Current Time: Wed Jun 20 21:40:07 Pacific Daylight Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software