GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » New external packages (jan12)
Re: New external packages (jan12) [message #12968 is a reply to message #12959] Mon, 23 January 2012 13:48 Go to previous messageGo to previous message
Simone Bianco is currently offline  Simone Bianco
Messages: 29
Registered: January 2009
continuous participant
From: *cb.uni-bonn.de
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/build/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 warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /disk/user/bianco/ext_jan12_32/jan12/transport/vgm/build_cmake


but this doesn't stop the compilation, which runs smooth until the end.
I finally get
"*** End installation of external packages without Errors***".

Is there any drawback in having static libraries for Geant4 (except for space occupancy)?

Cheers,

Simone
 
Read Message
Read Message
Read Message icon2.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: charged geantino
Next Topic: FYI: computing course
Goto Forum:
  


Current Time: Sun Apr 28 18:38:20 CEST 2024

Total time taken to generate the page: 0.01180 seconds