Segmentation fault ROOT 16.06.00 with icc 19

ROOT Version: 6.16.00
Platform: Scientific Linux 7.7
Compiler: icc (ICC) 20191121

Define Intel compiler

source /cvmfs/ intel64

I installed locally CMake 3.13.4, GSL 2.5, HepMC2.06.09, pythia6416, pythia8240.

Get source ROOT from github

git clone --depth=10 --branch v6-16-00 root-6.16.00

CMake command

CC=icc CXX=icpc FC=ifort cmake -DCMAKE_CXX_COMPILER=icpc -DCMAKE_C_COMPILER=icc -DCMAKE_Fortran_COMPILER=ifort -Dsoversion=ON -Dpython=OFF -Dxrootd=OFF -Dbuiltin_xrootd=ON -Droofit=ON -Dminuit2=ON  -Dgdml=ON -Dxml=ON -Dbuiltin-ftgl=ON -Dbuiltin-glew=ON -Dbuiltin-freetype=ON -Dasimage=ON -DPYTHIA6_DIR=$HOME/BUILD/fair_intel2020/root_test/pythia6/build -DPYTHIA8_DIR=$HOME/BUILD/fair_intel2020/root_test/pythia8240/build -Dglobus=OFF -Dreflex=OFF -Dcintex=OFF -Drpath=ON -Dmemstat=ON -Ddavix=OFF -Dvc=ON -Dhttp=ON -DGSL_DIR=$HOME/BUILD/fair_intel2020/root_test/gsl-2.5/build -DCMAKE_LINKER=icpc -Dgnuinstall=ON -DCMAKE_INSTALL_PREFIX=$PWD/../root-6.16.00_build -DCMAKE_BUILD_TYPE=Release -Dbuiltin_fftw3=ON -Dbuiltin_vc=ON ../root-6.16.00 &

And I get this error on make

[ 91%] Generating tutorials/hsimple.root
/bin/sh: line 1: 28248 Segmentation fault      (core dumped) LD_LIBRARY_PATH=/zfs/ ROOTIGNOREPREFIX=1 /zfs/ -l -q -b -n -x hsimple.C -e return
make[2]: *** [tutorials/hsimple.root] Error 139
make[1]: *** [CMakeFiles/hsimple.dir/all] Error 2
make: *** [all] Error 2

Thank you,

Hi Maxim,
I am not sure what the problem might be, but could you please try a more recent ROOT version (e.g. the v6-22-00-patches branch) and a build with debug symbols (CMAKE_BUILD_TYPE=RelWithDebInfo or Debug) so we can check the stacktrace that results from the segfault?


1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.