Open aseshkdatta opened 3 months ago
Hi Asesh,
The pybind11 issue was fixed in this version, so you do not need to ditch it anymore.
As for this other issue, it does seem related to building minuit2 in your system. Replace the make scanners
step of the build chain with make diver polychord multinest
. That way you avoid building minuit2 which is causing the problem.
Cheers, Tomas
Could you please observe?
Asesh
There is indeed a build error there, but it must have happened earlier because the last lines before it just show YODA building successfully. Can you look at the build output earlier and try to see if something failed before? Either an error message or something like that.
Kindly advise. Asesh
Hi,
I dropped the following options at the 'cmake' stage
HEPMC, YODA, RESTFRAMES, ROOT
and 'gambit' got built smoothly.
I am looking forward to use ColliderBit for which some of these are required, it seems.
Would you kindly look into the issue and let me know.
Cheers. Asesh
Uhm, it seems that the issue there is with great
. Do you need it? great
is just a scanner that uses root, but it seems that it hasn't been updated for some time and it clashes now with modern ISO standards. I'll report that to the Scanner working group so they can look into it. If you don't need great
then you should just ditch it during cmake with cmake -Ditch="great"
.
As you say both HepMC and YODA are needed for ColliderBit, and they should build fine without any changes. Restframes and Root are only required if you are planning to use any of the recasted analyses that use them, e.g. ATLAS_13TeV_RJ3L_2Lep2Jets_36invfb. But if you are not planning to use them, maybe do not include Restframes or Root, with the cmake flags -DWITH_RESTFRAMES=false
and -DWITH_ROOT=false
Thanks a lot, Tomas.
I have now ditched "great" and the build process completed smoothly. In fact, I am interested in the recast so kept all of HepMC, YODA, Restframes and Root included.
"./gambit backends" correctly shows the backend status (most of which are in red and are yet to be built).
However, when trying to check the backend requirements for "MSSM7.yaml" by executing
./gambit -bf yaml_files/MSSM7.yaml
asesh@test-pc:~/Packages/Gambit-BSM/gambit_2.5$ ./gambit -bf yaml_files/MSSM7.yaml
GAMBIT 2.5.0 http://gambitbsm.org
RestFrames v1.0.0 -- Developed by Christopher Rogan (crogan@cern.ch) Copyright (c) 2014-2018, Christopher Rogan http://RestFrames.com
HDF5 Version: 1.10.7
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Fortran: yes Fortran Compiler: /usr/bin/gfortran Fortran Flags: -g -O2 -ffile-prefix-map=$(top_srcdir)=. -flto=auto -ffat-lto-objects -fstack-protector-strong H5 Fortran Flags: -std=f2008 -Waliasing -Wall -Wcharacter-truncation -Wextra -Wimplicit-interface -Wsurprising -Wunderflow -pedantic -Warray-temporaries -Wintrinsics-std -Wimplicit-procedure -Wreal-q-constant -Wfunction-elimination -Wrealloc-lhs -Wrealloc-lhs-all -Wno-c-binding-type -Wuse-without-only -Winteger-division -Wfrontend-loop-interchange -s -O3 AM Fortran Flags: Shared Fortran Library: yes Static Fortran Library: yes
C++: yes
C++ Compiler: /usr/bin/g++
C++ Flags: -g -O2 -ffile-prefix-map=$(top_srcdir)=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security
H5 C++ Flags: -Wall -Wcast-qual -Wconversion -Wctor-dtor-privacy -Weffc++ -Wextra -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-include-dirs -Wno-format-nonliteral -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wreorder -Wshadow -Wsign-promo -Wundef -Wwrite-strings -pedantic -Wlarger-than=2560 -Wlogical-op -Wframe-larger-than=16384 -Wpacked-bitfield-compat -Wsync-nand -Wstrict-overflow=5 -Wno-unsuffixed-float-constants -Wdouble-promotion -Wtrampolines -Wstack-usage=8192 -Wmaybe-uninitialized -Wdate-time -Wopenmp-simd -Warray-bounds=2 -Wduplicated-cond -Whsa -Wnormalized -Wnull-dereference -Wunused-const-variable -Walloca -Walloc-zero -Wduplicated-branches -Wformat-overflow=2 -Wformat-truncation=1 -Wimplicit-fallthrough=5 -Wrestrict -Wattribute-alias -Wcast-align=strict -Wshift-overflow=2 -Wattribute-alias=2 -Wmissing-profile -fstdarg-opt -s -O3 -Wcast-align -Wmissing-declarations -Werror=packed -Werror=redundant-decls -Werror=switch -Wunused-but-set-variable -Werror=unused-function -Werror=unused-variable -Wunused-parameter -Werror=shadow
AM C++ Flags:
Shared C++ Library: yes
Static C++ Library: yes
Java: yes
Java Compiler: /usr/bin/java (openjdk 11.0.13 2021-10-19)
Parallel HDF5: no
Could you please observe/ Cheers, Asesh
Hi Tomas,
I've now sorted out the above issue (versions conflict between hdf5 and h5py) by reinstalling h5py. Once, that is done, gambit got smoothly built.
However, as soon as I am trying to run gambit with the test file "MSSM7.yaml", I'm facing issues that cause FATAL ERROR. The required backends for this test run got smoothly built though, except in a few cases (like DarkSUSY_MSSM), a more recent version (v6.4.0) is built instead of the most recent version (v6.2.5) shown by "/gambit -bf yaml_files/MSSM7.yaml". I am pasting its output below.
Could you please suggest a way out.
Cheers, Asesh
asesh@test-pc:~/Packages/Gambit-BSM/gambit_2.5$ ./gambit -bf yaml_files/MSSM7.yaml
GAMBIT 2.5.0 http://gambitbsm.org
RestFrames v1.0.0 -- Developed by Christopher Rogan (crogan@cern.ch) Copyright (c) 2014-2018, Christopher Rogan http://RestFrames.com
/home/asesh/.local/lib/python3.10/site-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero. setattr(self, word, getattr(machar, word).flat[0]) /home/asesh/.local/lib/python3.10/site-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero. return self._float_to_str(self.smallest_subnormal) /home/asesh/.local/lib/python3.10/site-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero. setattr(self, word, getattr(machar, word).flat[0]) /home/asesh/.local/lib/python3.10/site-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero. return self._float_to_str(self.smallest_subnormal)
Running with 32 OpenMP threads per MPI process (set by the environment variable OMP_NUM_THREADS). YAML file: yaml_files/MSSM7.yaml Importing: include/StandardModel_SLHA2_scan.yaml Initialising logger... log_debug_messages = true; log messages tagged as 'Debug' WILL be logged. WARNING: This may lead to very large log files! Rank 0 resume flag? 1 Rank 0: output file readable? 1(filename: runs/MSSM7//samples//MSSM7.hdf5) Resolving dependencies and backend requirements. Hang tight...
(HiggsSignals, 1.4)
(HiggsBounds, 4.2.1) (HiggsBounds, 4.3.1)
(HepLike, 2.0)
(gamLike, 1.0.0) (gamLike, 1.0.1)
(DDCalc, 2.0.0)
(DarkSUSY_MSSM, 6.4.0) (DarkSUSY_MSSM, 6.1.1) (DarkSUSY_MSSM, 6.2.5) (DarkSUSY_MSSM, 6.2.2)
(SuperIso, 4.1)
(gm2calc, 1.3.0)
(nulike, 1.0.8) (nulike, 1.0.4) (nulike, 1.0.7) (nulike, 1.0.6) (nulike, 1.0.5) (nulike, 1.0.9)
(SUSY_HIT, 1.5)
(Pythia, 8.212)
...done! The scan you are about to run uses backends. Please make sure to cite all of them in your work. You can find the list of references to include in GAMBIT.bib and an example TeX file in GAMBIT.tex
FATAL ERROR
GAMBIT has exited with fatal exception: GAMBIT error ERROR: A problem has been raised by the dependency resolver subsystem. The following rules and options are not used in the current scan:
Module rules:
capability: DDCalc_Couplings function: DDCalc_Couplings_WIMP_nucleon
Backend rules:
capability: DDCalc_Couplings function: DDCalc_Couplings_WIMP_nucleon
./gambit -rf yaml_files/MSSM7.yaml (Following a suggestion from gambit, I had to insert the line " delete_file_on_restart: true" under the "Printer" block in the "MSSM7.yaml" file to make gambit run! Don't think I had to do this manually for the earlier gambit versions!)
::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::: mZ: 91.1876 theta12: 0.58376 theta13: 0.15495 theta23: 0.76958 nuclear_params_sigmas_sigmal: deltad: -0.427 deltas: -0.085 deltau: 0.842 sigmal: 31.9403 sigmas: 47.8126 Likelihood contribution from DarkBit::lnL_sigmas_sigmal: -10.4875 Likelihood contribution from PrecisionBit::lnL_t_mass: -3.7347 Likelihood contribution from PrecisionBit::lnL_mbmb: 2.58762 Likelihood contribution from PrecisionBit::lnL_alpha_s: 5.05991 Likelihood contribution from DarkBit::lnL_rho0_lognormal: -0.0310245 Likelihood contribution from PrecisionBit::lnL_W_mass: -0.283052 Likelihood contribution from PrecisionBit::lnLgm2: 13.9472 �XY@V�XY@V: Unknown observable type: �XY@V Likelihood contribution from FlavBit::HEPLike_b2sgammaLogLikelihood: -244.942 �qd@V�qd@V: Unknown observable type: �qd@V Likelihood contribution from FlavBit::HEPLike_B2KstargammaLogLikelihood: -603.781 ��d@V��d@V: Unknown observable type: ��d@V d@V_d@V: Unknown observable type: d@V
FATAL ERROR
GAMBIT has exited with fatal exception: map::at Calling MPI_Finalize...
Hi Asesh,
I have only just been linked to this thread. Have you had any success since your last comment in June?
The dependency error about unused rules means that some of the rules in the yaml input are not actually used. In the past we have allowed these to stay in, but now we throw an error. Given that you also posted your next comment with a run having calculated, I assume you removed those unused rules from your input.
Regarding your last comment with the map::at error. This usually happens when there is a map somewhere and we are trying to access a non-existent key. I don't think I've ever seen the Unknown observable type error, with odd symbols. Could you look in your default log file (in your run/logs folder). I am guessing that something is messing up the name of an observable somewhere, and this might be stated in your log file as something like "Calling observable blah...", or "Printing blah".
Hi,
I am facing the following 'cmake' and 'make scanners' related issues while build gambit-2.5. Could you please have a look and let me know how to circumvent these issues.
Thanks. Asesh K Datta
======================================================================== On Ubuntu 22.04
cmake -DWITH_MPI=ON -DMPI_C_COMPILER=/home/asesh/Modules/Software/openmpi-4.1.6/install/bin/mpicc -DMPI_CXX_COMPILER=/home/asesh/Modules/Software/openmpi-4.1.6/install/bin/mpicxx -DMPI_Fortran_COMPILER=/home/asesh/Modules/Software/openmpi-4.1.6/install/bin/mpif90 -DWITH_AXEL=ON -DWITH_HEPMC=ON -DWITH_YODA=ON -DBUILD_FS_MODELS=MSSM -DWITH_RESTFRAMES=ON -DWITH_ROOT=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc ..
** (Note that I haven't ditched "pybind11" as has been suggested to me earlier for gambit-2.4. Should I continue to ditch it?)
The issues are as follows:
** No SQLite C libraries found. Excluding sqliteprinter and sqlitereader from GAMBIT configuration. Backends depending on SQLite3 (e.g. Contur) will be deactivated.
** ColliderBit Solo (CBS) will be activated. -- Performing Test CXX_SUPPORTS_no-unused-parameter -- Performing Test CXX_SUPPORTS_no-unused-parameter - Failed -- Performing Test CXX_SUPPORTS_no-deprecated-copy -- Performing Test CXX_SUPPORTS_no-deprecated-copy - Failed -- Performing Test CXX_SUPPORTS_no-sign-compare -- Performing Test CXX_SUPPORTS_no-sign-compare - Failed
** The versions of h5py (1.14.2) and hdf5 (1.10.7) do not match. Backends depending on h5py will be disabled
** X Excluding darksusy 5.1.3 from GAMBIT configuration. X Excluding darksusy 6.1.1 from GAMBIT configuration. X Excluding darksusy 6.2.2 from GAMBIT configuration. X Excluding darksusy_MSSM 6.2.5 from GAMBIT configuration. -- Performing Test CXX_SUPPORTS_no-format-overflow -- Performing Test CXX_SUPPORTS_no-format-overflow - Failed -- Performing Test CXX_SUPPORTS_no-format -- Performing Test CXX_SUPPORTS_no-format - Failed -- Performing Test CXX_SUPPORTS_no-implicit-function-declaration -- Performing Test CXX_SUPPORTS_no-implicit-function-declaration - Failed -- Performing Test CXX_SUPPORTS_no-type-limits -- Performing Test CXX_SUPPORTS_no-type-limits - Failed -- Performing Test CXX_SUPPORTS_no-maybe-uninitialized -- Performing Test CXX_SUPPORTS_no-maybe-uninitialized - Failed -- Performing Test CXX_SUPPORTS_no-unused-but-set-variable -- Performing Test CXX_SUPPORTS_no-unused-but-set-variable - Failed -- Performing Test CXX_SUPPORTS_no-extra -- Performing Test CXX_SUPPORTS_no-extra - Failed X Excluding feynhiggs 2.11.2 from GAMBIT configuration. X Excluding feynhiggs 2.11.3 from GAMBIT configuration. X Excluding feynhiggs 2.12.0 from GAMBIT configuration. -- Performing Test CXX_SUPPORTS_no-unused-local-typedefs -- Performing Test CXX_SUPPORTS_no-unused-local-typedefs - Failed -- Performing Test CXX_SUPPORTS_no-reorder -- Performing Test CXX_SUPPORTS_no-reorder - Failed -- Performing Test CXX_SUPPORTS_no-pessimizing-move -- Performing Test CXX_SUPPORTS_no-pessimizing-move - Failed -- Performing Test CXX_SUPPORTS_no-int-conversion -- Performing Test CXX_SUPPORTS_no-int-conversion - Failed -- Performing Test CXX_SUPPORTS_no-incompatible-pointer-types -- Performing Test CXX_SUPPORTS_no-incompatible-pointer-types - Failed -- Performing Test CXX_SUPPORTS_no-catch-value -- Performing Test CXX_SUPPORTS_no-catch-value - Failed -- Performing Test CXX_SUPPORTS_no-ignored-qualifiers -- Performing Test CXX_SUPPORTS_no-ignored-qualifiers - Failed -- Found Python module cython. Backends depending on Rivet's python extension will be enabled.
make -j24 scanners
~~~~~~ /home/asesh/Packages/Gambit-BSM/gambit_2.5/ScannerBit/installed/minuit2/6.23.01/inc/Minuit2/MPIProcess.h: In member function ‘void ROOT::Minuit2::MPIProcess::SumReduce(const double&, double&)’: /home/asesh/Packages/Gambit-BSM/gambit_2.5/ScannerBit/installed/minuit2/6.23.01/inc/Minuit2/MPIProcess.h:105:13: error: ‘fgCommunicator’ was not declared in this scope 105~~~~~ /home/asesh/Packages/Gambit-BSM/gambit_2.5/ScannerBit/installed/minuit2/6.23.01/inc/Minuit2/MPIProcess.h:105:53: error: ‘MPI’ has not been declared 105::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /home/asesh/Packages/Gambit-BSM/gambit_2.5/ScannerBit/installed/minuit2/6.23.01/inc/Minuit2/MPIProcess.h:105:13: error: ‘fgCommunicator’ was not declared in this scope 105 | fgCommunicator->Allreduce(&sub,&total,1,MPI::DOUBLE,MPI::SUM); | ^
~~~~~ /home/asesh/Packages/Gambit-BSM/gambit_2.5/ScannerBit/installed/minuit2/6.23.01/inc/Minuit2/MPIProcess.h:105:53: error: ‘MPI’ has not been declared 105 | fgCommunicator->Allreduce(&sub,&total,1,MPI::DOUBLE,MPI::SUM); | ^~~ /home/asesh/Packages/Gambit-BSM/gambit_2.5/ScannerBit/installed/minuit2/6.23.01/inc/Minuit2/MPIProcess.h:105:65: error: ‘MPI’ has not been declared 105 | fgCommunicator->Allreduce(&sub,&total,1,MPI::DOUBLE,MPI::SUM); | ^~~ make[6]: [src/CMakeFiles/Minuit2.dir/build.make:496: src/CMakeFiles/Minuit2.dir/MnHesse.cxx.o] Error 1 make[5]: [CMakeFiles/Makefile2:193: src/CMakeFiles/Minuit2.dir/all] Error 2 make[4]: [Makefile:166: all] Error 2 make[3]: [CMakeFiles/minuit2_6.23.01.dir/build.make:88: minuit2_6.23.01-prefix/src/minuit2_6.23.01-stamp/minuit2_6.23.01-build] Error 2 make[2]: [CMakeFiles/Makefile2:4273: CMakeFiles/minuit2_6.23.01.dir/all] Error 2 make[2]: Waiting for unfinished jobs....