GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: New external packages (jan12)
items: Re: New external packages (jan12)
items: Re: New external packages (jan12) - memory problem solved
items: Re:

New external packages (jan12)
type: item
description: Dear all, Happy new year to everyone! The new external packages for FairRoot/PandaRoot are now available (jan12). This release was tested on: MAC OS X 10.6.x, 10.7.X (64 bit) Suse 11.2, 11.3, 12.1 (32 and 64 bit) Fedora 14, 16 (32 and 64 bit) Ubuntu 10.10, 11.04, 11.10 (32 and 64 bit) For more details please visit http://fairroot.gsi.de/ Mohammad
creator: Mohammad Al-Turany
date: 2012-01-11T15:47:34-00:00

Re: New external packages (jan12)
type: item
description: Installed on my Ubuntu 11.10!
creator: StefanoSpataro
date: 2012-01-11T15:54:01-00:00

Re: New external packages (jan12) - memory problem solved
type: item
description: Dear all, the problem with the memory explosion when reading from TTree files which re-appeared with root version 5.30 seems to be gone in root 5.32 which comes with the new version of the external packages. I re-ran my macro and the virtual memory of root stays around 550m as it should. Cheers Olaf.
creator: Olaf Hartmann
date: 2012-01-12T14:32:55-00:00

Re: New external packages (jan12) - memory problem solved
type: item
description: Installed on Debian wheezy (32 & 64 bit) and everything goes fine, so far. .
creator: M.Babai
date: 2012-01-12T15:38:00-00:00

Re: New external packages (jan12)
type: item
description: Dear Mohammad, somehow I've problems with the GEANT4 data files in the jan12 external packages. The directory structure inside the fairsoft directory (/misc/cbmsoft/Lenny64/.../fairsoft) has changed from may11 to jan12, but running config.sh in my new build directory it still searches for the "old style": ... export GEANT4_INCLUDE_DIR="GEANT4_INCLUDE_DIR-NOTFOUND:/misc/cbmsoft/Lenny64/j an12/transport/geant4/source/interfaces/common/include:/misc/cbmsoft/Lenny64/jan 12/transport/geant4/physics_lists/hadronic/Packaging/include:/misc/cbmsoft/Lenny 64/jan12/transport/geant4/physics_lists/hadronic/QGSP/include" ... but it should rather be in $SIMPATH/fairsoft/share/Geant4-9.5.0/data . Did I miss to update something? Cheers Olaf.
creator: Olaf Hartmann
date: 2012-01-13T14:11:00-00:00

Re: New external packages (jan12)
type: item
description: Dear Olaf, There was a problem with the FindGEANT4.cmake, sorry I did not have it on MAC OS! It is corrected now and it should work. Sorry again. Mohammad
creator: Mohammad Al-Turany
date: 2012-01-14T13:36:45-00:00

Re: New external packages (jan12)
type: item
description: Hi Mohammad, I did a svn update, but now cmake complains about the following: [...] -- Looking for Pluto... CMake Error at cmake/modules/FindPLUTO.cmake:45 (message): Looking for Pluto... - Not found Call Stack (most recent call first): CMakeLists.txt:72 (find_package) -- Configuring incomplete, errors occurred! The error remains also after deleting the CmakeCache file. Ciao Olaf.
creator: Olaf Hartmann
date: 2012-01-14T14:03:42-00:00

Re: New external packages (jan12)
type: item
description: Do we really need pluto? I think nobody from Panda is using it!
creator: StefanoSpataro
date: 2012-01-14T14:14:03-00:00

Re: New external packages (jan12)
type: item
description: Hi, I am not able to reproduce this! I just try it on the Lenny64 and all works fine: http://cdash.gsi.de/CDash/buildSummary.php?buildid=463 can you check if you can access the /misc/cbmsoft/Lenny64 ? Stefano: if pluto is not needed for Panda we can simply remove it from the list of required packages in CMakelist.txt Mohammad
creator: Mohammad Al-Turany
date: 2012-01-14T14:28:28-00:00

Re: New external packages (jan12)
type: item
description: Hi Mohammad, it looks actually that the problem is related to the filesystem ... I removed everything from the build directory and tried to run cmake: on lxi039 I get: olaf@lxi039:~/panda/pandaroot/build_jan12 $ cmake ../ CMAKE_Fortran_COMPILER full path: /usr/bin/gfortran Fortran compiler: gfortran Set BuildType DEBUG --- Found a Linux ssytem --- Found GNU compiler collection --- Build Type: Debug --- Compiler Flags: -- Looking for Root... -- Looking for Root... - Found /misc/cbmsoft/Lenny64/jan12/fairsoft/bin/root -- Looking for Root... - version 5.32/00 -- Looking for GLPK ... -- Looking for PYTHIA8 ... -- Looking for Pythia6... CMake Error at cmake/modules/FindGENERATORS.cmake:55 (message): Looking for Pythia6... - Not found while on lxi035 the very same command stops already when it searches for the root executable: olaf@lxi035:~/panda/pandaroot/build_jan12 $ cmake ../ CMAKE_Fortran_COMPILER full path: /usr/bin/gfortran Fortran compiler: gfortran Set BuildType DEBUG --- Found a Linux ssytem --- Found GNU compiler collection --- Build Type: Debug --- Compiler Flags: -- Looking for Root... CMake Error at cmake/modules/FindROOT.cmake:30 (MESSAGE): ROOT not installed in the searchpath and ROOTSYS is not set. Please set ROOTSYS or add the path to your ROOT installation in the Macro FindROOT.cmake in the subdirectory cmake/modules. Call Stack (most recent call first): CMakeLists.txt:66 (find_package) Cheers Olaf.
creator: Olaf Hartmann
date: 2012-01-14T18:34:04-00:00

Re: New external packages (jan12)
type: item
description: Dear Mohammad, I am experiencing the same problem Olaf had with "GEANT4_INCLUDE_DIR-NOTFOUND" on a Etch 64 bit machine. You mentioned this is fixed now in a corrected version of FindGEANT4.cmake. Is it in the actual jan12 svn version? I couldn't find it so far. Best regards, Simone
creator: Simone Bianco
date: 2012-01-16T08:47:45-00:00

Re: New external packages (jan12)
type: item
description: Hi Simone, it's in the cmake directory of Pandaroot. Olaf.
creator: Olaf Hartmann
date: 2012-01-16T08:53:09-00:00

Re: New external packages (jan12)
type: item
description: Hi again, my CMAKE still fails under lenny64 (lxi047) if I have $SIMPATH=/misc/cbmsoft/Lenny64/jan12 . If I use instead the fairsoft_trunk, it works without problems ... Below the output of my cmake command. Cheers Olaf. olaf@lxi043:~/panda/pandaroot/build_jan12 $ cmake ../ CMAKE_Fortran_COMPILER full path: /usr/bin/gfortran Fortran compiler: gfortran Set BuildType DEBUG --- Found a Linux ssytem --- Found GNU compiler collection --- Build Type: Debug --- Compiler Flags: -- Looking for Root... CMake Error at cmake/modules/FindROOT.cmake:30 (MESSAGE): ROOT not installed in the searchpath and ROOTSYS is not set. Please set ROOTSYS or add the path to your ROOT installation in the Macro FindROOT.cmake in the subdirectory cmake/modules. Call Stack (most recent call first): CMakeLists.txt:66 (find_package) -- Configuring incomplete, errors occurred!
creator: Olaf Hartmann
date: 2012-01-16T09:19:14-00:00

Re: New external packages (jan12)
type: item
description: Hi Olaf, I think the cmake is right, your simpath is wrong!! you should use: $SIMPATH=/misc/cbmsoft/Lenny64/jan12/fairsoft cheers, Mohammad
creator: Mohammad Al-Turany
date: 2012-01-16T10:12:45-00:00

Re:
type: item
description: Dear Mohammad, .... and of course you're right. I mixed it up with my local installation. Classical case of "Betriebsblindheit". Thanks and sorry for that. Olaf.
creator: Olaf Hartmann
date: 2012-01-16T10:25:33-00:00

Re: New external packages (jan12)
type: item
description: Hi, I just tried to run our DIRC simulation with new jan12 packages (I have Lenny32 local machine) and while running the eventDisplay I got the following error: mpatsyuk@lxg0333:~/PANDA/trunk/macro/drc $ root -l eventDisplay.C root [0] Processing eventDisplay.C... Warning in <TClassTable::Add>: class PndSdsMCPoint already in TClassTable Warning in <TClassTable::Add>: class PndSdsStrip already in TClassTable Warning in <TClassTable::Add>: class PndSdsDigi already in TClassTable Warning in <TClassTable::Add>: class PndSdsDetector already in TClassTable Error in <TUnixSystem::DynamicPathName>: libEventDisplay[.so | .dll | .dylib | .sl | .d l | .a] does not exist in /u/mpatsyuk/PANDA/build_Lenny32_Jan2012/lib:/u/mpatsyuk/PANDA /build_Lenny32_Jan2012/lib:/misc/cbmsoft/Lenny32/jan12/fairsoft/lib/root :/misc/cbmsoft/ Lenny32/jan12/fairsoft/lib:/misc/cbmsoft/Lenny32/jan12/fairsoft/lib:/mis c/cbmsoft/Lenny 32/jan12/fairsoft/lib:/misc/cbmsoft/Lenny32/jan12/fairsoft/lib:/misc/cbm soft/Lenny32/ja n12/fairsoft/lib:/misc/cbmsoft/Lenny32/jan12/fairsoft/lib:/misc/cbmsoft/ Lenny32/jan12/f airsoft/lib:/misc/cbmsoft/Lenny32/jan12/fairsoft/lib:/misc/cbmsoft/Lenny 32/jan12/fairso ft/lib:.:/misc/cbmsoft/Lenny32/jan12/fairsoft/lib/root::/misc/cbmsoft/Le nny32/jan12/fai rsoft/lib/root/cint/cint/stl Error: Symbol FairEventManager is not defined in current scope eventDisplay.C:24: Error: Symbol FairEventManager is not defined in current scope eventDisplay.C:24: Error: type FairEventManager not defined FILE:/u/mpatsyuk/PANDA/trunk/macro/drc/./event Display.C LINE:24 Warning: Automatic variable FairEventManager*fMan is allocated eventDisplay.C:24: Error: Undeclared variable FairEventManager*fMan eventDisplay.C:24: *** Interpreter error recovered *** It seems that indeed the eventDisplay libraries are missing in the lib directory. What should I do to be able to run the eventDisplay? Thank you.
creator: Maria Patsyuk
date: 2012-01-16T14:05:26-00:00

Re: New external packages (jan12)
type: item
description: Hi Maria, in theory, in pandaroot/CMakeLists.txt: If(TEvePath) #find_package(OpenGL) #If (OPENGL_FOUND AND OPENGL_GLU_FOUND) Message("Found TEve, so the eventdisplay will be compiled.") add_subdirectory(eventdisplay) add_subdirectory(PndEventdisplay) #EndIf (OPENGL_FOUND AND OPENGL_GLU_FOUND) EndIf(TEvePath) So maybe the system does not find OPENGL -> it does not compile event display? When you do cmake, does the "Fount TEve" message appear?
creator: StefanoSpataro
date: 2012-01-16T15:20:39-00:00

Re: New external packages (jan12)
type: item
description: Dear all, here in Bonn we are still having a problem while compiling the external packages. We got new working copies (both for the jan12 and for the trunk, both on 32 and 64 bit Etch machines) and the compilation always fails when reaching VGM. After getting the following warning: CMake Warning (dev) at packages/Geant4GM/CMakeLists.txt:20 (link_directories): This command specifies the relative path GEANT4_LIBRARY_DIR-NOTFOUND as a link directory. Policy CMP0015 is not set: link_directories() treats paths relative to the source dir. Run "cmake --help-policy CMP0015" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. the errors come: [ 35%] Built target XmlVGM Scanning dependencies of target Geant4GM [ 36%] Building CXX object packages/Geant4GM/CMakeFiles/Geant4GM.dir/source/materials/Element.cxx.o /disk/user/bianco/ext_jan12_32/jan12/transport/vgm/packages/Geant4GM/source/materials/Element.cxx:26:24: error: G4Element.hh: No such file or directory Any idea about how to fix this? Thanks in advance. Cheers, Simone
creator: Simone Bianco
date: 2012-01-17T13:50:15-00:00

Re: New external packages (jan12)
type: item
description: No, I don't see the TEve message. It seems that eventDisplay does not work for me also with Jan2012 packages (
creator: Maria Patsyuk
date: 2012-01-18T11:42:30-00:00

Re: New external packages (jan12)
type: item
description: I think that the problem might actually be hidden in the few lines directly above Stefano's suggestions: 176 FIND_PATH(TEvePath NAMES TEveEventManager.h PATHS 177 ${SIMPATH}/tools/root/include 178 NO_DEFAULT_PATH 179 ) where CMake is looking for TEveEventManager.h in wrong directory, it should be changed to: 176 FIND_PATH(TEvePath NAMES TEveEventManager.h PATHS 177 ${SIMPATH}/include/root 178 NO_DEFAULT_PATH 179 ) for JAN12 release. Will test and fix it soon. yours, radek
creator: Radoslaw Karabowicz
date: 2012-01-18T12:59:04-00:00

Re: New external packages (jan12)
type: item
description: Hi Radek, actually there should be both options. One for the old and one for the new installation scheme, because we will have both possibilities in parallel for some time. Ciao Florian
creator: Florian Uhlig
date: 2012-01-18T13:02:14-00:00

Re: New external packages (jan12)
type: item
description: OK, good point. Changing CMakeLists.txt to: FIND_PATH(TEvePath NAMES TEveEventManager.h PATHS ${SIMPATH}/include/root ${SIMPATH}/tools/root/include NO_DEFAULT_PATH ) yours
creator: Radoslaw Karabowicz
date: 2012-01-18T13:13:47-00:00

Re: New external packages (jan12)
type: item
description: Hi, just to add oil to the fires: I tried installing FairSoft trunk on my Mac (Lion 10.7.2). I had to manually hotfix the Pythia compilation for 64bit mac (from Florian). Compilation stops at VGM: Toggle Spoiler *** Geant3 compiled successfully *** *** Compiling VGM ................ Patch CMake stuff -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - yes -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done --- Found a Mac OS X System 10.7 --- Found GNU compiler collection --- Build Type: RelWithDebInfo --- Compiler Flags: -O2 -m64 -- Looking for CLHEP... -- Looking for CLHEP... - found /Users/ralfk/Panda/fairsoft_trunk/cern/clhep/lib -- Looking for GEANT4... -- Looking for Root... -- Looking for Root... - found /Users/ralfk/Panda/fairsoft_trunk/tools/root/bin/root -- Looking for Root... - version 5.32/00 CMake Warning (dev) at packages/Geant4GM/CMakeLists.txt:20 (link_directories): This command specifies the relative path GEANT4_LIBRARY_DIR-NOTFOUND as a link directory. Policy CMP0015 is not set: link_directories() treats paths relative to the source dir. Run "cmake --help-policy CMP0015" for policy details. Use the cmake_policy command to set the policy and suppress this…
creator: Ralf Kliemt
date: 2012-01-20T11:47:10-00:00

Re: New external packages (jan12)
type: item
description: Hallo Ralf, I have myself Mac OS Lion and it works (it was tested there before any other system)! Also the the "hotfix" for Pythia should be there! So from your output it seems that Geant4 installation went wrong and the FindGEANT4.cmake do not find it. My question did you install a fresh copy of the jan12 or update your old one? It is funny also that Simone get the same errors on Etch as you on MAC, So the only explanation I can think about at the moment that you try to install in the same directory where something was already installed. if this is not the case then we have to add more oil to the fire. Mohammad
creator: Mohammad Al-Turany
date: 2012-01-20T12:24:37-00:00

Re: New external packages (jan12)
type: item
description: Hi Mohammad. I freshly downloaed the fairsoft trunk from svn ths morning. Then hit configure.sh. Some time later the thing stopped with that error (and after applying the hotfix & rerunning the compilation). Could it be that I miss some library which wasn't needed before? Cheers. Ralf
creator: Ralf Kliemt
date: 2012-01-20T12:28:45-00:00

Re: New external packages (jan12)
type: item
description: Hi Mohammad, I gave it another try, using a new folder and trying to compile the trunk version of the external packages. During the Geant4 compilation one error occurs: -- [download 70% complete] [ 83%] Building CXX object source/processes/CMakeFiles/G4processes.dir/transportation/src/G4StepLimiter.cc.o [ 83%] Building CXX object source/processes/CMakeFiles/G4processes.dir/transportation/src/G4Transportation.cc.o [ 83%] Building CXX object source/processes/CMakeFiles/G4processes.dir/transportation/src/G4UserSpecialCuts.cc.o [ 83%] Building CXX object source/processes/CMakeFiles/G4processes.dir/transportation/src/G4VTrackTerminator.cc.o Linking CXX shared library ../../outputs/library/Linux-g++/libG4processes.so Error running link command: Argument list too long make[2]: *** [outputs/library/Linux-g++/libG4processes.so] Error 2 make[1]: *** [source/processes/CMakeFiles/G4processes.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... then install script continues running (isn't this bad?) and compiles ROOT, ... Finally while compiling vgm the problems described in my previous post (not finding Geant4's libraries) come and the script stops. How could I try to fix this problem? Cheers, Simone
creator: Simone Bianco
date: 2012-01-20T14:38:55-00:00

Re: New external packages (jan12)
type: item
description: After some Skype discussion with Mohammad, I updated my cmake. This was not the problem. I still get my error, but had to wait all the 85% of G4 compilation again. I found GEANT4_USE_SYSTEM_EXPAT: Using system install of EXPAT in the configuration logging, which then tries to link: ld: warning: ignoring file /usr/local/lib/libexpat.dylib, missing required architecture x86_64 in file This file is given by the system and I have no idea why that should be not 64bit compatible. Now I'm still puzzled, but differently. Ralf
creator: Ralf Kliemt
date: 2012-01-20T14:40:23-00:00

Re: New external packages (jan12)
type: item
description: Hi I tried to install the new packages on my home computer (PandaRoot version 14201, Ubuntu 10.10., I have here already May11 packages) like svn co https://subversion.gsi.de/fairroot/fairsoft/release/jan12 and if I run the simulation then after quite successful installation I see the following error. The thing is that there is no bin/ directory in External_Jan2012 at all. Why does it ask about it? What should I do to avoid such errors? root -l sim_dirc.C root [0] Processing sim_dirc.C... Warning in <TClassTable::Add>: class PndSdsMCPoint already in TClassTable Warning in <TClassTable::Add>: class PndSdsStrip already in TClassTable Warning in <TClassTable::Add>: class PndSdsDigi already in TClassTable Warning in <TClassTable::Add>: class PndSdsDetector already in TClassTable Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created -I- FairGeoMedia Read media Loading Geant4 global libraries ...Our Macro sh: /home/masha/PANDA/External_Jan2012/bin/geant4-config: not found Error in <TUnixSystem::GetFromPipe>: command "$SIMPATH/bin/geant4-config --libs" returned 32512 Loading VGM libraries ... Loading g4root library ... dlopen error: /home/masha/PANDA/External_Jan2012/transport/geant4_vmc/lib/tgt_linux/li bg4root.so: undefined symbol: _ZTI27G4VUserDetectorConstruction Load Error: Failed to load Dynamic link library /home/masha/PANDA/External_Jan2012/transport/geant4_vmc/lib/tgt_linux/li bg4root.so Warning: Return value of void g4libs_global() ignored /home/masha/PANDA/External_Jan2012/transport/macro/g4libs.C:135: Error: Symbol TG4RunConfiguration is not defined in current scope /home/masha/PANDA/trunk/gconfig/g4Config.C:29: Error: Symbol TG4RunConfiguration is not defined in current scope /home/masha/PANDA/trunk/gconfig/g4Config.C:29: Error: type TG4RunConfiguration not defined FILE:/home/masha/PANDA/trunk/gconfig/g4Config.C LINE:29 Error: Invalid type 'TG4RunConfiguration*' in declaration of 'runConfiguration' /home/masha/PANDA/trunk/gconfig/g4Config…
creator: Maria Patsyuk
date: 2012-01-20T15:19:30-00:00

Re: New external packages (jan12)
type: item
description: Hi Ralf, For the Pythia6 problem I managed to reproduce it! It worked in my case because I have the "libgfortran.a" twice in /usr/local/lib/x86_64 and /usr/local/lib. Sorry for that now the script is modified in SVN and should be able handle it. I am still trying to reproduce it. I will let you know as soon as possible. Mohammad
creator: Mohammad Al-Turany
date: 2012-01-23T08:52:56-00:00

Re: New external packages (jan12)
type: item
description: Hallo Simone, Which CMAKE you use? is it coming from the system or from the external packages? Mohammad
creator: Mohammad Al-Turany
date: 2012-01-23T09:26:07-00:00

Re: New external packages (jan12)
type: item
description: Hi Mohammad, the system has cmake 2.4, so running config.sh the cmake included in the external packages is compiled (so it should be used during the rest of the compilation of the packages, am I wrong?). Simone
creator: Simone Bianco
date: 2012-01-23T09:34:36-00:00

Re: New external packages (jan12)
type: item
description: Hi Simone, Yes, you are right and I am more puzzled than before! Mohammad
creator: Mohammad Al-Turany
date: 2012-01-23T09:43:15-00:00

Re: New external packages (jan12)
type: item
description: Hi, you can check in the CMakeCache.txt in the build directory which CMake version was used to generate the Makefiles. Maybe you will find something in this file. The important variables are CMakeCache.txt://Major version of cmake used to create the current loaded cache CMakeCache.txt:CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2 CMakeCache.txt://Minor version of cmake used to create the current loaded cache CMakeCache.txt:CMAKE_CACHE_MINOR_VERSION:INTERNAL=8 CMakeCache.txt://Patch version of cmake used to create the current loaded cache CMakeCache.txt:CMAKE_CACHE_PATCH_VERSION:INTERNAL=4 Ciao Florian
creator: Florian Uhlig
date: 2012-01-23T09:55:19-00:00

Re: New external packages (jan12)
type: item
description: Hi, so my trunk/transport/geant4.9.5/build/CMakeCache.txt says: //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=8 //Patch version of cmake used to create the current loaded cache CMAKE_CACHE_PATCH_VERSION:INTERNAL=6 Cheers, Simone
creator: Simone Bianco
date: 2012-01-23T10:09:35-00:00

Re: New external packages (jan12)
type: item
description: Hi, It seems that we are facing G4 problems now! take a look to: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/installconfig/14 25.html?inline=-1 it is the same problems which we have! Mohammad
creator: Mohammad Al-Turany
date: 2012-01-23T10:16:27-00:00

Re: New external packages (jan12)
type: item
description: Hi Mahammad, you're right, it's exactly the same problem and in both cases it appears at the same point of the G4 compilation. I tried now to add " -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON " in the cmake argument list in script/install_geant4.sh as suggested in the post you linked in order to use static libraries. During the G4 compilation, at the same point I now get [ 83%] Building CXX object source/processes/CMakeFiles/G4processes-static.dir/transportation/src/G4UserSpecialCuts.cc.o [ 83%] Building CXX object source/processes/CMakeFiles/G4processes-static.dir/transportation/src/G4VTrackTerminator.cc.o Linking CXX static library ../../outputs/library/Linux-g++/libG4processes.a [ 83%] Built target G4processes-static Scanning dependencies of target G4tracking-static Scanning dependencies of target G4parmodels-static [ 83%] [ 83%] Building CXX object source/parameterisations/CMakeFiles/G4parmodels-static.dir/gflash/src/GFlashEnergySpot.cc.o [ 83%] Building CXX object source/parameterisations/CMakeFiles/G4parmodels-static.dir/gflash/src/GFlashHitMaker.cc.o No errors appear during the compilation of Geant4. During the chacks before the vgm compilation I still get *** Compiling VGM ................ Patch CMake stuff -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done --- Found a Linux ssytem --- Found GNU compiler collection --- Build Type: RelWithDebInfo --- Compiler Flags: -O3 -- Looking for CLHEP... -- Looking for CLHEP... - found /disk/user/bianco/ext_jan12_32/build/lib -- Looking for GEANT4... -- Looking for Root... -- Looking for Root... - found /disk/user/bianco/ext_jan12_32/bui…
creator: Simone Bianco
date: 2012-01-23T12:48:47-00:00

Re: New external packages (jan12)
type: item
description: Hi Simone, Static libraries are not a problem, Just try to build PandaRoot with this and run the tests. Mohammad
creator: Mohammad Al-Turany
date: 2012-01-23T13:46:43-00:00

Re: New external packages (jan12)
type: item
description: Hi, pandaroot trunk compiled and I ran macro/pid/run_sim_sttcombi_pgun.C macro/pid/run_digi_sttcombi.C macro/pid/run_reco_sttcombi.C macro/pid/run_pid_stt.C without problems. Thanks a lot for you help! Simone
creator: Simone Bianco
date: 2012-01-23T14:13:21-00:00

Re: New external packages (jan12)
type: item
description: Finally...
creator: StefanoSpataro
date: 2012-01-23T14:20:44-00:00

Re: New external packages (jan12)
type: item
description: Hallo Maria, I could reproduce this error on Ubuntu, I changed the FindGEANT4.cmake in the cmake/modules directory, can you please update your pandaroot and test again. Mohammad
creator: Mohammad Al-Turany
date: 2012-01-23T20:39:59-00:00

Re: New external packages (jan12)
type: item
description: Dear Mohammad, thank you, I updated the cmake directory (at revision 14216), then hit 'cmake', '. ./config.sh', 'make' and tried the simulation again. Unfortunately I have the same error again. root -l sim_dirc.C root [0] Processing sim_dirc.C... Warning in <TClassTable::Add>: class PndSdsMCPoint already in TClassTable Warning in <TClassTable::Add>: class PndSdsStrip already in TClassTable Warning in <TClassTable::Add>: class PndSdsDigi already in TClassTable Warning in <TClassTable::Add>: class PndSdsDetector already in TClassTable Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created -I- FairGeoMedia Read media Loading Geant4 global libraries ...Our Macro sh: /home/masha/PANDA/External_Jan2012/bin/geant4-config: not found Error in <TUnixSystem::GetFromPipe>: command "$SIMPATH/bin/geant4-config --libs" returned 32512 Loading VGM libraries ... Loading g4root library ... dlopen error: /home/masha/PANDA/External_Jan2012/transport/geant4_vmc/lib/tgt_linux/li bg4root.so: undefined symbol: _ZTI27G4VUserDetectorConstruction Load Error: Failed to load Dynamic link library /home/masha/PANDA/External_Jan2012/transport/geant4_vmc/lib/tgt_linux/li bg4root.so Warning: Return value of void g4libs_global() ignored /home/masha/PANDA/External_Jan2012/transport/macro/g4libs.C:135: Error: Symbol TG4RunConfiguration is not defined in current scope /home/masha/PANDA/trunk/gconfig/g4Config.C:29: Error: Symbol TG4RunConfiguration is not defined in current scope /home/masha/PANDA/trunk/gconfig/g4Config.C:29: Error: type TG4RunConfiguration not defined FILE:/home/masha/PANDA/trunk/gconfig/g4Config.C LINE:29 Error: Invalid type 'TG4RunConfiguration*' in declaration of 'runConfiguration' /home/masha/PANDA/trunk/gconfig/g4Config.C:29: *** Interpreter error recovered *** SetCuts Macro: Setting Processes.. Error: illegal pointer to class object gMC 0x0 839 /home/masha/PANDA/trunk/gconfig/SetCuts.C:23: *** Interpreter error recovered *** *** Break *** segmentation violatio…
creator: Maria Patsyuk
date: 2012-01-23T21:45:37-00:00

Re: New external packages (jan12)
type: item
description: Hi Maria, Please delete the config.sh and the CMakeCache.txt in your build directory and run the cmake again, this worked for me on Ubuntu! Mohammad
creator: Mohammad Al-Turany
date: 2012-01-23T21:48:29-00:00

Re: New external packages (jan12)
type: item
description: Hallo Maria, Finally I found it, you need to call svn update in: $SIMPATH/transport/macro to update the g4libs.C macro. Sorry for that. Mohammad
creator: Mohammad Al-Turany
date: 2012-01-23T22:03:37-00:00

Re: New external packages (jan12)
type: item
description: Hello everyone, After downloading the jan12 release (updated) this morning it compiles until VGM (log below in the spoiler). I used a separate build path. Regards. Ralf Toggle Spoiler [ 36%] Building CXX object packages/Geant4GM/CMakeFiles/Geant4GM.dir/source/materials/Element.cxx.o /Users/ralfk/Panda/fairsoft_files/jan12/transport/vgm/packages/Geant4GM/ source/materials/Element.cxx:26:24: error: G4Element.hh: No such file or directory /Users/ralfk/Panda/fairsoft_files/jan12/transport/vgm/packages/Geant4GM/ source/materials/Element.cxx: In constructor ‘Geant4GM::Element::Element(const std::string&, const std::string&, double, double)’: /Users/ralfk/Panda/fairsoft_files/jan12/transport/vgm/packages/Geant4GM/ source/materials/Element.cxx:34: error: invalid use of incomplete type ‘struct G4Element’ /Users/ralfk/Panda/fairsoft_files/jan12/transport/vgm/packages/Geant4GM/ include/Geant4GM/materials/Element.h:27: error: forward declaration of ‘struct G4Element’ /Users/ralfk/Panda/fairsoft_files/jan12/transport/vgm/packages/Geant4GM/ source/materials/Element.cxx: In constructor ‘Geant4GM::Element::Element(const std::string&, const std::string&, const VGM::IsotopeVector&, const VGM::RelAbundanceVector&)’: /Users/ralfk/Panda/fairsoft_files/jan12/transport/vgm/packages/Geant4GM/ source/materials/Element.cxx:78: error: invalid use of incomplete type ‘struct G4Element’ /Users/ralfk/Panda/fairsoft_files/jan12/transport/vgm/packages/Geant4GM/ include/Geant4GM/materials/Element.h:27: error: forward declaration of ‘struct G4Element’ /Users/ralfk/Panda/fairsoft_files/jan12/transport/vgm/packages/Geant4GM/ source/materials/Element.cxx:84: error: invalid use of incomplete type ‘struct G4Element’ /Users/ralfk/Panda/fairsoft_files/jan12/transport/vgm/packages/Geant4GM/ include/Geant4GM/materials/Element.h:27: error: forward declaration of ‘struct G4Element’ /Users/ralfk/Panda/fairsoft_files/jan12/transport/vgm/packages/Geant4GM/ source/materials/Element.cxx: In member function ‘virtual …
creator: Ralf Kliemt
date: 2012-01-24T14:26:44-00:00

Re: New external packages (jan12)
type: item
description: Hello again, The problem could be cornered! I have still the same issue that the G4 compilation fails due to libExpat. I have a 32bit version installed, while G4 wants to install in 64bit. The check for the library presence seems to not check the 64bit compatibility and hence doesn't use the built in version of it. Thanks to Mohammad. Now we just need a fix for that... Cheers Ralf
creator: Ralf Kliemt
date: 2012-01-24T16:41:00-00:00

Re: New external packages (jan12)
type: item
description: Mohammad, thank you very much, now the DIRC simulation is working with the Jan12 external packages! Best regards, Maria
creator: Maria Patsyuk
date: 2012-01-24T18:50:17-00:00

Re: New external packages (jan12)
type: item
description: Hi Ralf, Unfortunately, I did not find anyway to switch of the usage of the system expat library without hacking the G4 code! So may be you can try to install the proper Expat library for your system, i.e: > sudo port install expat This should fetch and install "expat-2.0.1_1.darwin_11.x86_64.tgz" In case this does not work you have to edit the file: geant4.9.5/cmake/Modules/Geant4OptionalComponents.cmake and comment out the line 72. i.e: find_package(EXPAT) but this I would do as last solution! Cheers, Mohammad
creator: Mohammad Al-Turany
date: 2012-01-24T19:46:32-00:00

Re: New external packages (jan12)
type: item
description: Mohammad Al-Turany wrote on Tue, 24 January 2012 20:46 > sudo port install expat This should fetch and install "expat-2.0.1_1.darwin_11.x86_64.tgz" I only get: expat @2.0.1_1+universal This is ppc and i386, but no 64bit. I found a ticket for that, 18 months old, but deleted after 1 year of inactivity. So it seems there is no 64bit expat in macports. Ralf
creator: Ralf Kliemt
date: 2012-01-25T10:16:27-00:00

Re: New external packages (jan12)
type: item
description: HI, Is your MAC 64 or 32? because for me I get exactly this: expat-2.0.1_1.darwin_11.x86_64.tgz DO you have a MaCbook or MacBook Pro? Mohammad
creator: Mohammad Al-Turany
date: 2012-01-25T10:28:27-00:00

Re: New external packages (jan12)
type: item
description: Well, the label reads MacBook, but it is one of the early aluminim shell models (now "Pro"). So, yes! 64bit System. Ralf EDIT: Commenting the find_package(EXPAT) did the job. At least I've it compiled, finally. Tahnks Mohammad. Ralf
creator: Ralf Kliemt
date: 2012-01-25T10:33:04-00:00

Re: New external packages (jan12)
type: item
description: Hi everybody, unfortunately there are still problems with the new external packages here in Bonn. We had the problem compiling Geant4 which was reported by Simone. He solved it by compiling Geant4 as a static library instead of a dynamic one. At first this seemed to work, but it turned out Simone only tested it with Geant3. If one tries to use Geant4 root is not able to load (some of) the required Geant4 libs and gives the following error: dlopen error: /disk/user/bianco/ext_jan12_32/build/lib/libG4Tree.a: invalid ELF header Load Error: Failed to load Dynamic link library /disk/user/bianco/ext_jan12_32/build/lib/libG4Tree.a So we are back to the original compilation error of Geant: -- [download 70% complete] [ 83%] Building CXX object source/processes/CMakeFiles/G4processes.dir/transportation/src/G4StepLimiter.cc.o [ 83%] Building CXX object source/processes/CMakeFiles/G4processes.dir/transportation/src/G4Transportation.cc.o [ 83%] Building CXX object source/processes/CMakeFiles/G4processes.dir/transportation/src/G4UserSpecialCuts.cc.o [ 83%] Building CXX object source/processes/CMakeFiles/G4processes.dir/transportation/src/G4VTrackTerminator.cc.o Linking CXX shared library ../../outputs/library/Linux-g++/libG4processes.so Error running link command: Argument list too long make[2]: *** [outputs/library/Linux-g++/libG4processes.so] Error 2 make[1]: *** [source/processes/CMakeFiles/G4processes.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Any ideas on that? Cheers, Christian
creator: Christian Hammann
date: 2012-02-16T16:55:08-00:00

Re: New external packages (jan12)
type: item
description: Hallo Christian, Unfortunately it is a problem of Geant4 itself with the max argument length in the kernel of your linux. As far as I can see you use Debian Etch, so it is 5 years old and the support was stopped in Feb. 2010 (http://www.debian.org/releases/etch/) . in the new linux releases they remove this limit completely. This problem was also reported on the G4 site with out any solution! except a hint on how to increase the maximum length of the argument list by recompiling the kernel (see: http://www.gnu.org/software/coreutils/faq/#Argument-list-too-long) so I am not sure if this is really an option for you. best regards, Mohammad
creator: Mohammad Al-Turany
date: 2012-02-16T19:14:56-00:00

Re: New external packages (jan12)
type: item
description: Hi Christian, please have a look which kernel version you use at Bonn. According to http://www.in-ulm.de/~mascheck/various/argmax/ there was a change in the handling the maximum number of arguments with kernel version 2.6.23. Before this version the value was hardcoded in the kernel source code, with this version the size is set to 1/4 of the stack size which can be changed ( at least if I am correct). This size you can check with "ulimit -s" inside a terminal. At the GSI Etch system it is set to 8192 kB. With "ulimit -s <newsize in kB>" you can change the size. Maybe increasing the size on your system solves the problem for you, but I am not sure about that. But I think it is worth a try. The changes are only in the actual shell and newly created sub shells. Ciao Florian
creator: Florian Uhlig
date: 2012-02-17T09:13:16-00:00

Re: New external packages (jan12)
type: item
description: Hi, thanks for the tips. On most machines we are running a 2.6.18 kernel. This kernel seems to have a fixed size of 128kB for the argument list. We also have a test machine with a 2.6.32 kernel. For this machine the argument list can be 2MB (1/4 of the stacksize). On this machine I can compile the external packages without problem. Unfortunately I can then run geant4 only on that machine. I'll live with that for now, and look into a more permanent solution after the panda meeting. Cheers Christian P.S.: one can check the maximum size for the argument list with 'getconf ARG_MAX'.
creator: Christian Hammann
date: 2012-02-21T14:17:51-00:00

Re: New external packages (jan12)
type: item
description: Hi Christian, is the test machine also a machine with Debian Etch? By the way there are no security updates for Etch since some time, so maybe you should move to a newer version of the operating system. Ciao Florian
creator: Florian Uhlig
date: 2012-02-21T15:45:34-00:00

Re: New external packages (jan12)
type: item
description: Hi Florian, no the test machine is not a etch but squeeze. I'm aware that etch doesn't get any more updates. I agree that an update of our systems is inevitable at some point. But this will require quite some work, as we are also running some old (analysis) software on our machines. Cheers Christian
creator: Christian Hammann
date: 2012-02-21T16:41:43-00:00