Fairsoft_mar15 on OSX 10.11.4 issues [message #19221] |
Thu, 14 April 2016 17:51 |
Walter Ikegami Andersson
Messages: 19 Registered: November 2014
|
occasional visitor |
From: *eduroam.uu.se
|
|
Hello,
I'm currently trying to install the external packages mar15 for running pandaroot. I've run into a problem when trying to install fairsoft_mar15p3 on a new Mac computer.
I'm running Mac OS X 10.11.4
and Xcode version 7.3 (7D175)
I installed the prerequisites according to the fairroot page;
https://fairroot.gsi.de/?q=node/106
which went fine.
These are the settings I'm using:
compiler=Clang
debug=no
optimize=no
geant4_download_install_data_automatic=yes
geant4_install_data_from_dir=no
build_python=no
install_sim=yes
SIMPATH_INSTALL=/Users/walan603/fairsoft_mar15/buildFairSoft
platform=macosx
The following errors appear during the root installation:
In file included from /Users/walan603/fairsoft_mar15/tools/root/math/vc/src/trigonometric.cpp:20:
In file included from include/Vc/Vc:22:
In file included from include/Vc/vector.h:33:
In file included from include/Vc/sse/vector.h:23:
include/Vc/sse/intrinsics.h:309:17: error: use of undeclared identifier
'__builtin_ia32_psrldqi128'
c = _mm_srli_si128(_mm_setallone_si128(), 12);
^
include/Vc/sse/../common/fix_clang_emmintrin.h:40:12: note: expanded from macro
'_mm_srli_si128'
(__m128i)__builtin_ia32_psrldqi128((__m128i)(a), (count)*8); })
In file included from /Users/walan603/fairsoft_mar15/tools/root/math/vc/src/trigonometric.cpp:20:
In file included from include/Vc/Vc:22:
In file included from include/Vc/vector.h:33:
In file included from include/Vc/sse/vector.h:23:
include/Vc/sse/intrinsics.h:312:17: error: C-style cast from 'void' to '__m128i'
(vector of 2 'long long' values) is not allowed
c = _mm_slli_si128(_mm_srli_si128(_mm_setallone_si128(), 12), 4);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/Vc/sse/../common/fix_clang_emmintrin.h:34:38: note: expanded from macro
'_mm_slli_si128'
(__m128i)__builtin_ia32_pslldqi128((__m128i)(a), (count)*8); })
and it aborts after awhile.
How do I solve this? I also tried fairsoft mar15p6 and got the same result.
Best regards,
Walter
|
|
|
|
|
|
Re: Fairsoft_mar15 on OSX 10.11.4 issues [message #19274 is a reply to message #19229] |
Tue, 24 May 2016 17:07 |
Walter Ikegami Andersson
Messages: 19 Registered: November 2014
|
occasional visitor |
From: *eduroam.uu.se
|
|
Hello Mohammad,
changing to ROOT6, along with you proposed fix solved the problem.
I successfully installed fairsoft_nov15p5 on my computer.
Now, I run into problems when installing FairRoot 15.11b. First, I get this error when calling CMake:
-- The compiler during the compilation of FairSoft is different from the current one.
CMake Error at cmake/modules/CheckCompiler.cmake:64 (Message):
This is seen as an error. If you know that the setting is correct you can
silence the error by using the CMake flag -DUSE_DIFFERENT_COMPILER=TRUE
Call Stack (most recent call first):
CMakeLists.txt:55 (Check_Compiler)
-- Configuring incomplete, errors occurred!
When I use the suggested CMake flag, the configuration completes. However, when compiling FairRoot with make, I get this error:
[ 30%] Built target Base
[ 30%] Linking CXX shared library ../../lib/libfairmq_logger.dylib
ld: file not found: @rpath/libboost_chrono.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libfairmq_logger.15.11.0.dylib] Error 1
make[1]: *** [fairmq/logger/CMakeFiles/fairmq_logger.dir/all] Error 2
make: *** [all] Error 2
Is there a quick fix to this problem? I'll also post it on the FairRoot forum.
Thank you in advance,
Walter
|
|
|
|
|
|
Re: Fairsoft_mar15 on OSX 10.11.4 issues [message #19290 is a reply to message #19280] |
Wed, 25 May 2016 17:50 |
Walter Ikegami Andersson
Messages: 19 Registered: November 2014
|
occasional visitor |
From: *eduroam.uu.se
|
|
Thank you for the input!
Using FairRoot v-15.11c solved the problem. FairSoft nov15p5 and FairRoot v15.11 is now running on my system.
I've now stumbled upon some problems when trying to compile PandaRoot. This, however, I will post on the panda root forum.
Best regards,
Walter
|
|
|