conda-forge / root-feedstock

A conda-smithy repository for root.
BSD 3-Clause "New" or "Revised" License
28 stars 23 forks source link

Possible inconsistency with evtgen and pythia8 #231

Open wxie2013 opened 9 months ago

wxie2013 commented 9 months ago

Solution to issue cannot be found in the documentation.

Issue

There could be a potential inconsistency between the latest version of PYTHIA (8310), which is installed automatically when installing ROOT, and evtgen (2.2.0) . I installed the evtgen packages using the following command:

   conda install -c conda-forge evtgen

It installed evtgen2.2.0. When compiling the a user code, the following error comes up:

libEvtGenExternal.so: >>undefined reference to Pythia8::Rndm::rndmEnginePtr(Pythia8::RndmEngine*)' libEvtGenExternal.so: >>undefined reference toPythia8::Pythia::readString(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, bool)'

I then installed pythia8309 manually instead and the errors are gone, and the code compiled. However, there are the following memory issue when running the code:

corrupted size vs. prev_size

This error is from calling "evtgen = new EvtGenDecays(...)".

Is there a way to just install ROOT without install pythia8?

Note that the conda list is too long to submit the ticket. I posted a fraction of them. If necessary, I can send the entire list in different ways.

Thanks

Installed packages

# Name                    Version                   Build  Channel                                                                                                                          
_ipyw_jlab_nb_ext_conf    0.1.0            py39h06a4308_1                                                                                                                                   
_libgcc_mutex             0.1                        main                                                                                                                                   
_openmp_mutex             5.1                       1_gnu                                                                                                                                   
alabaster                 0.7.12             pyhd3eb1b0_0                                                                                                                                   
anaconda                  2022.10                  py39_0                                                                                                                                   
anaconda-client           1.11.0           py39h06a4308_0                                                                                                                                   
anaconda-navigator        2.3.1            py39h06a4308_0                                                                                                                                   
anaconda-project          0.11.1           py39h06a4308_0                                                                                                                                   
anyio                     3.5.0            py39h06a4308_0                                                                                                                                   
appdirs                   1.4.4              pyhd3eb1b0_0                                                                                                                                   
argon2-cffi               21.3.0             pyhd3eb1b0_0                                                                                                                                   
argon2-cffi-bindings      21.2.0           py39h7f8727e_0                                                                                                                                   
arrow                     1.2.2              pyhd3eb1b0_0                                                                                                                                   
astroid                   2.11.7           py39h06a4308_0                                                                                                                                   
astropy                   5.1              py39h7deecbd_0                                                                                                                                   
atomicwrites              1.4.0                      py_0                                                                                                                                   
attrs                     21.4.0             pyhd3eb1b0_0                                                                                                                                   
automat                   20.2.0                     py_0                                                                                                                                   
autopep8                  1.6.0              pyhd3eb1b0_1                                                                                                                                   
babel                     2.9.1              pyhd3eb1b0_0                                                                                                                                   
backcall                  0.2.0              pyhd3eb1b0_0                                                                                                                                   
backports                 1.1                pyhd3eb1b0_0                                                                                                                                   
backports.functools_lru_cache 1.6.4              pyhd3eb1b0_0                                                                                                                               
backports.tempfile        1.0                pyhd3eb1b0_1                                                                                                                                   
backports.weakref         1.0.post1                  py_1                                                                                                                                   
bcrypt                    3.2.0            py39h5eee18b_1                                                                                                                                   
beautifulsoup4            4.11.1           py39h06a4308_0                                                                                                                                   
binaryornot               0.4.4              pyhd3eb1b0_1                                                                                                                                   
bitarray                  2.5.1            py39h5eee18b_0                                                                                                                                   
bkcharts                  0.2              py39h06a4308_1                                                                                                                                   
black                     22.6.0           py39h06a4308_0                                                                                                                                   
blas                      1.0                         mkl                                                                                                                                   
bleach                    4.1.0              pyhd3eb1b0_0                                                                                                                                   
blosc                     1.21.0               h4ff587b_1                                                                                                                                   
bokeh                     2.4.3            py39h06a4308_0                                                                                                                                   
boto3                     1.24.28          py39h06a4308_0                                                                                                                                   
botocore                  1.27.28          py39h06a4308_0                                                                                                                                   
bottleneck                1.3.5            py39h7deecbd_0                                                                                                                                   
brotli                    1.0.9                h5eee18b_7                                                                                                                                   
brotli-bin                1.0.9                h5eee18b_7                                                                                                                                   
brotlipy                  0.7.0           py39h27cfd23_1003                                                                                                                                 
brunsli                   0.1                  h2531618_0                                                                                                                                   
bzip2                     1.0.8                h7b6447c_0                                                                                                                                   
c-ares                    1.18.1               h7f8727e_0                                                                                                                                   
ca-certificates           2022.07.19           h06a4308_0                                                                                                                                   
certifi                   2022.9.14        py39h06a4308_0                                                                                                                                   
cffi                      1.15.1           py39h74dc2b5_0                                                                                                                                   
cfitsio                   3.470                h5893167_7                                                                                                                                   
chardet                   4.0.0           py39h06a4308_1003                                                                                                                                 
charls                    2.2.0                h2531618_0                                                                                                                                   
charset-normalizer        2.0.4              pyhd3eb1b0_0                                                                                                                                   
click                     8.0.4            py39h06a4308_0                                                                                                                                   
cloudpickle               2.0.0              pyhd3eb1b0_0                                                                                                                                   
clyent                    1.2.2            py39h06a4308_1                                                                                                                                   
colorama                  0.4.5            py39h06a4308_0                                                                                                                                   
colorcet                  3.0.0            py39h06a4308_0                                                                                                                                   
conda                     22.9.0           py39h06a4308_0                                                                                                                                   
conda-build               3.22.0           py39h06a4308_0                                                                                                                                   
conda-content-trust       0.1.3            py39h06a4308_0                                                                                                                                   
conda-env                 2.6.0                         1                                                                                                                                   
conda-pack                0.6.0              pyhd3eb1b0_0                                                                                                                                   
conda-package-handling    1.9.0            py39h5eee18b_0                                                                                                                                   
conda-repo-cli            1.0.20           py39h06a4308_0                                                                                                                                   
conda-token               0.4.0              pyhd3eb1b0_0                                                                                                                                   
conda-verify              3.4.2                      py_1                                                                                                                                   
constantly                15.1.0             pyh2b92418_0                                                                                                                                   
cookiecutter              1.7.3              pyhd3eb1b0_0                                                                                                                                   
cryptography              37.0.1           py39h9ce1e76_0                                                                                                                                   
cssselect                 1.1.0              pyhd3eb1b0_0                                                                                                                                   
curl                      7.84.0               h5eee18b_0                                                                                                                                   
cycler                    0.11.0             pyhd3eb1b0_0                                                                                                                                   
cython                    0.29.32          py39h6a678d5_0                                                                                                                                   
cytoolz                   0.11.0           py39h27cfd23_0                                                                                                                                   
daal4py                   2021.6.0         py39h79cecc1_1                                                                                                                                   
dal                       2021.6.0           hdb19cb5_916                                                                                                                                   
dask                      2022.7.0         py39h06a4308_0                                                                                                                                   
dask-core                 2022.7.0         py39h06a4308_0                                                                                                                                   
dataclasses               0.8                pyh6d0b6a4_7                                                                                                                                   
datashader                0.14.1           py39h06a4308_0                                                                                                                                   
datashape                 0.5.4            py39h06a4308_1                                                                                                                                   
dbus                      1.13.18              hb2f20db_0                                                                                                                                   
debugpy                   1.5.1            py39h295c915_0                                                                                                                                   
decorator                 5.1.1              pyhd3eb1b0_0                                                                                                                                   
defusedxml                0.7.1              pyhd3eb1b0_0                                                                                                                                   
diff-match-patch          20200713           pyhd3eb1b0_0                                                                                                                                   
dill                      0.3.4              pyhd3eb1b0_0                                                                                                                                   
distributed               2022.7.0         py39h06a4308_0                                                                                                                                   
docutils                  0.18.1           py39h06a4308_3                                                                                                                                   
entrypoints               0.4              py39h06a4308_0                                                                                                                                   
et_xmlfile                1.1.0            py39h06a4308_0                                                                                                                                   
expat                     2.4.9                h6a678d5_0                                                                                                                                   
expat                     2.4.9                h6a678d5_0                                                                                                                                   
fftw                      3.3.9                h27cfd23_1                                                                                                                                   
filelock                  3.6.0              pyhd3eb1b0_0                                                                                                                                   
flake8                    4.0.1              pyhd3eb1b0_1                                                                                                                                   
flask                     1.1.2              pyhd3eb1b0_0                                                                                                                                   
fontconfig                2.13.1               h6c09931_0                                                                                                                                   
fonttools                 4.25.0             pyhd3eb1b0_0                                                                                                                                   
freetype                  2.11.0               h70c0345_0                                                                                                                                   
fsspec                    2022.7.1         py39h06a4308_0                                                                                                                                   
future                    0.18.2           py39h06a4308_1                                                                                                                                   
gensim                    4.1.2            py39h295c915_0                                                                                                                                   
giflib                    5.2.1                h7b6447c_0                                                                                                                                   
glib                      2.69.1               h4ff587b_1                                                                                                                                   
glob2                     0.7                pyhd3eb1b0_0                                                                                                                                   
gmp                       6.2.1                h295c915_3                                                                                                                                   
gmpy2                     2.1.2            py39heeb90bb_0                                                                                                                                   
greenlet                  1.1.1            py39h295c915_0                                                                                                                                   
gst-plugins-base          1.14.0               h8213a91_2                                                                                                                                   
gstreamer                 1.14.0               h28cd5cc_2                                                                                                                                   
h5py                      3.7.0            py39h737f45e_0                                                                                                                                   
hdf5                      1.10.6               h3ffc7dd_1                                                                                                                                   
heapdict                  1.0.1              pyhd3eb1b0_0                                                                                                                                   
holoviews                 1.15.0           py39h06a4308_0                                                                                                                                   
hvplot                    0.8.0            py39h06a4308_0                                                                                                                                   
hyperlink                 21.0.0             pyhd3eb1b0_0                                                                                                                                   
icu                       58.2                 he6710b0_3                                                                                                                                   
idna                      3.3                pyhd3eb1b0_0                                                                                                                                   
imagecodecs               2021.8.26        py39hf0132c2_1                                                                                                                                   
imageio                   2.19.3           py39h06a4308_0                                                                                                                                   
imagesize                 1.4.1            py39h06a4308_0                                                                                                                                   
importlib-metadata        4.11.3           py39h06a4308_0                                                                                                                                   
importlib_metadata        4.11.3               hd3eb1b0_0                                                                                                                                   
incremental               21.3.0             pyhd3eb1b0_0                                                                                                                                   
inflection                0.5.1            py39h06a4308_0                                                                                                                                   
iniconfig                 1.1.1              pyhd3eb1b0_0                                                                                                                                   
intake                    0.6.5              pyhd3eb1b0_0                                                                                                                                   
intel-openmp              2021.4.0          h06a4308_3561                                                                                                                                   
intervaltree              3.1.0              pyhd3eb1b0_0                                                                                                                                   
ipykernel                 6.15.2           py39h06a4308_0                                                                                                                                   
ipython                   7.31.1           py39h06a4308_1                                                                                                                                   
ipython_genutils          0.2.0              pyhd3eb1b0_1                                                                                                                                   
ipywidgets                7.6.5              pyhd3eb1b0_1                                                                                                                                   
isort                     5.9.3              pyhd3eb1b0_0                                                                                                                                   
itemadapter               0.3.0              pyhd3eb1b0_0                                                                                                                                   
itemloaders               1.0.4              pyhd3eb1b0_1                                                                                                                                   
itsdangerous              2.0.1              pyhd3eb1b0_0                                                                                                                                   
jdcal                     1.4.1              pyhd3eb1b0_0                                                                                                                                   
jedi                      0.18.1           py39h06a4308_1                                                                                                                                   
jeepney                   0.7.1              pyhd3eb1b0_0                                                                                                                                   
jellyfish                 0.9.0            py39h7f8727e_0                                                                                                                                   
jinja2                    2.11.3             pyhd3eb1b0_0                                                                                                                                   
jinja2-time               0.2.0              pyhd3eb1b0_3                                                                                                                                   
jmespath                  0.10.0             pyhd3eb1b0_0                                                                                                                                   
joblib                    1.1.0              pyhd3eb1b0_0                                                                                                                                   
jpeg                      9e                   h7f8727e_0                                                                                                                                   
jq                        1.6               h27cfd23_1000                                                                                                                                   
json5                     0.9.6              pyhd3eb1b0_0                                                                                                                                   
jsonschema                4.16.0           py39h06a4308_0                                                                                                                                   
jupyter                   1.0.0            py39h06a4308_8                                                                                                                                   
jupyter_client            7.3.4            py39h06a4308_0                                                                                                                                   
jupyter_console           6.4.3              pyhd3eb1b0_0                                                                                                                                   
jupyter_core              4.11.1           py39h06a4308_0                                                                                                                                   
jupyter_server            1.18.1           py39h06a4308_0                                                                                                                                   
jupyterlab                3.4.4            py39h06a4308_0                                                                                                                                   
jupyterlab_pygments       0.1.2                      py_0                                                                                                                                   
jupyterlab_server         2.10.3             pyhd3eb1b0_1                                                                                                                                   
jupyterlab_widgets        1.0.0              pyhd3eb1b0_1                                                                                                                                   
jxrlib                    1.1                  h7b6447c_2                                                                                                                                   
keyring                   23.4.0           py39h06a4308_0                                                                                                                                   
kiwisolver                1.4.2            py39h295c915_0                                                                                                                                   
krb5                      1.19.2               hac12032_0                                                                                                                                   
lazy-object-proxy         1.6.0            py39h27cfd23_0                                                                                                                                   
lcms2                     2.12                 h3be6417_0                                                                                                                                   
ld_impl_linux-64          2.38                 h1181459_1                                                                                                                                   
lerc                      3.0                  h295c915_0                                                                                                                                   
libaec                    1.0.4                he6710b0_1

Environment info

active environment : brian2
    active env location : /home/wxie/local_pkgs/anaconda3/envs/brian2
            shell level : 4
       user config file : /home/wxie/.condarc
 populated config files : 
          conda version : 23.5.0
    conda-build version : 3.25.0
         python version : 3.10.11.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.3=0
                          __glibc=2.35=0
                          __linux=5.15.133.1=0
                          __unix=0=0
       base environment : /home/wxie/local_pkgs/anaconda3  (writable)
      conda av data dir : /home/wxie/local_pkgs/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/wxie/local_pkgs/anaconda3/pkgs
                          /home/wxie/.conda/pkgs
       envs directories : /home/wxie/local_pkgs/anaconda3/envs
                          /home/wxie/.conda/envs
               platform : linux-64
             user-agent : conda/23.5.0 requests/2.29.0 CPython/3.10.11 Linux/5.15.133.1-microsoft-standard-WSL2 ubuntu/22.04.3 glibc/2.35
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False