Linear Collider Forum



Home » Software Tools » Marlin et al » installation ilcsoft v01-10 - Problems and issues
question.gif  installation ilcsoft v01-10 - Problems and issues [message #2138] Sun, 30 January 2011 23:14 Go to previous message
poeschl
Messages: 22
Registered: June 2004
Location: LAL Orsay
Dear Experts,

I am trying to install v01-10 of the ilc software on SL5 using the ilc-install script. I have encountered a number of issues

First my linux version:

[poeschl@lx2 extern]$ uname -a
Linux lx2.lal.in2p3.fr 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 06:46:41 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux


1) fPIC compiler option

MarlinReco fails with the following message

Linking CXX shared library ../lib/libMarlinReco.so
/exp/flc/ilcsoft/v01-10/v01-10/mysql/usr/bin/ld: /exp/flc/ilcsoft/v01-10/v01-10/cernlib/2006/lib/libmathlib.a (zero
x64.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile wi
th -fPIC
/exp/flc/ilcsoft/v01-10/v01-10/cernlib/2006/lib/libmathlib.a : could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/libMarlinReco.so.0.19.0] Error 1
make[1]: *** [src/CMakeFiles/lib_MarlinReco.dir/all] Error 2
make: *** [all] Error 2
Linking CXX shared library ../lib/libMarlinReco.so
/exp/flc/ilcsoft/v01-10/v01-10/mysql/usr/bin/ld: /exp/flc/ilcsoft/v01-10/v01-10/cernlib/2006/lib/libmathlib.a (zero
x64.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile wi
th -fPIC
/exp/flc/ilcsoft/v01-10/v01-10/cernlib/2006/lib/libmathlib.a : could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/libMarlinReco.so.0.19.0] Error 1
make[1]: *** [src/CMakeFiles/lib_MarlinReco.dir/all] Error 2
make: *** [all] Error 2

*** ERROR in module [ MarlinReco ]: DEBUG INFO: {'PLATFORM': 'Linux - Scientific Linux SL release 5.5 (Boron)', 'G
CC_VERSION': 'gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)', 'LSB_RELEASE': 'LSB Version:\t:core-3.1-amd64:core-3.1
-noarch:graphics-3.1-amd64:graphics-3.1-noarch\nDistributor ID:\tScientificSL\nDescription:\tScientific Linux SL r
elease 5.5 (Boron)\nRelease:\t5.5\nCodename:\tBoron', 'UNAME': 'Linux lx2.lal.in2p3.fr 2.6.18-194.11.4.el5 #1 SMP
Tue Sep 21 06:46:41 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux'}

*** ERROR in module [ MarlinReco ]: At least one of these files: ['/exp/flc/ilcsoft/v01-10/v01-10/MarlinReco/v00-1
9/lib/libMarlinReco.a', '/exp/flc/ilcsoft/v01-10/v01-10/MarlinReco/v00-19/lib/libMar linReco.so', '/exp/flc/ilcsoft
/v01-10/v01-10/MarlinReco/v00-19/lib/libMarlinReco.dylib']
is required for using this installation of MarlinReco

Somewhere above it is required to compile (cernlibs?) with the -fPIC compiler option. How can I (should I) set this option?


2) Circular dependencies?

The ilcsoft depends on root but to make the MathMore library
root needs gsl which is shipped in turn with the ilc software.
Again I encountered the -fPIC problem.

I am using root_v5.27.06b.

3) Mokka and G4

Obviously Mokka calls the env script of G4. One has to create a link by hand like

env_9.3.p01.sh -> /exp/flc/ilc/SL5/extern/geant4.9.3.p01/.config/bin/Linux-g++ /env.sh

A bit inconvenient but ok.

4) G4 version disappeared

The version g4 9.3.p01 (needed by Mokka) is not reachable anymore from the g4 pages (unless one knows the path to the tar ball), available from here:

http://geant4.slac.stanford.edu/tutorial/installation/Geant4 .9.3.p01/Linux/Geant4_9_3_p01_Linux_Installation.htm#_Gettin g_Geant4

For info, v01-10 or better mokka-07-06 does *not* work with the
newest G4 release (header files disappeared in G4).

Thanks for support and cheers,

Roman


 
Read Message question.gif
Read Message
Read Message
Read Message
Previous Topic:ilcsoft-release v01-10-01
Next Topic:new ilcsoft release v01-11
Goto Forum:
  


Current Time: Wed Feb 19 15:00:25 Pacific Standard Time 2020
.:: Contact :: Home ::.

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