| 
		
			| Probems when installing PandaRoot [message #25245] | Wed, 28 October 2020 12:52  |  
			| 
				
				
					|  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' (https://github.com/VcDevel/Vc.git) registered for path 'external/vc'
 Cloning into '/Users/lebron/Software/PANDA_Software/pandaroot/source/external/vc'...
 Submodule path 'external/vc': checked out 'fbdcee6276a4864c1abd0c0cca3625c519c6a6d3'
 Using PHOTOS.
 -- starting genfit PANDAROOT
 -- genfit for panda
 CUDA_TOOLKIT_ROOT_DIR not found or specified
 -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
 -- <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
 _MM_EXTRACT_FLOAT(f, v, i);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoo 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!
 Hang
 
 [Updated on: Wed, 28 October 2020 12:53] Report message to a moderator |  
	|  |  |