Linear Collider Forum



Home » Software Tools » Marlin et al » Installation of ilcsoft v01-17-03 - Bug in DD4hep installation?! (DD4hep installation vulnerable to user environment)
Re: Installation of ilcsoft v01-17-03 - Bug in DD4hep installation?! [message #2281 is a reply to message #2280] Sun, 27 October 2013 09:37 Go to previous messageGo to previous message
poeschl
Messages: 22
Registered: June 2004
Location: LAL Orsay
Hi Christoph,

thanks a lot for your reply.

I use standard the ilcsoft installation, i.e. ./ilcsoft-install -i release/v01-17/release-scratch.cfg

After having encountered my problem I have also try to build dd4hep standalone using the correct ILCsoft.cmake.
I think I did everything as it should be.

It might be that you have never encountered the problem since the system wide root installation on the system you were installing always complied with the
requirements of dd4hep. In this case you will not notice (you may want to check, which root version dd4hep actually uses in your case). Anyway the problem can be solved by the
user by installing a proper root version system wide (or by my patch). When you install dd4hep/ilcsoft on a multi-user system the vulnerability continues to exist.

That said I have further problems with dd4hep

In file included from /srv/ilcsoft/v01-17-03/DD4hep/v00-04/DDCore/include/DD4hep/L CDD.h:14,
from /srv/ilcsoft/v01-17-03/DD4hep/v00-04/DDCore/src/Volumes.cpp: 10:
/srv/ilcsoft/v01-17-03/DD4hep/v00-04/DDCore/include/DD4hep/H andle.h:108: error: integer constant is too large for รข type

where the line in question in Handle.h is

108 inline unsigned long magic_word() { return 0xFEEDAFFEDEADFACEL; }

Maybe this goes along with the following warning

CMake Warning:
Manually-specified variables were not used by the project:

BUILD_32BIT_COMPATIBLE
INSTALL_DOC

... and with the cmake instructions in

****************************** Installing software ******************************

############################################################ ####################
##### Compiling DD4hep version v00-04...
############################################################ ####################

----- adding additional commands to build_env.sh :


----- adding additional command to build_env.sh test -r ${G4ENV_INIT} && { cd $(dirname ${G4ENV_INIT}) ; . ./$(basename ${G4ENV_INIT}) ; cd $OLDPWD ; }

+ Generated cmake build command:
$ cmake -C /srv/ilcsoft/v01-17-03/ILCSoft.cmake -DDD4HEP_USE_XERCESC="0" -DINSTALL_DOC="ON" -DBUILD_32BIT_COMPATIBLE="OFF" -DDD4HEP_WITH_GEANT4="1" -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DDD4HEP_USE_PYROOT="0" /srv/ilcsoft/v01-17-03/DD4hep/v00-04

...

All this comes from the official ilcsoft installation.

I should say that I have indeed still a 32 bit machine. I don't know why dd4hep switches BUILD_32BIT_COMPATIBLE to OFF.
Maybe the following output is also helpful

*** ERROR in module [ DD4hep ]: DEBUG INFO: {'PLATFORM': 'Linux - Scientific Linux CERN SLC release 5.10 (Boron)', 'GCC_VERSION': 'gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)', 'LSB_RELEASE': 'LSB Version:\t:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:g raphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch\nDi stributor ID:\tScientificCERNSLC\nDescription:\tScientific Linux CERN SLC release 5.10 (Boron)\nRelease:\t5.10\nCodename:\tBoron', 'UNAME': 'Linux pc-91231.lal.in2p3.fr 2.6.18-371.1.2.el5 #1 SMP Wed Oct 23 09:42:05 CEST 2013 i686 i686 i386 GNU/Linux'}


Thanks a lot and cheers,

Roman
 
Read Message warning.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:new ilcsoft developers release v01-17-04
Next Topic:new ilcsoft developers release v01-17-05
Goto Forum:
  


Current Time: Wed Sep 19 22:00:13 Pacific Daylight Time 2018
.:: Contact :: Home ::.

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