Cannot compile Allen on first `make`
Hi, does anyone recognise this error when compiling for the first time, but which vanishes when I repeat the command? I do:
git clone ssh://git@gitlab.cern.ch:7999/lhcb/Allen.git
git submodule update --init --recursive
git checkout johndan-dielectron2
mkdir build; cd build
cmake -DSTANDALONE=ON -DTARGET_DEVICE=CUDA -DCUDA_ARCH=80 -DSEQUENCES=hlt1_pp_default -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang-12 -DUSE_ROOT=true ..
make -j 128
and I get:
[ 1%] Building CXX object zmq/CMakeFiles/AllenZMQ.dir/src/functions.cpp.o
[ 3%] Parsing Allen algorithms
[ 3%] Building CXX object zmq/CMakeFiles/AllenZMQ.dir/src/svc.cpp.o
[ 3%] Making symlink of sequence definitions and configuration utilities
[ 4%] Parsing Allen algorithms
[ 4%] Checking out configuration utilities from the LHCb stack
Error copying directory from "/home/djohnson/triglines/testrebase/Allen/configuration/parser" to "/home/djohnson/triglines/testrebase/Allen/build/code_generation/sequences/parser".
Cloning into 'LHCb'...
warning: templates not found in /build/jenkins/workspace/lcg_release_pipeline/install/git/2.29.2/x86_64-centos7-clang12-opt/share/git-core/templates
make[2]: *** [code_generation/parsed_algorithms.pickle] Error 1
make[1]: *** [stream/CMakeFiles/algorithm_db_generation.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 4%] Built target generate_conf_core
remote: Enumerating objects: 219133, done.
remote: Counting objects: 100% (4988/4988), done.
[ 4%] Linking CXX static library libAllenZMQ.a
[ 4%] Built target AllenZMQ
remote: Compressing objects: 100% (703/703), done.
[ 4%] Generating ../code_generation/sequences/include/StructToTuple.cuh
[ 4%] Built target struct_to_tuple_generation MiB | 8.91 MiB/s
remote: Total 219133 (delta 4682), reused 4311 (delta 4251), pack-reused 214145
Receiving objects: 100% (219133/219133), 91.03 MiB | 9.86 MiB/s, done.
Resolving deltas: 100% (151473/151473), done.
Cloning into 'Gaudi'...
warning: templates not found in /build/jenkins/workspace/lcg_release_pipeline/install/git/2.29.2/x86_64-centos7-clang12-opt/share/git-core/templates
remote: Enumerating objects: 77787, done.
remote: Counting objects: 100% (373/373), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 77787 (delta 324), reused 310 (delta 310), pack-reused 77414
Receiving objects: 100% (77787/77787), 24.26 MiB | 14.23 MiB/s, done.
Resolving deltas: 100% (56506/56506), done.
[ 4%] Built target checkout_gaudi_dirs
make: *** [all] Error 2