GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » New safety feature
New safety feature [message #8360] Thu, 30 April 2009 14:15 Go to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi

Since more and more people run into the problem that they compile FairRoot on one platform and then accidentally run the macros on another platform i put a new safety feature to FairRoot
which should avoid this type of problems.

When runing cmake, information about the OS is put to the config script. During execution of the config script it is automatically checked if the run system is the same as the compile system. In cases were the systems are different the execution of the script is stoped and you will see an error message.

If you find some problems with the new behaviour of the configure script please let me know.

Ciao

Florian
Re: New safety feature [message #8382 is a reply to message #8360] Fri, 01 May 2009 17:42 Go to previous message
Johan Messchendorp is currently offline  Johan Messchendorp
Messages: 693
Registered: April 2007
Location: University of Groningen
first-grade participant

From: *xs4all.nl
ahum...

yes, I found some problems on a Suse enterprise system at KVI. In config.sh:

export Linux_Flavour_="Welcome to SUSE Linux Enterprise Server 10 SP2 (x86_64) - Kernel r ( l)."
export System_="x86_64"
. /home/panda/pandaroot/build/check_system.sh


... looks like he messed up the "Linux_Flavour_" afterwhich the check_system.sh exits. I am also not so happy with the very aggressive exit in the check_system.sh script. For example, on the system at KVI, I couldn't login anymore, since I normally run the config.sh via .bash_profile script during logon. Well, you can imagine what happens if it doesnt work and exits..... Is a default warning not enough?

Gruesse,

Johan.
Previous Topic: STT lookup table.
Next Topic: IT outage at GSI
Goto Forum:
  


Current Time: Sun Jul 21 07:31:39 CEST 2024

Total time taken to generate the page: 0.00754 seconds