GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Installation and Compilation » Garfield++ installation
Garfield++ installation [message #19407] Tue, 09 August 2016 12:16 Go to next message
Oleg is currently offline  Oleg
Messages: 19
Registered: August 2016
Location: GSI
occasional visitor
From: *gsi.de
I tried now to start with Garfield installation again.
Did:

module use /cvmfs/it.gsi.de/modulefiles/
module load compiler/gcc/4.8.4
export CC=gcc
export CXX=g++

. /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/may16_root6/bin/thisroot.sh
export GARFIELD_HOME=/d/land2/kisselev/garfield
export HEED_DATABASE=/d/land2/kisselev/garfield/Heed/heed++/database

Than:

svn co http://svn.cern.ch/guest/garfield/trunk garfield
cd garfield
mkdir build install
cd build
cmake -DCMAKE_INSTALL_PREFIX=/d/land2/kisselev/garfield/install -DROOTCINT_EXECUTABLE=rootcint ..

cmake ands with:

-- Considered magboltz files : Source/magboltz-9.01.f
-- -----------------------------------------------------------
-- Directory used to find root dict files: Include
-- ###########################################################
-- Install path: /d/land2/kisselev/garfield/install
-- If you want to change this path call cmake -DCMAKE_INSTALL_PREFIX=my_install_path ...
-- Configuring done
-- Generating done
-- Build files have been written to: /d/land2/kisselev/garfield/build

So I concider it is OK.
But than:

land@lxg0898:build > make
[ 0%] generating: /d/land2/kisselev/garfield/build/rootdict/GarfieldDict.cxx /d/land2/kisselev/garfield/build/rootdict/GarfieldDict.h
In file included from input_line_12:14:
/d/land2/kisselev/garfield/Include/TrackHeed.hh:10:10: fatal error: 'heed++/code/HeedParticle.h' file not
found
#include "heed++/code/HeedParticle.h"
^
Error: rootcint: compilation failure (/d/land2/kisselev/garfield/build/rootdict/GarfieldDictf4f08f87f2_dictUm brella.h)
make[2]: *** [rootdict/GarfieldDict.cxx] Error 1
make[1]: *** [CMakeFiles/Garfield.dir/all] Error 2
make: *** [all] Error 2

Is it something new? Any reason?

Re: Garfield++ installation [message #19410 is a reply to message #19407] Tue, 09 August 2016 13:39 Go to previous messageGo to next message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *dyn.telefonica.de
Dear Oleg,

I have updated my garfield and now have the same problem. It is obviously a bug in build configuration:

Fix:

after making checkout with svn, open the garfield/CMakeLists.txt file and directly after line number 54, add following:

LIST( APPEND ROOT_DICT_INCLUDE_DIRS Heed )


Then proceed as usual.

Best regards,
Dima
Re: Garfield++ installation [message #19411 is a reply to message #19407] Tue, 09 August 2016 13:41 Go to previous message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *dyn.telefonica.de
Please check the fix I posted, and confirm.

Best regards,
Dima
Previous Topic: Compiling jul15 at gsi machines
Next Topic: Fresh Installation does not work
Goto Forum:
  


Current Time: Fri Nov 29 10:01:23 CET 2024

Total time taken to generate the page: 0.00760 seconds