Home | News | Documentation | Download

Segmentation fault ROOT 16.06.00 with icc 19

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

Define Intel compiler

source /cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/bin/compilervars.sh 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 https://github.com/root-project/root 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/hybrilit.jinr.ru/user/z/zuev/BUILD/fair_intel2020/root_test/root-6.16.00_work/lib:/zfs/hybrilit.jinr.ru/user/z/zuev/BUILD/fair_intel2020/root_test/vc/build/lib:/zfs/hybrilit.jinr.ru/user/z/zuev/BUILD/fair_intel2020/root_test/pythia8240/build/lib:/zfs/hybrilit.jinr.ru/user/z/zuev/BUILD/fair_intel2020/root_test/pythia6/build/lib:/zfs/hybrilit.jinr.ru/user/z/zuev/BUILD/fair_intel2020/root_test/hepmc2.06.09_build/lib:/zfs/hybrilit.jinr.ru/user/z/zuev/BUILD/fair_intel2020/root_test/gsl-2.5/build/lib:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/compiler/lib/intel64_lin:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/mpi/intel64/libfabric/lib:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/mpi/intel64/lib/release:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/mpi/intel64/lib:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/ipp/lib/intel64:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/compiler/lib/intel64_lin:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/mkl/lib/intel64_lin:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/tbb/lib/intel64/gcc4.8:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/tbb/lib/intel64/gcc4.8:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/debugger_2020/python/intel64/lib:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/debugger_2020/libipt/intel64/lib:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/daal/lib/intel64_lin:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/daal/../tbb/lib/intel64_lin/gcc4.4:/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/intel/v2020_x64/compilers_and_libraries_2020.0.166/linux/daal/../tbb/lib/intel64_lin/gcc4.8 ROOTIGNOREPREFIX=1 /zfs/hybrilit.jinr.ru/user/z/zuev/BUILD/fair_intel2020/root_test/root-6.16.00_work/bin/root.exe -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,
Maxim

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?

Cheers,
Enrico

1 Like

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