Linear Collider Forum



Home » Software Tools » Marlin et al » pyLCIO in v01-17-10
pyLCIO in v01-17-10 [message #2397] Thu, 29 September 2016 22:28 Go to next message
miyamoto
Messages: 4
Registered: December 2008
Hello,

I'm using ilcsoft-v01-17-10 in /cvmfs/ilc.desy.de/sw.
But, the Python binding of LCIO doesn't work, becasue
(1) liblcioDict.so does not exist in
/cvmfs/ilc.desy.de/sw/x86_64_gcc44_sl6/v01-17-10/lcio/v02-07 -02/lib
(2) Those in /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-10
produces following errors, when importing pyLCIO

Python 2.7.4 (default, May 5 2013, 17:33:10)
[GCC 4.8.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyLCIO
Loading LCIO ROOT dictionaries ...
Error in <TCling::RegisterModule>: cannot find dictionary module rootDict_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module IOIMPL_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module IMPL_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module EVENT_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module IO_rdict.pcm
Error in <TCling::RegisterModule>: cannot find dictionary module UTIL_rdict.pcm

Additionally, init_ilcsoft.sh in gcc4.8/v01-17-10 uses /afs for python and gcc. Since access to afs directory from remote site is very slow, would you modify to use those in /cvmfs

best regards
Akiya Miyamoto
KEK

Re: pyLCIO in v01-17-10 [message #2398 is a reply to message #2397] Fri, 30 September 2016 01:16 Go to previous message
gaede
Messages: 233
Registered: January 2004
Location: DESY, Hamburg
Hello Akiya,

thanks for the bug report.
(1) we cannot build a root dictionary for lcio with ROOT 5 and gcc44 any more - so this is a 'feature'

(2) there actually is a problem in the cmake installation procedure for lcio that sometimes causes the *pcm file to not be installed properly - it is currently under investigation.

In any case it is fixed for the reference installations in:

 /cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-10/
 /afs/desy.de/project/ilcsoft/sw/x86_64_gcc48_sl6/v01-17-10/


by copying the *.pcm files manually:
cp $LCIO/build/rootdict/*.pcm $LCIO/lib

in case other people have the same problem for their installations.

The init script in cvmfs now also uses gcc and python from cvmfs.

Cheers, Frank.




Previous Topic:compilation with TMinuit
Next Topic:iLCSoft release v01-17-11
Goto Forum:
  

[ PDF ]

Current Time: Thu Feb 27 06:59:38 Pacific Standard Time 2020
.:: Contact :: Home ::.

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