GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » Problem in installation of jul14p3
Problem in installation of jul14p3 [message #17668] Thu, 18 December 2014 13:44 Go to next message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *to.infn.it
Hallo,
I tried installing on Ubuntu 14.10 (gcc 4.9.1) the externals jul14p3 but the installation ends with this error:

g++ -DVC_COMPILE_LIB -g -pipe -Wshadow -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -fabi-version=0 -Wno-unused-function -mavx -c -o math/vc/src/trigonometric__mavx.cpp.o /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/t rigonometric.cpp
In file included from include/Vc/avx/vector.h:23:0,
from include/Vc/vector.h:30,
from include/Vc/Vc:22,
from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/t rigonometric.cpp:20:
include/Vc/avx/intrinsics.h:478:0: warning: "_mm256_blend_epi16" redefined
# define _mm256_blend_epi16(a0, b0, m) \
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/immintrin.h:43:0,
from include/Vc/avx/intrinsics.h:30,
from include/Vc/avx/vector.h:23,
from include/Vc/vector.h:30,
from include/Vc/Vc:22,
from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/t rigonometric.cpp:20:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/avx2intrin.h:224:0: note: this is the location of the previous definition
#define _mm256_blend_epi16(X, Y, M) \
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/immintrin.h:43:0,
from include/Vc/avx/intrinsics.h:30,
from include/Vc/avx/vector.h:23,
from include/Vc/vector.h:30,
from include/Vc/Vc:22,
from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/t rigonometric.cpp:20:
include/Vc/avx/intrinsics.h:292:40: error: expected ')' before '__builtin_ia32_psrldqi256'
static Vc_INTRINSIC m256i Vc_CONST _mm256_srli_si256(param256i a0, const int i) {
^
In file included from include/Vc/avx/undomacros.h:26:0,
from include/Vc/avx/intrinsics.h:597,
from include/Vc/avx/vector.h:23,
from include/Vc/vector.h:30,
from include/Vc/Vc:22,
from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/t rigonometric.cpp:20:
include/Vc/avx/../common/undomacros.h:106:27: error: expected '}' before end of line
#pragma GCC diagnostic pop
^
include/Vc/avx/../common/undomacros.h:106:27: error: expected '}' before end of line
include/Vc/avx/../common/undomacros.h:106:27: error: expected '}' before end of line
include/Vc/avx/../common/undomacros.h:106:27: error: expected declaration before end of line
g++ -DVC_COMPILE_LIB -g -pipe -Wshadow -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -fabi-version=0 -Wno-unused-function -mavx -mxop -mfma4 -c -o math/vc/src/trigonometric__mavx__mxop__mfma4.cpp.o /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/t rigonometric.cpp
In file included from include/Vc/avx/vector.h:23:0,
from include/Vc/vector.h:30,
from include/Vc/Vc:22,
from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/t rigonometric.cpp:20:
include/Vc/avx/intrinsics.h:478:0: warning: "_mm256_blend_epi16" redefined
# define _mm256_blend_epi16(a0, b0, m) \
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/immintrin.h:43:0,
from include/Vc/avx/intrinsics.h:30,
from include/Vc/avx/vector.h:23,
from include/Vc/vector.h:30,
from include/Vc/Vc:22,
from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/t rigonometric.cpp:20:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/avx2intrin.h:224:0: note: this is the location of the previous definition
#define _mm256_blend_epi16(X, Y, M) \
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/immintrin.h:43:0,
from include/Vc/avx/intrinsics.h:30,
from include/Vc/avx/vector.h:23,
from include/Vc/vector.h:30,
from include/Vc/Vc:22,
from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/t rigonometric.cpp:20:
include/Vc/avx/intrinsics.h:292:40: error: expected ')' before '__builtin_ia32_psrldqi256'
static Vc_INTRINSIC m256i Vc_CONST _mm256_srli_si256(param256i a0, const int i) {
^
In file included from include/Vc/avx/undomacros.h:26:0,
from include/Vc/avx/intrinsics.h:597,
from include/Vc/avx/vector.h:23,
from include/Vc/vector.h:30,
from include/Vc/Vc:22,
from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/t rigonometric.cpp:20:
include/Vc/avx/../common/undomacros.h:106:27: error: expected '}' before end of line
#pragma GCC diagnostic pop
^
include/Vc/avx/../common/undomacros.h:106:27: error: expected '}' before end of line
include/Vc/avx/../common/undomacros.h:106:27: error: expected '}' before end of line
include/Vc/avx/../common/undomacros.h:106:27: error: expected declaration before end of line
g++ -DVC_COMPILE_LIB -g -pipe -Wshadow -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -fabi-version=0 -Wno-unused-function -mavx -c -o math/vc/src/avx_sorthelper.cpp.o /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/a vx_sorthelper.cpp
In file included from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/a vx_sorthelper.cpp:20:0:
include/Vc/avx/intrinsics.h:478:0: warning: "_mm256_blend_epi16" redefined
# define _mm256_blend_epi16(a0, b0, m) \
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.9/include/immintrin.h:43:0,
from include/Vc/avx/intrinsics.h:30,
from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/a vx_sorthelper.cpp:20:
/usr/lib/gcc/x86_64-linux-gnu/4.9/include/avx2intrin.h:224:0: note: this is the location of the previous definition
#define _mm256_blend_epi16(X, Y, M) \
^
include/Vc/avx/intrinsics.h:292:40: error: expected ')' before '__builtin_ia32_psrldqi256'
static Vc_INTRINSIC m256i Vc_CONST _mm256_srli_si256(param256i a0, const int i) {
^
In file included from include/Vc/avx/undomacros.h:26:0,
from include/Vc/avx/intrinsics.h:597,
from /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/src/a vx_sorthelper.cpp:20:
include/Vc/avx/../common/undomacros.h:106:27: error: expected '}' before end of line
#pragma GCC diagnostic pop
^
include/Vc/avx/../common/undomacros.h:106:27: error: expected '}' before end of line
include/Vc/avx/../common/undomacros.h:106:27: error: expected '}' before end of line
include/Vc/avx/../common/undomacros.h:106:27: error: expected declaration before end of line
/home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/tools/root/math/vc/Modul e.mk:55: recipe for target 'math/vc/src/avx_sorthelper.cpp.o' failed
make: *** [math/vc/src/avx_sorthelper.cpp.o] Error 1
**** Checking libraries in /home/lavezzi/fairsoft/jul14p3/fairsoft_jul14p3/externals/lib ****
*** ERROR: root could not be created.
*** End installation of external packages with Errors***

Any ideas?
Thank you in advance,
Lia.
Re: Problem in installation of jul14p3 [message #17669 is a reply to message #17668] Thu, 18 December 2014 14:13 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Hi Lia,

can you change

--enable-vc

to

--disable-vc

in tools/rootconfig.sh and run the configure script again.

I fear the vc package in ROOT is to old for the new compiler.

Ciao

Florian
[SOLVED] Re: Problem in installation of jul14p3 [message #17670 is a reply to message #17669] Thu, 18 December 2014 15:00 Go to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *to.infn.it
Thank you Florian!
It worked and the installation ended without errors.
Ciao,
Lia.
Previous Topic: Problem on installing external package on ubuntu 14.04
Next Topic: Problem in installation of jul14p3 on Yosemite
Goto Forum:
  


Current Time: Fri Mar 29 00:37:55 CET 2024

Total time taken to generate the page: 0.00875 seconds