TroubleshootingΒΆ

I am doing cmake of PandaRoot and it tells me the compilers used for FairSoft installation is different.

  • If you believe the changes between the two compilers are minimal, then instead of cmake ../ use cmake -DUSE_DIFFERENT_COMPILER=TRUE ../

I have issues compiling the legacy VC packages (``external/vc``).

  • This happens e.g. on Apple computers and ARM machines. For MacOS this is taken care of automatically.

  • You may opt to disable VC by giving cmake the flag: cmake -DNOVC=1 ...

  • This will also disable the CAtracking and FtsCATracking, which depend on this legacy version of VC.

On OSX 10.12.3 it sometime happens that the proper clang compiler is not found.

  • In this case add -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang to the cmake statement

My reco/pid macros are printing a lot of ``* ERTRGO *``` messages

  • This is known and understood, it comes from non voxelized volumes inside the cryostat geometry. It does not affect the reconstruction.

When I try to run a simulation macro I get a lot of errors that root does not know about the Panda and Fair classes.

  • This means root cannot find the libraries & rootmaps in LD_LIBRARY_PATH. Check that you sourced the proper config.sh file.

When running on the Virgo Cluster at GSI in CentOS7 I get an error like this:

root.exe: /home/uhlig/software/fairsoft/nov20/build_centos7/Source/root/interpreter/llvm/src/tools/clang/include/clang/AST/Redeclarable.h:258: clang::Redeclarable<decl_type>::redecl_iterator& clang::Redeclarable<decl_type>::redecl_iterator::operator++() [with decl_type = clang::FunctionDecl]: Assertion `0 && "Passed first decl twice, invalid redecl chain!"' failed.

This behavior is not explained, yet. One culprit could be the access to the PrimaryGenerator. Try adding this include at the beginning of your macro:

#include <FairFilteredPrimaryGenerator.h>