GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: New safety feature
items: Re: New safety feature

New safety feature
type: item
description: 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
creator: Florian Uhlig
date: 2009-04-30T12:15:05-00:00

Re: New safety feature
type: item
description: 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.
creator: Johan Messchendorp
date: 2009-05-01T15:42:02-00:00