Open hasandarwish opened 3 months ago
Hi Hasan,
which version of FairSoft do you try to install? Did you use the master branch or one of the tagged versions?
Ciao
Florian
Hi,
I tried: jan24, jan24_patches and nov22p1.
The three of them didn't work.
I am not sure how to try the master branch.
Did you install all the necessary dependencies? You can find scripts for various systems in the legacy folder, in your case the script is setup-ubuntu.sh.
Yes I did run this script and it worked properly.
Thanks for confirmation. I will try to try an installation on Ubuntu 20.04 myself to see if I can reproduce the problem.
Sorry but I didn't find the time to do the test yet.
Dear Florian,
Did you finally have time to check for this?
Hi @hasandarwish,
finally I managed to test the compilation myself. For me the compilation of FairSoft nov22p1 worked without any problems.
I started with a minimal ubuntu system (20.04.6 LTS (Focal Fossa)), cloned the FairSoft repository and did a checkout of the version nov22p1.
I used the script legacy/setup-ubuntu.sh
from the FairSoft source to install all dependencies.
Since the CMake version of the system is to old I installed a proper version using the bootstrap-cmake.sh
script.
Finally I generated the CMake configuration and build Fairsoft
cmake -S . -B build -DCMAKE_CXX_STANDARD=17
cmake --build build -j96
Is it possible that you remove all FairSoft installation from your machine and to start from scratch following the few steps I described in the issue?
Ciao
Florian
Hi Florian,
I tried exactly what you suggested and I got the following errors shown in the attached file: fairsoft_errors.txt
Regards,
Hasan
Hi @hasandarwish,
Please try with the nov22_patches branch which fixes the changed hepmc download URL. It is fixed in the branch but no new released was tagged yet. I fixed it manually in my version and forgot to mention it in the issue.
Ciao
Florian
but no new released was tagged yet.
Just landed: https://github.com/FairRootGroup/FairSoft/releases/tag/nov22p2
Hi Florian,
nov22_patches gave the same error, but I tried jan24_patches and it worked! I will continue with the FairRoot installation and see how it goes.
Thanks a lot!
Hasan
Hi again,
Please excuse me and bear with me.
I am trying now to install FairRoot.
While doing: cmake -DCMAKE_INSTALL_PREFIX="/home/hdarwish/Softwares/FairRoot/install" ..
I am getting the following on the terminal:
hdarwish@l5420:~/Softwares/FairRoot/build$ cmake -DCMAKE_INSTALL_PREFIX="/home/hdarwish/Softwares/FairRoot/install" ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--- Found a Linux system
--- Found GNU compiler collection
-- Looking for IWYU... - Not found
CMake Error at /opt/cmake-3.29.3-linux-x86_64/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR filesystem serialization
program_options container date_time regex) (Required is at least version
"1.67")
Call Stack (most recent call first):
/opt/cmake-3.29.3-linux-x86_64/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/opt/cmake-3.29.3-linux-x86_64/share/cmake-3.29/Modules/FindBoost.cmake:2393 (find_package_handle_standard_args)
/usr/local/share/faircmakemodules/modules/FairFindPackage2.cmake:214 (find_package)
CMakeLists.txt:233 (find_package2)
-- Configuring incomplete, errors occurred!
Can you please help me?
Hasan
Did the FairSoft compilation finish without errors?
Did you do
export SIMPATH=\<your FairSoft installation>
Yes, FairSoft compiled successfully without errors, as I said in the second previous message (with jan24_patches).
But FairRoot gave the errors shown in the previous message.
Hi Florian,
Can you please give me some time and have a look on what I am getting? I successfully installed FairSoft and I am trying now to install FairRoot. While doing: cmake -DCMAKE_INSTALL_PREFIX="$SIMPATH" -DBoost_INCLUDE_DIR=/usr/include/ ..
I am getting the following on the terminal: `hdarwish@l5420:~/Softwares/FairRoot/build$ cmake -DCMAKE_INSTALL_PREFIX="$SIMPATH" -DBoost_INCLUDE_DIR=/usr/include/ .. -- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done --- Found a Linux system --- Found GNU compiler collection -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE CMake Error at /opt/cmake-3.29.3-linux-x86_64/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Boost (missing: filesystem serialization program_options container date_time regex) (found suitable version "1.71.0", minimum required is "1.67") Call Stack (most recent call first): /opt/cmake-3.29.3-linux-x86_64/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) /opt/cmake-3.29.3-linux-x86_64/share/cmake-3.29/Modules/FindBoost.cmake:2393 (find_package_handle_standard_args) /usr/local/share/faircmakemodules/modules/FairFindPackage2.cmake:214 (find_package) CMakeLists.txt:236 (find_package2)
-- Configuring incomplete, errors occurred! `
Thank you for your time. Best regards,
Hasan
Dear experts,
Please bear with me as I am a complete beginner.
I am having an issue installing FairSoft (Legacy) on Ubuntu 20.04.6 LTS. I think that I followed the instructions step by step and I installed the required packages. But I am getting an error in the step cmake --build [-j]
The output in the terminal is in the file: log_fairsoft_cmake_build.log
The mentioned file name with "see also" is here: root-build.log
I tried the solution suggested in https://github.com/FairRootGroup/FairSoft/issues/538 But I got the same errors as well as an additional error shown here: error_after_solution.txt
Thank you for your help!