fermi-lat / Likelihood

BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

When I try to run gttsmap or gtlike, it says a lib file is missing #108

Closed ethanka0 closed 3 years ago

ethanka0 commented 3 years ago

When i try to run gttsmap and gtlike, the following error message is always displayed: gttsmap: error while loading shared libraries: libMinuit2.so.6.ss: cannot open shared object file: No such file or directory

Fermitools version: 2.0.8 Fermitools-data version: 0.18 uname-a output: Linux optiplex-990 5.8.0-55-generic #62~20.04.1-Ubuntu SMP Wed Jun 2 08:55:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Areustle commented 3 years ago

Hello, please copy and paste here the result of the following command conda list -n fermi where fermi is the name of the conda environment where you installed the Fermitools. When did you install the tools and have you installed anything else into that environment recently that would have caused a change in the dependency layout?

ethanka0 commented 3 years ago

The result when I run conda list -n fermi is:

packages in environment at /home/leo/anaconda3/envs/fermi:

#

Name Version Build Channel

_libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 1_llvm conda-forge afterimage 1.21 ha9998ff_1003 conda-forge alsa-lib 1.2.3 h516909a_0 conda-forge ape 3.0.0 h14c3975_1 fermi aplpy 2.0.3 py_1 conda-forge appdirs 1.4.4 pyh9f0ad1d_0 conda-forge argon2-cffi 20.1.0 py37h5e8e339_2 conda-forge astropy 3.2.3 py37h516909a_0 conda-forge astropy-healpix 0.5 py37ha21ca33_1 conda-forge async_generator 1.10 py_0 conda-forge atk-1.0 2.36.0 h3371d22_4 conda-forge attrs 21.2.0 pyhd8ed1ab_0 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 py_2 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge binutils 2.35.1 hdd6e379_2 conda-forge binutils_impl_linux-64 2.35.1 h193b22a_2 conda-forge binutils_linux-64 2.35 h67ddf6f_30 conda-forge black 21.5b2 pyhd8ed1ab_0 conda-forge blas 2.109 openblas conda-forge blas-devel 3.9.0 9_openblas conda-forge bleach 3.3.0 pyh44b312d_0 conda-forge blosc 1.21.0 h9c3ff4c_0 conda-forge brotli 1.0.9 h9c3ff4c_4 conda-forge brunsli 0.1 h9c3ff4c_0 conda-forge bzip2 1.0.8 h7f98852_4 conda-forge c-ares 1.17.1 h7f98852_1 conda-forge c-compiler 1.1.3 h7f98852_0 conda-forge ca-certificates 2021.5.25 h06a4308_1 cairo 1.16.0 h6cf1ce9_1008 conda-forge certifi 2021.5.30 py37h06a4308_0 cffi 1.14.5 py37hc58025e_0 conda-forge cfitsio 3.470 hb418390_7 conda-forge charls 2.2.0 h9c3ff4c_0 conda-forge clhep 2.4.4.2 h9c3ff4c_0 conda-forge click 8.0.1 py37h89c1867_0 conda-forge cloudpickle 1.6.0 py_0 conda-forge compilers 1.1.3 ha770c72_0 conda-forge coverage 5.5 py37h5e8e339_0 conda-forge cppunit 1.15.1 h9c3ff4c_0 conda-forge cxx-compiler 1.1.3 h4bd325d_0 conda-forge cycler 0.10.0 py_2 conda-forge cytoolz 0.11.0 py37h5e8e339_3 conda-forge dask-core 2021.6.0 pyhd8ed1ab_0 conda-forge dataclasses 0.8 pyhc8e2a94_1 conda-forge davix 0.7.6 hb44b51d_0 conda-forge dbus 1.13.6 h48d8840_2 conda-forge decorator 4.4.2 py_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge entrypoints 0.3 pyhd8ed1ab_1003 conda-forge expat 2.4.1 h9c3ff4c_0 conda-forge f2c 0.0.2 h14c3975_0 fermi fermipy 1.0.1+5.g5a57 dev_0 fermitools 2.0.8 h3fd9d12_0 fermi fermitools-data 0.18 0 fermi fermitools-dependencies 2.0.8 0 fermi fftw 3.3.9 nompi_h74d3f13_101 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 hab24e00_0 conda-forge fontconfig 2.13.1 hba837de_1005 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fortran-compiler 1.1.3 h1990efc_0 conda-forge freetype 2.10.4 h0708190_1 conda-forge fribidi 1.0.10 h36c2ea0_0 conda-forge fsspec 2021.6.0 pyhd8ed1ab_0 conda-forge ftgl 2.4.0 hbcb1f35_0 conda-forge gcc_impl_linux-64 9.3.0 h70c0ae5_19 conda-forge gcc_linux-64 9.3.0 hf25ea35_30 conda-forge gdk-pixbuf 2.42.6 h04a7f16_0 conda-forge geos 3.9.1 h9c3ff4c_2 conda-forge gettext 0.19.8.1 h0b5b191_1005 conda-forge gfortran_impl_linux-64 9.3.0 hc4a2995_19 conda-forge gfortran_linux-64 9.3.0 hdc58fab_30 conda-forge giflib 5.2.1 h36c2ea0_2 conda-forge gl2ps 1.4.2 h0708190_0 conda-forge glew 2.1.0 h9c3ff4c_2 conda-forge glib 2.68.3 h9c3ff4c_0 conda-forge glib-tools 2.68.3 h9c3ff4c_0 conda-forge graphite2 1.3.13 h58526e2_1001 conda-forge graphviz 2.47.2 h85b4f2f_0 conda-forge gsl 2.6 he838d99_2 conda-forge gst-plugins-base 1.18.4 hf529b03_2 conda-forge gstreamer 1.18.4 h76c114f_2 conda-forge gtk2 2.24.33 h539f30e_1 conda-forge gts 0.7.6 h64030ff_2 conda-forge gxx_impl_linux-64 9.3.0 hd87eabc_19 conda-forge gxx_linux-64 9.3.0 h3fbe746_30 conda-forge harfbuzz 2.8.1 h83ec7ef_0 conda-forge healpix_cxx 3.31 h673b59b_1003 conda-forge healpy 1.14.0 pypi_0 pypi hypothesis 6.14.0 pyhd8ed1ab_0 conda-forge icu 68.1 h58526e2_0 conda-forge imagecodecs 2021.3.31 py37haf4b6ec_0 conda-forge imageio 2.9.0 py_0 conda-forge importlib-metadata 4.5.0 py37h89c1867_0 conda-forge importlib_metadata 4.5.0 hd8ed1ab_0 conda-forge iniconfig 1.1.1 pyh9f0ad1d_0 conda-forge ipykernel 5.5.5 py37h085eea5_0 conda-forge ipyparallel 6.3.0 py37h89c1867_2 conda-forge ipython 7.24.1 py37h085eea5_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge jedi 0.18.0 py37h89c1867_2 conda-forge jinja2 3.0.1 pyhd8ed1ab_0 conda-forge jpeg 9d h36c2ea0_0 conda-forge jsonschema 3.2.0 pyhd8ed1ab_3 conda-forge jupyter_client 6.1.12 pyhd8ed1ab_0 conda-forge jupyter_core 4.7.1 py37h89c1867_0 conda-forge jupyterlab_pygments 0.1.2 pyh9f0ad1d_0 conda-forge jxrlib 1.1 h7f98852_2 conda-forge kernel-headers_linux-64 2.6.32 h77966d4_13 conda-forge kiwisolver 1.3.1 py37h2527ec5_1 conda-forge krb5 1.19.1 hcc1bbae_0 conda-forge lcms2 2.12 hddcbb42_0 conda-forge ld_impl_linux-64 2.35.1 hea4e1c9_2 conda-forge lerc 2.2.1 h9c3ff4c_0 conda-forge libaec 1.0.4 h9c3ff4c_1 conda-forge libblas 3.9.0 9_openblas conda-forge libcblas 3.9.0 9_openblas conda-forge libclang 11.1.0 default_ha53f305_1 conda-forge libcurl 7.77.0 h2574ce0_0 conda-forge libcxx 11.1.0 h4bd325d_0 conda-forge libcxxabi 11.1.0 ha770c72_0 conda-forge libdeflate 1.7 h7f98852_5 conda-forge libedit 3.1.20191231 he28a2e2_2 conda-forge libev 4.33 h516909a_1 conda-forge libevent 2.1.10 hcdb4288_3 conda-forge libffi 3.3 h58526e2_2 conda-forge libgcc-devel_linux-64 9.3.0 h7864c58_19 conda-forge libgcc-ng 9.3.0 h2828fa1_19 conda-forge libgd 2.3.2 h78a0170_0 conda-forge libgfortran 3.0.0 1 conda-forge libgfortran-ng 9.3.0 hff62375_19 conda-forge libgfortran5 9.3.0 hff62375_19 conda-forge libglib 2.68.3 h3e27bee_0 conda-forge libglu 9.0.0 he1b5a44_1001 conda-forge libgomp 9.3.0 h2828fa1_19 conda-forge libiconv 1.16 h516909a_0 conda-forge liblapack 3.9.0 9_openblas conda-forge liblapacke 3.9.0 9_openblas conda-forge libllvm10 10.0.1 he513fc3_3 conda-forge libllvm11 11.1.0 hf817b99_2 conda-forge libnghttp2 1.43.0 h812cca2_0 conda-forge libogg 1.3.4 h7f98852_1 conda-forge libopenblas 0.3.15 pthreads_h8fe5266_1 conda-forge libopus 1.3.1 h7f98852_1 conda-forge libpng 1.6.37 h21135ba_2 conda-forge libpq 13.3 hd57d9b9_0 conda-forge librsvg 2.50.7 hc3c00ef_0 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libssh2 1.9.0 ha56f1ee_6 conda-forge libstdcxx-devel_linux-64 9.3.0 hb016644_19 conda-forge libstdcxx-ng 9.3.0 h6de172a_19 conda-forge libtiff 4.2.0 hbd63e13_2 conda-forge libtool 2.4.6 h58526e2_1007 conda-forge libuuid 2.32.1 h7f98852_1000 conda-forge libvorbis 1.3.7 h9c3ff4c_0 conda-forge libwebp 1.2.0 h3452ae3_0 conda-forge libwebp-base 1.2.0 h7f98852_2 conda-forge libxcb 1.13 h7f98852_1003 conda-forge libxkbcommon 1.0.3 he3ba5ed_0 conda-forge libxml2 2.9.12 h72842e0_0 conda-forge libzopfli 1.0.3 h9c3ff4c_0 conda-forge llvm-openmp 11.1.0 h4bd325d_1 conda-forge llvmlite 0.36.0 py37h9d7f4d0_0 conda-forge locket 0.2.0 py_2 conda-forge lz4-c 1.9.3 h9c3ff4c_0 conda-forge markupsafe 2.0.1 py37h5e8e339_0 conda-forge matplotlib 3.4.2 py37h89c1867_0 conda-forge matplotlib-base 3.4.2 py37hdd32ed1_0 conda-forge matplotlib-inline 0.1.2 pyhd8ed1ab_2 conda-forge metakernel 0.27.5 pyhd3deb0d_0 conda-forge mistune 0.8.4 py37h5e8e339_1003 conda-forge more-itertools 8.8.0 pyhd8ed1ab_0 conda-forge mypy_extensions 0.4.3 py37h89c1867_3 conda-forge mysql-common 8.0.25 ha770c72_0 conda-forge mysql-libs 8.0.25 h935591d_0 conda-forge nb_conda 2.2.1 py37_0 nb_conda_kernels 2.3.1 py37h06a4308_0 nbclient 0.5.3 pyhd8ed1ab_0 conda-forge nbconvert 6.0.7 py37h89c1867_3 conda-forge nbformat 5.1.3 pyhd8ed1ab_0 conda-forge ncurses 6.2 h58526e2_4 conda-forge nest-asyncio 1.5.1 pyhd8ed1ab_0 conda-forge networkx 2.5.1 pyhd8ed1ab_0 conda-forge notebook 6.4.0 pyha770c72_0 conda-forge nspr 4.30 h9c3ff4c_0 conda-forge nss 3.67 hb5efdd6_0 conda-forge numba 0.53.1 py37hb11d6e1_1 conda-forge numpy 1.20.3 py37h038b26d_1 conda-forge olefile 0.46 pyh9f0ad1d_1 conda-forge openblas 0.3.15 pthreads_h4748800_1 conda-forge openjpeg 2.4.0 hb52868f_1 conda-forge openssl 1.1.1k h27cfd23_0 packaging 20.9 pyh44b312d_0 conda-forge pandoc 2.14.0.2 h7f98852_0 conda-forge pandocfilters 1.4.2 py_1 conda-forge pango 1.48.5 hb8ff022_0 conda-forge parso 0.8.2 pyhd8ed1ab_0 conda-forge partd 1.2.0 pyhd8ed1ab_0 conda-forge pathspec 0.8.1 pyhd3deb0d_0 conda-forge pcre 8.45 h9c3ff4c_0 conda-forge pexpect 4.8.0 pyh9f0ad1d_2 conda-forge pgplot 5.2.2 h68245ad_1008 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 8.2.0 py37h4600e1f_1 conda-forge pip 21.1.2 pyhd8ed1ab_0 conda-forge pixman 0.40.0 h36c2ea0_0 conda-forge pluggy 0.13.1 py37h89c1867_4 conda-forge pmw 2.0.1 py37h89c1867_1004 conda-forge portalocker 1.7.0 py37h89c1867_1 conda-forge prometheus_client 0.11.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.18 pyha770c72_0 conda-forge psutil 5.8.0 py37h5e8e339_1 conda-forge pthread-stubs 0.4 h36c2ea0_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge py 1.10.0 pyhd3deb0d_0 conda-forge pyavm 0.9.5 pyhac0dd68_0 conda-forge pycparser 2.20 pyh9f0ad1d_2 conda-forge pygments 2.9.0 pyhd8ed1ab_0 conda-forge pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge pyqt 5.12.3 py37h89c1867_7 conda-forge pyqt-impl 5.12.3 py37he336c9b_7 conda-forge pyqt5-sip 4.19.18 py37hcd2ae1e_7 conda-forge pyqtchart 5.12 py37he336c9b_7 conda-forge pyqtwebengine 5.12.1 py37he336c9b_7 conda-forge pyregion 2.0 py37h902c9e0_1001 conda-forge pyrsistent 0.17.3 py37h5e8e339_2 conda-forge pytest 6.2.4 py37h89c1867_0 conda-forge pytest-arraydiff 0.3 py_0 conda-forge pytest-astropy 0.8.0 pyhd8ed1ab_0 conda-forge pytest-astropy-header 0.1.2 py_0 conda-forge pytest-cov 2.12.1 pyhd8ed1ab_0 conda-forge pytest-doctestplus 0.9.0 pyhd8ed1ab_0 conda-forge pytest-filter-subpackage 0.1.1 py_0 conda-forge pytest-mock 3.6.1 pyhd8ed1ab_0 conda-forge pytest-openfiles 0.5.0 py_0 conda-forge pytest-remotedata 0.3.2 pyh9f0ad1d_0 conda-forge pythia8 8.244 py37hcd2ae1e_2 conda-forge python 3.7.10 hffdb5ce_100_cpython conda-forge python-dateutil 2.8.1 py_0 conda-forge python_abi 3.7 1_cp37m conda-forge pywavelets 1.1.1 py37h902c9e0_3 conda-forge pyyaml 5.4.1 py37h5e8e339_0 conda-forge pyzmq 22.1.0 py37h336d617_0 conda-forge qt 5.12.9 hda022c4_4 conda-forge readline 8.1 h46c0cb4_0 conda-forge regex 2021.4.4 py37h5e8e339_0 conda-forge reproject 0.7.1 py37h902c9e0_1 conda-forge root 6.22.8 py37hf7c91a4_2 conda-forge root-binaries 6.22.8 py37hf7c91a4_2 conda-forge root-dependencies 6.22.8 py37hf7c91a4_2 conda-forge root_base 6.22.8 py37hdcb3d1a_2 conda-forge scikit-image 0.17.2 py37hdc94413_4 conda-forge scipy 1.6.3 py37h29e03ee_0 conda-forge send2trash 1.5.0 py_0 conda-forge setuptools 49.6.0 py37h89c1867_3 conda-forge shapely 1.7.1 py37h2d1e849_5 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge snappy 1.1.8 he1b5a44_3 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge sqlite 3.35.5 h74cdb3f_0 conda-forge sysroot_linux-64 2.12 h77966d4_13 conda-forge tbb 2020.2 h4bd325d_4 conda-forge tbb-devel 2020.2 h4bd325d_4 conda-forge terminado 0.10.1 py37h89c1867_0 conda-forge testpath 0.5.0 pyhd8ed1ab_0 conda-forge tifffile 2021.4.8 pyhd8ed1ab_0 conda-forge tk 8.6.10 h21135ba_1 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge toolz 0.11.1 py_0 conda-forge tornado 6.1 py37h5e8e339_1 conda-forge traitlets 5.0.5 py_0 conda-forge typed-ast 1.4.3 py37h5e8e339_0 conda-forge typing_extensions 3.10.0.0 pyha770c72_0 conda-forge vdt 0.4.3 h9c3ff4c_0 conda-forge wcslib 5.20 ha44fe06_0 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge webencodings 0.5.1 py_1 conda-forge wheel 0.36.2 pyhd3deb0d_0 conda-forge xerces-c 3.2.3 h9d8b166_2 conda-forge xorg-fixesproto 5.0 h7f98852_1002 conda-forge xorg-kbproto 1.0.7 h7f98852_1002 conda-forge xorg-libice 1.0.10 h7f98852_0 conda-forge xorg-libsm 1.2.3 hd9c2040_1000 conda-forge xorg-libx11 1.6.12 h36c2ea0_0 conda-forge xorg-libxau 1.0.9 h7f98852_0 conda-forge xorg-libxcursor 1.2.0 h516909a_0 conda-forge xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge xorg-libxext 1.3.4 h516909a_0 conda-forge xorg-libxfixes 5.0.3 h516909a_1004 conda-forge xorg-libxft 2.3.3 h71203ad_0 conda-forge xorg-libxpm 3.5.13 h516909a_0 conda-forge xorg-libxrender 0.9.10 h516909a_1002 conda-forge xorg-libxt 1.1.5 h516909a_1003 conda-forge xorg-renderproto 0.11.1 h7f98852_1002 conda-forge xorg-xextproto 7.3.0 h7f98852_1002 conda-forge xorg-xproto 7.0.31 h7f98852_1007 conda-forge xrootd 5.2.0 py37hf219615_0 conda-forge xxhash 0.8.0 h7f98852_3 conda-forge xz 5.2.5 h516909a_1 conda-forge yaml 0.2.5 h516909a_0 conda-forge zeromq 4.3.4 h9c3ff4c_0 conda-forge zfp 0.5.5 h9c3ff4c_5 conda-forge zipp 3.4.1 pyhd8ed1ab_0 conda-forge zlib 1.2.11 h516909a_1010 conda-forge zstd 1.4.9 ha95c52a_0 conda-forge

I am on a shared computer so I am not sure if someone else installed something or not. Thank you for your help!

Sincerely, Ethan

On Thu, 17 Jun 2021 at 22:10, Alex Reustle @.***> wrote:

Hello, please copy and paste here the result of the following command conda list -n fermi where fermi is the name of the conda environment where you installed the Fermitools. When did you install the tools and have you installed anything else into that environment recently that would have caused a change in the dependency layout?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fermi-lat/Likelihood/issues/108#issuecomment-863272773, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPRQYRK24UZRI6ATEM6GW3TTH64NANCNFSM462YFVRA .

Areustle commented 3 years ago

libMinuit.so is a library provided by root. Fermitools requires root 6.22.6, but you have root 6.22.8 installed in your environment I imagine you or another user ran an update at some point to bring the two out of phase. You could probably solve this issue by running conda install -n fermi -c conda-forge root=6.22.6. However I expect that other subtle issues have also been introduced by this update. I would recommend installing the tools in a brand new environment and starting over.

Run conda create -n fermi-2.0.8 -c conda-forge -c fermi fermitools python=3 clhep=2.4.4.1 to install a new version into a new conda environment named "fermi-2.0.8". If this takes too long consider using mamba in place of conda.

ethanka0 commented 3 years ago

I got it to work thanks!

On Fri, 18 Jun 2021 at 21:31, Alex Reustle @.***> wrote:

libMinuit.so is a library provided by root. Fermitools requires root 6.22.6, but you have root 6.22.8 installed in your environment I imagine you or another user ran an update at some point to bring the two out of phase. You could probably solve this issue by running conda install -n fermi -c conda-forge root=6.22.6. However I expect that other subtle issues have also been introduced by this update. I would recommend installing the tools in a brand new environment and starting over.

Run conda create -n fermi-2.0.8 -c conda-forge -c fermi fermitools python=3 clhep=2.4.4.1 to install a new version into a new conda environment named "fermi-2.0.8". If this takes too long consider using mamba https://github.com/mamba-org/mamba in place of conda.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fermi-lat/Likelihood/issues/108#issuecomment-864041786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPRQYTUILCTUWTLCHSAZW3TTNDELANCNFSM462YFVRA .