Dear Experts,
I have installed o2. I want to rebuild according to the o2 installation page for ALICE. However, the rebuild for a directory using ninja is not working.
Kindly help me out.
Regards,
Shreyasi
[acharya@clralicesrv01 acharya]$ cd aliceo2/
[acharya@clralicesrv01 aliceo2]$ alienv enter O2Physics/latest ninja/latest
ninja/ not found
[acharya@clralicesrv01 aliceo2]$ alienv enter O2Physics/latest ninja/latest
Currently Loaded Modulefiles:
- BASE/1.0 26) ROOT/v6-24-06-1 51) FairRoot/v18.4.2-1
- GCC-Toolchain/v10.2.0-alice2-1 27) MCStepLogger/v0.4.0-1 52) Vc/1.4.1-1
- libuv/v1.40.0-1 28) curl/7.70.0-1 53) HepMC3/3.2.2-1
- DebugGUI/v0.6.2-1 29) Ppconsul/v0.2.2-1 54) libInfoLogger/v2.4.1-1
- utf8proc/v2.6.1-1 30) Configuration/v2.6.3-1 55) Monitoring/v3.10.1-1
- protobuf/v3.15.8-1 31) json-c/v0.13.1-1 56) Common-O2/v1.6.0-1
- Clang/v13.0.0-1 32) pythia6/428-alice2-1 57) ms_gsl/3.1.0-1
- libtirpc/libtirpc-1-1-4-1 33) GEANT4/v10.7.2-1 58) xjalienfs/1.3.7-1
- AliEn-CAs/v1-1 34) vgm/v4-9-1 59) JAliEn-ROOT/0.6.6-1
- ApMon-CPP/v2.2.8-alice5-1 35) GEANT4_VMC/v5-3-1 60) cgal/4.12.2-1
- AliEn-Runtime/v2-19-le-1 36) GEANT3/v3-7-1 61) fastjet/v3.3.3_1.042-alice1-1
- libffi/v3.2.1-1 37) simulation/v1.0-1 62) libjalienO2/0.1.3-1
- Python/v3.6.10-1 38) ofi/v1.7.1-1 63) KFParticle/v1.1-4-1
- Python-modules/1.0-1 39) lhapdf/v6.2.1-alice2-1 64) FFTW3/v3.3.9-1
- ninja/fortran-v1.8.2.g3b-1 40) pythia/v8304-1 65) O2/nightly-20220105-1
- lz4/v1.9.3-1 41) generators/v1.0-1 66) capstone/4.0.2-1
- Python-modules-list/1.0-1 42) fmt/8.0.1-1 67) libwebsockets/v3.0.1-1
- boost/v1.75.0-1 43) FairCMakeModules/v0.2.0-1 68) GMP/v6.2.1-1
- arrow/v5.0.0-alice3-1 44) CMake/v3.19.2-1 69) googlebenchmark/1.3.0-1
- re2/2019-09-01-1 45) asio/v1.19.1-1 70) ONNXRuntime/v1.7.2-alice1-1
- GSL/v1.16-1 46) asiofi/v0.5.1-1 71) VecGeom/89a05d148cc708d4efc2e7b0eb6e2118d2610057-1
- flatbuffers/v1.12.0-1 47) FairLogger/v1.10.4-1 72) MPFR/v3.1.3-1
- XRootD/v5.3.3-1 48) ZeroMQ/v4.3.3-1 73) Alice-GRID-Utils/0.0.7-1
- RapidJSON/v1.1.0-alice2-1 49) DDS/3.5.21-1 74) O2Physics/latest
- double-conversion/v3.1.5-1 50) FairMQ/v1.4.43-1 75) ninja/latest
Use alienv list to list loaded modules. Use exit to exit this environment.
cd sw/BUILD/O2Physics-latest/O2Physics/
ninja install PWGCF/Tasks/all
[0/1] Re-running CMake…
/bin/sh: /dalice01/acharya/sw/slc7_x86-64/CMake/v3.19.2-1/bin/cmake: No such file or directory
FAILED: build.ninja
/dalice01/acharya/sw/slc7_x86-64/CMake/v3.19.2-1/bin/cmake --regenerate-during-build -S/dalice01/acharya/sw/SOURCES/O2Physics/master/0 -B/dalice01/acharya/sw/BUILD/5a212de07bd408fe2fe6a2b892199a4d465e98c8/O2Physics
ninja: error: rebuilding ‘build.ninja’: subcommand failedls
ALICE3 CMakeCache.txt cmake_install.cmake compile_commands.json etc install_manifest.txt PWGDQ PWGHF PWGLF PWGUD stage
build.ninja CMakeFiles Common DPG EventFiltering PWGCF PWGEM PWGJE PWGMM rootcling_wrapper.sh Tutorials