GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Installation and Compilation » r3broot compilation failed (r3broot compilation failed after modifiying PSPs )
r3broot compilation failed [message #19328] Tue, 14 June 2016 19:47 Go to next message
Leyla Atar is currently offline  Leyla Atar
Messages: 5
Registered: April 2016
occasional visitor
From: *gsi.de
Hello Dima,

I installed the r3broot for developer with ucesb today. The compiling was successfull.
Then I changed something in PSP detector according to the current experiment and try to compile again.
cmake compiling (cmake -DUSE_PATH_INFO=true -DUSE_DIFFERENT_COMPILER=TRUE ../R3BRoot) worked well but make did not work and i got the following error:

-- Found Git: /usr/bin/git (found version "1.7.10.4")
fatal: No tags can describe 'ebd693f0e2a19dacd1d3f63b5428dd096aee0288'.
Try --always, or create some tags.
-- FairRoot Version - from - Tue Jun 14 09:56:38 2016 +0200
[ 0%] Built target svnheader
[ 17%] Built target R3BData
[ 20%] Built target R3Bbase
[ 23%] Built target Field
[ 28%] Built target R3BPassive
[ 32%] Built target R3BPsp
[ 33%] Generating G__R3BsourceDict.cxx, G__R3BsourceDict_rdict.pcm, ../lib/libR3Bsource.rootmap
Warning in cling::IncrementalParser::CheckABICompatibility():
C++ ABI mismatch, compiled with __GLIBCXX__ v20141219 running with v20120920
input_line_12:40:5: error: unknown type name 'Source_Type'
Source_Type GetSourceType() { return kONLINE; }
^
input_line_12:40:42: error: use of undeclared identifier 'kONLINE'
Source_Type GetSourceType() { return kONLINE; }
^
Error: /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/nov15p1_root6/bin/rootcint: compilation failure (/u/latar/r3broot_dev/build/r3bsource/G__R3BsourceDictd88747b94d_dictUmb rella.h)
make[2]: *** [r3bsource/G__R3BsourceDict.cxx] Error 1
make[1]: *** [r3bsource/CMakeFiles/R3Bsource.dir/all] Error 2
make: *** [all] Error 2

Then I tried:

rm CMakeCache.txt
cmake -DUSE_PATH_INFO=true -DUSE_DIFFERENT_COMPILER=TRUE ../R3BRoot --> was o.k.
make --> failed, the same error message

Do you know what is wrong?

Cheers,
Leila

[Updated on: Tue, 14 June 2016 19:48]

Report message to a moderator

Re: r3broot compilation failed [message #19329 is a reply to message #19328] Wed, 15 June 2016 06:59 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
Hello Leila,

it looks like you are compiling with older FairRoot version. You need v-15.11c. Please try following re-build:

relogin to the terminal
cd BUILD_DIRECTORY

make clean
rm CMakeCache.txt

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

export SIMPATH=/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/nov15p1_root6
export FAIRROOTPATH=/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairroot/v-15.11c_fairsoft -nov15p1_root6
cmake -DUSE_PATH_INFO=true ../R3BRoot
make

In case it fails, please post error message and complete output of the cmake command.

Best regards,
Dima
Re: r3broot compilation failed [message #19330 is a reply to message #19329] Wed, 15 June 2016 13:37 Go to previous messageGo to next message
Leyla Atar is currently offline  Leyla Atar
Messages: 5
Registered: April 2016
occasional visitor
From: *gsi.de
Hello Dima,

thanks for your reply. I rebuild the r3broot according to your reply and it worked.
But I would like to unpack the experimental data during the beam time which is running now.
Therefore I added the command line

export UCESB_DIR=/lynx/Lynx/land/usr/land/landexp/jun2016/unpacker

in addition to your instructions, after the command line

export FAIRROOTPATH=/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairroot/v-15.11c_fairsoft -nov15p1_root6

before cmake. I was able to compile the cmake but it failed during the make:

In file included from /u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:9:0:
/u/latar/r3broot_dev/R3BRoot/r3bsource/ext_h101_fi4.h:402:22: error: 'EXT_STR_h101' has no member named 'fiberfour9tME'
fiberfour9tME, UINT32,\
^
/u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:29:2: note: in expansion of macro 'EXT_STR_h101_FI4_ITEMS_INFO'
EXT_STR_h101_FI4_ITEMS_INFO(ok, *a_struct_info, EXT_STR_h101, 0);
^
In file included from /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairroot/v-15.11c_fairsoft-nov15p1_root 6/include/FairRootManager.h:20:0,
from /u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:4:
/u/latar/r3broot_dev/R3BRoot/r3bsource/ext_h101_fi4.h:405:22: error: 'EXT_STR_h101' has no member named 'fiberfour9t'
fiberfour9t, UINT32,\
^
/u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:29:2: note: in expansion of macro 'EXT_STR_h101_FI4_ITEMS_INFO'
EXT_STR_h101_FI4_ITEMS_INFO(ok, *a_struct_info, EXT_STR_h101, 0);
^
In file included from /u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:9:0:
/u/latar/r3broot_dev/R3BRoot/r3bsource/ext_h101_fi4.h:405:22: error: 'EXT_STR_h101' has no member named 'fiberfour9t'
fiberfour9t, UINT32,\
^
/u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:29:2: note: in expansion of macro 'EXT_STR_h101_FI4_ITEMS_INFO'
EXT_STR_h101_FI4_ITEMS_INFO(ok, *a_struct_info, EXT_STR_h101, 0);
^
In file included from /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairroot/v-15.11c_fairsoft-nov15p1_root 6/include/FairRootManager.h:20:0,
from /u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:4:
/u/latar/r3broot_dev/R3BRoot/r3bsource/ext_h101_fi4.h:405:22: error: 'EXT_STR_h101' has no member named 'fiberfour9t'
fiberfour9t, UINT32,\
^
/u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:29:2: note: in expansion of macro 'EXT_STR_h101_FI4_ITEMS_INFO'
EXT_STR_h101_FI4_ITEMS_INFO(ok, *a_struct_info, EXT_STR_h101, 0);
^
In file included from /u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:9:0:
/u/latar/r3broot_dev/R3BRoot/r3bsource/ext_h101_fi4.h:405:22: error: 'EXT_STR_h101' has no member named 'fiberfour9t'
fiberfour9t, UINT32,\
^
/u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:29:2: note: in expansion of macro 'EXT_STR_h101_FI4_ITEMS_INFO'
EXT_STR_h101_FI4_ITEMS_INFO(ok, *a_struct_info, EXT_STR_h101, 0);
^
In file included from /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairroot/v-15.11c_fairsoft-nov15p1_root 6/include/FairRootManager.h:20:0,
from /u/latar/r3broot_dev/R3BRoot/r3bsource/R3BFiberReader.cxx:4:
/u/latar/r3broot_dev/R3BRoot/r3bsource/ext_h101_fi4.h:408:22: error: 'EXT_STR_h101' has no member named 'fiberfour9tv'
fiberfour9tv, UINT32,\


I modified the scripts in /u/latar/r3broot_dev/R3BRoot/r3bsource according to the current experiment which was necessary.
These modifications i got from Ina Syndikus and r3broot works well in her case after an appropriate update.

Cheers,
Leila
Re: r3broot compilation failed [message #19331 is a reply to message #19330] Wed, 15 June 2016 15:01 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
Hi Leila,

I can only say that the central dev branch is working. It is difficult for me to tell you a solution, since I do not know what exactly you have modified in r3bsource directory.
How old is your git clone?

Can you please try to do following

cd R3BRoot
git checkout r3bsource/ext_h101_fi4.h

and then recompile by just typing make in the build directory.

Best regards,
Dima
Re: r3broot compilation failed [message #19332 is a reply to message #19330] Wed, 15 June 2016 15:06 Go to previous message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *dyn.telefonica.de
P.S.
In addition, if previous does not work, try also

git checkout r3bsource/ext_h101.h

and recompile.

Best regards,
Dima
Previous Topic: ucesb compilation problem
Next Topic: Compiling jul15 at gsi machines
Goto Forum:
  


Current Time: Fri Nov 29 14:33:06 CET 2024

Total time taken to generate the page: 0.00636 seconds