GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Probems when installing PandaRoot
Probems when installing PandaRoot [message #25245] Wed, 28 October 2020 12:52 Go to next message
Hang Qi is currently offline  Hang Qi
Messages: 1
Registered: May 2020
occasional visitor
From: 210.45.72*
Hello everyone,

I tried to install PandaRoot(oct19) on a MacOS Catalina10.15.7 using the guide provided on the Wiki:
ROOT-6, FairSoft-jun19 and FairRoot-v18.2.0 are installed successfully (no error reported) although some output are not exactly same as that shown on the Wiki.
But I got some error when installing PandaRoot-oct19, following are the message I received:

------------------------------------------------------------------------ -------------------------------------------------------------
[xxxx] $ cmake ../source
-- FairMultiLinkedData has Print()
-- ROOT-Vc would be too new, compile the external legacy version.
error: could not lock config file .git/modules/external/vc/config: No such file or directory
warning: Could not unset core.worktree setting in submodule 'external/vc'
Cleared directory 'external/vc'
Submodule 'external/vc' ( registered for path 'external/vc'
Cloning into '/Users/lebron/Software/PANDA_Software/pandaroot/source/external/vc'...
Submodule path 'external/vc': checked out 'fbdcee6276a4864c1abd0c0cca3625c519c6a6d3'
-- starting genfit PANDAROOT
-- genfit for panda
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- <MVA_INFO> Building MVA with multiClass.
Found TEve, so the eventdisplay will be compiled.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/lebron/Software/PANDA_Software/pandaroot/build

[xxxx] $ make
In file included from /Users/lebron/Software/PANDA_Software/pandaroot/build/external/vc/src/vc -build/trigonometric_SSE4_1.cpp:20:
In file included from /Users/lebron/Software/PANDA_Software/pandaroot/source/external/vc/inclu de/Vc/Vc:22:
In file included from /Users/lebron/Software/PANDA_Software/pandaroot/source/external/vc/inclu de/Vc/vector.h:33:
In file included from /Users/lebron/Software/PANDA_Software/pandaroot/source/external/vc/sse/v ector.h:23:
/Users/lebron/Software/PANDA_Software/pandaroot/source/external/vc/sse/i ntrinsics.h:507:13: error: argument to '__builtin_ia32_vec_ext_v4sf' must be a constant integer
/Applications/ lchain/usr/lib/clang/12.0.0/include/smmintrin.h:876:11: note: expanded from macro '_MM_EXTRACT_FLOAT'
{ (D) = __builtin_ia32_vec_ext_v4sf((__v4sf)(__m128)(X), (int)(N)); }
^ ~~~~~~~~
1 error generated.
make[5]: *** [CMakeFiles/Vc.dir/trigonometric_SSE4_1.cpp.o] Error 1
make[4]: *** [CMakeFiles/Vc.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [external/vc/src/vc-stamp/vc-build] Error 2
make[1]: *** [external/CMakeFiles/vc.dir/all] Error 2
make: *** [all] Error 2

------------------------------------------------------------------------ -------------------------------------------------------------

did anybody meet this problem before? Look forward to your ideas.

Best Regards!

[Updated on: Wed, 28 October 2020 12:53]

Report message to a moderator

Re: Probems when installing PandaRoot [message #25390 is a reply to message #25245] Mon, 04 January 2021 16:58 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *
Dear Hang,

First off sorry for the late reply, I was off for a few months.
This issue is known and there is no way around it other than disabling 2 packages. Basically the old Vc package is not compatible with newer compilers, which affects also newer Ubuntu systems. You can either start working on the dev branch or disable manually in your pandaroot/CMakeLists.txt these lines:

add_subdirectory (tracking/catracking)
add_subdirectory (tracking/ftscatracking)

Previous Topic: Installing external packages failed
Next Topic: Problems with installation of new FairSoft
Goto Forum:

Current Time: Sun Dec 05 23:27:18 CET 2021

Total time taken to generate the page: 0.02016 seconds