Error finding libopenjp2.so.7
It still seems something wonky with the development branch spinifel install. After getting the libopenjp2.so.7 finding error, I conda reinstalled matplotlib and openjpeg, changed path to include /lib/lib64, but it didn’t work until I exported the conda library directory that has libopenjp2.so.7. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/gpfs/alpine/chm137/scratch/cahrens/devel/spinifel-devel-092921/setup/conda/pkgs/openjpeg-2.4.0-hfe35807_0/lib . I had a vanilla environment (nothing set in my bashrc, etc.) when I did the build_from_scratch. It seems this shouldn’t happen.
[cahrens@login5.summit spinifel_output_2021-10-05T0306-0400_TRIAL_clean_test_3iyf_nochk_0929devel_1000i]$ more error.1491764.log_nodes_1
Lmod is automatically replacing "xl/16.1.1-10" with "gcc/9.1.0".
Due to MODULEPATH changes, the following have been reloaded:
- spectrum-mpi/10.4.0.3-20210112
Traceback (most recent call last): File "/gpfs/alpine/chm137/scratch/cahrens/devel/spinifel-devel-092921/setup/conda/envs/myenv/lib/python3.8/runpy.py", line 194, in _run_m odule_as_main return _run_code(code, main_globals, None, File "/gpfs/alpine/chm137/scratch/cahrens/devel/spinifel-devel-092921/setup/conda/envs/myenv/lib/python3.8/runpy.py", line 87, in _run_co de exec(code, run_globals) File "/gpfs/alpine/chm137/scratch/cahrens/devel/spinifel-devel-092921/spinifel/main.py", line 23, in from .mpi import main File "/gpfs/alpine/chm137/scratch/cahrens/devel/spinifel-devel-092921/spinifel/mpi/init.py", line 5, in from .main import main File "/gpfs/alpine/chm137/scratch/cahrens/devel/spinifel-devel-092921/spinifel/mpi/main.py", line 2, in from spinifel.prep import save_mrc File "/gpfs/alpine/chm137/scratch/cahrens/devel/spinifel-devel-092921/spinifel/prep.py", line 2, in import matplotlib.pyplot as plt File "/ccs/home/cahrens/.local/lib/python3.8/site-packages/matplotlib/init.py", line 107, in from . import _api, cbook, docstring, rcsetup File "/ccs/home/cahrens/.local/lib/python3.8/site-packages/matplotlib/rcsetup.py", line 24, in from matplotlib import _api, animation, cbook File "/ccs/home/cahrens/.local/lib/python3.8/site-packages/matplotlib/animation.py", line 34, in from PIL import Image File "/gpfs/alpine/chm137/scratch/cahrens/devel/spinifel-devel-092921/setup/conda/envs/myenv/lib/python3.8/site-packages/PIL/Image.py", l ine 114, in from . import _imaging as core ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/gpfs/alpine/chm137/scratch/cahrens/devel/spinifel-devel-092921/setup/conda/envs/myenv/lib/python3.8/runpy.py", line 194, in _run_m odule_as_main return _run_code(code, main_globals, None, File "/gpfs/alpine/chm137/scratch/cahrens/devel/spinifel-devel-092921/setup/conda/envs/myenv/lib/python3.8/runpy.py", line 87, in _run_co de exec(code, run_globals)