GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » Problems with GEANE and trackbase
Re: Problems with GEANE and trackbase [message #6038 is a reply to message #6036] Tue, 11 March 2008 17:09 Go to previous messageGo to previous message
Andrea Fontana is currently offline  Andrea Fontana
Messages: 32
Registered: May 2007
continuous participant
From: *pv.infn.it
Hi Mohammad,
Lia has looked into this problem and it seems that the
problem originates from -O2 option in the setting
of the environmental variable CMAKE_CXX_FLAGS_DEBUG.
We have gcc 3.4.6.Without this option the routine works correctly.

We have looked into 3.4.6 manual and we found this:
"
Unlike most other C compilers, GCC allows you to use -g with -O. The shortcuts taken by optimized code may occasionally produce surprising results: some variables you declared may not exist at all; flow of control may briefly move where you did not expect it; some statements may not be executed because they compute constant results or their values were already at hand; some statements may execute in different places because they were moved out of loops.
"

In CbmTrackParP there is a call to the routine that changes
track representation that seems to depend on this compilation flag.

Do you have any idea?

Ciao,
Andrea and Lia
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Combining Emc reconstruction and Geane
Next Topic: Updated version of CbmGeanePro
Goto Forum:
  


Current Time: Fri Nov 22 02:39:54 CET 2024

Total time taken to generate the page: 0.00974 seconds