Page 1 of 1

Problem with Planck 2018 likelihood python wrapper

Posted: January 11 2022
by Tal Abadi
I cannot seem to import clik packages in python (and I get the same error when using clik with Cobaya as it makes use of the python wrapper) due to some library linking issue.
I don't know what is the problem, I do believe it has something to do with the "checking for RTLD_DEFAULT in dl : no" output. But I couldn't fix it.

Please help!

I install clik on a cluster, with success:

Code: Select all

$ ./waf configure --install_all_deps --lapack_install

Code: Select all

Setting top to                           : /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1 
Setting out to                           : /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/build 
Checking for program 'gcc, cc'           : /bin/gcc 
Checking for program 'ar'                : /bin/ar 
Check gcc version                        : 8.4.1 
Compile a test code with gcc             : yes 
Setting architecture flag to             : ['-m64'] 
Checking for program 'ifort'             : not found 
ifort not found, defaulting to gfortran (cause: 'Could not find the program ['ifort']
(complete log in /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/build/config.log)') 
Checking for program 'gfortran, g77'     : /bin/gfortran 
Checking for program 'ar'                : /bin/ar 
Check gfortran version                   : not found, let's hope for the best... 
Compile a test code with gfortran        : yes 
retrieve gfortran link line              : ok 
gfortran link line                       : -L/gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1 -lgfortran -lgomp 
Setting install root to                  : /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1 
Setting install bin directory to         : /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/bin 
Setting install lib directory to         : /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib 
Setting install include directory to     : /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/include 
Checking for program 'python'            : /gpfs0/elyk/users/talabadi/anaconda3/envs/py39forge/bin/python 
Checking for python version              : 3.9.9 
python-config                            : /gpfs0/elyk/users/talabadi/anaconda3/envs/py39forge/bin/python3.9-config 
Asking python-config for pyembed '--cflags --libs --ldflags --embed' flags : yes 
Testing pyembed configuration                                              : yes 
Checking for library dl                                                    : yes 
checking for RTLD_DEFAULT in dl                                            : no 
compile with debug option                                                  : OFF 
Checking for program 'pmc-config'                                          : not found 
Checking for library pmc                                                   : not found 
Install 'lapack-3.3.1.tgz' 
download from http://www.netlib.org/lapack/lapack-3.3.1.tgz 
untar lapack-3.3.1.tgz 
build blas 
build lapack 
Checking for library ['lapack_clik', 'blas_clik']                          : yes 
checking for function 'dposv'                                              : yes 
checking for function 'dtrsv'                                              : yes 
checking for function 'dpotrf'                                             : yes 
checking for function 'dpotrs'                                             : yes 
checking for function 'dpotri'                                             : yes 
checking for function 'dtrtri'                                             : yes 
checking for function 'dtrmm'                                              : yes 
checking for function 'dtrmv'                                              : yes 
checking for function 'dgeqrf'                                             : yes 
checking for function 'dormqr'                                             : yes 
checking for function 'dsyev'                                              : yes 
checking for function 'dgesvd'                                             : yes 
checking for function 'dsymv'                                              : yes 
checking for function 'dgemv'                                              : yes 
checking for function 'dgemm'                                              : yes 
checking for function 'dsyrk'                                              : yes 
checking for function 'dsyr2k'                                             : yes 
checking for function 'daxpy'                                              : yes 
checking for function 'dtrsm'                                              : yes 
checking for function 'dsymm'                                              : yes 
checking for function 'dsyr'                                               : yes 
checking for function 'ddot'                                               : yes 
checking for function 'dsyevd'                                             : yes 
checking for function 'dlamch'                                             : yes 
checking for function 'dsyevr'                                             : yes 
Checking for library ['cfitsio']                                           : yes 
checking for function 'fits_init_cfitsio'                                  : yes 
Python version allows for automatic install                                : yes (3.9.9) 
Checking for program 'python'                                              : /gpfs0/elyk/users/talabadi/anaconda3/envs/py39forge/bin/python 
Checking python module 'numpy'                                             : ok 
Checking python module 'astropy'                                           : ok 
Checking for program 'python'                                              : /gpfs0/elyk/users/talabadi/anaconda3/envs/py39forge/bin/python 
Checking python module 'cython'                                            : ok 
Checking python module 'cython'                                            : ok 
Checking cython version (>0.28)                                            : 0.29.26 
Checking for program 'cython'                                              : /gpfs0/elyk/users/talabadi/anaconda3/envs/py39forge/bin/cython 
Add plugin : 'rel2015'                                                     : ok 

*----------------------------------------------------*
|                                                    |
|   Configure step ok.                               |
|                                                    |
|   run './waf install' now !                        |
|                                                    |
*----------------------------------------------------*

'configure' finished successfully (2m9.872s)

Code: Select all

$ ./waf install

Code: Select all

Waf: Entering directory `/gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/build'
add plik/component_plugin/rel2015/fg2015.c
add plik/component_plugin/rel2015/corrnoise.c
add plik/component_plugin/rel2015/leakage.c
[  1/141] Compiling src/python/clik/lkl.pyx
[  2/141] Compiling src/python/clik/lkl_lensing.pyx
[  3/141] Compiling src/python/clik/parametric.pyx
[  4/141] Compiling src/plik/component_plugin/rel2015/rel2015.pyx
[  5/141] Processing src/lowlike/Planck_options.F90
[  6/141] Processing src/actspt/Highell_options.F90
[  7/141] Processing src/actspt/Highell_subroutines.F90
[  8/141] Processing src/gibbs/comm_gauss_br_mod.f90
[  9/141] Processing src/gibbs/comm_gauss_br_mod_v3.f90
[ 10/141] Processing src/gibbs/comm_lowl_mod_dist.f90
[ 11/141] Processing src/gibbs/comm_br_mod.f90
[ 12/141] Processing src/cmbonly/plik_cmbonly.f90
[ 13/141] Processing src/camspec/CAMspec.f90
[ 14/141] Processing src/camspec/temp_like.f90
[ 15/141] Processing src/camspec/temp_like_v3.f90
[ 16/141] Processing src/bflike/healpix_types.f90
[ 17/141] Compiling src/lowlike/read_archive_map.f90
[ 18/141] Compiling src/lowlike/read_fits.f90
[ 19/141] Processing src/lowlike/br_mod_dist.f90
[ 20/141] Processing src/clik.F90
[ 21/141] Compiling build/src/python/clik/__pycache__/parobject.cpython-39.pyo
[ 22/141] Compiling build/src/python/clik/__pycache__/smicahlp.cpython-39.pyo
[ 23/141] Compiling build/src/python/clik/__pycache__/hpy.cpython-39.pyo
[ 24/141] Compiling build/src/python/clik/__pycache__/smicahlp.cpython-39.pyc
[ 25/141] Compiling build/src/python/clik/__pycache__/hpy.cpython-39.pyc
[ 26/141] Compiling build/src/python/clik/__pycache__/cldf.cpython-39.pyc
[ 27/141] Compiling build/src/python/clik/__pycache__/__init__.cpython-39.pyo
[ 28/141] Compiling build/src/python/clik/__pycache__/miniparse.cpython-39.pyc
[ 29/141] Compiling build/src/python/clik/__pycache__/__init__.cpython-39.pyc
[ 30/141] Compiling build/src/python/clik/__pycache__/cldf.cpython-39.pyo
[ 31/141] Compiling build/src/python/clik/__pycache__/parobject.cpython-39.pyc
[ 32/141] Compiling build/src/python/clik/__pycache__/miniparse.cpython-39.pyo
[ 33/141] Compiling src/python/tools/clik_print.py
[ 34/141] Compiling src/python/tools/clik_explore_1d.py
[ 35/141] Compiling src/python/tools/clik_get_selfcheck.py
[ 36/141] Compiling src/python/tools/clik_example_py.py
[ 37/141] Compiling src/python/tools/prepare_wmap.py
[ 38/141] Compiling src/python/tools/clik_change_lrange_bychannel_pol.py
[ 39/141] Compiling src/python/tools/clik_change_lrange.py
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/include/clik_lensing.h (from src/clik_lensing.h)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/hpy.py (from src/python/clik/hpy.py)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/smicahlp.py (from src/python/clik/smicahlp.py)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/cldf.py (from src/python/clik/cldf.py)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/parobject.py (from src/python/clik/parobject.py)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/miniparse.py (from src/python/clik/miniparse.py)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__init__.py (from src/python/clik/__init__.py)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/include/clik.h (from src/clik.h)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/include/errorlist.h (from src/minipmc/errorlist.h)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/bin/clik_print (from build/src/python/clik_print)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/bin/clik_explore_1d (from build/src/python/clik_explore_1d)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/bin/clik_change_lrange_bychannel_pol (from build/src/python/clik_change_lrange_bychannel_pol)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/share/clik/rel2015/tsz_143_eps0.50.dat (from src/plik/component_plugin/rel2015/tsz_143_eps0.50.dat)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/bin/clik_get_selfcheck (from build/src/python/clik_get_selfcheck)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/bin/prepare_wmap (from build/src/python/prepare_wmap)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/bin/clik_change_lrange (from build/src/python/clik_change_lrange)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/bin/clik_example_py (from build/src/python/clik_example_py)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/share/clik/rel2015/sz_x_cib_template.dat (from src/plik/component_plugin/rel2015/sz_x_cib_template.dat)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/share/clik/rel2015/ksz_fromcamspec.dat (from src/plik/component_plugin/rel2015/ksz_fromcamspec.dat)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/share/clik/rel2015/cib_1h_2h_100_353_Jsr-1_PS_2014_09.dat (from src/plik/component_plugin/rel2015/cib_1h_2h_100_353_Jsr-1_PS_2014_09.dat)
[ 55/141] Processing src/lowlike/Planck_teeebb_pixlike.F90
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/share/clik/rel2015/sky_template_v15_F100_143_217_353.dat (from src/plik/component_plugin/rel2015/sky_template_v15_F100_143_217_353.dat)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/share/clik/rel2015/cnoise_F100_143_217_353_v17.dat (from src/plik/component_plugin/rel2015/cnoise_F100_143_217_353_v17.dat)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/share/clik/rel2015/cleak_eh_rd12rc3_v1.dat (from src/plik/component_plugin/rel2015/cleak_eh_rd12rc3_v1.dat)
[ 56/141] Processing src/bflike/long_intrinsic_smw.f90
[ 57/141] Processing src/actspt/Foregrounds_loading.F90
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/share/clik/rel2015/cnoise_e2e_v2.dat (from src/plik/component_plugin/rel2015/cnoise_e2e_v2.dat)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/share/clik/rel2015/sbpx_tmpl_v4_hm.dat (from src/plik/component_plugin/rel2015/sbpx_tmpl_v4_hm.dat)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/cldf.cpython-39.pyo (from build/src/python/clik/__pycache__/cldf.cpython-39.pyo)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/__init__.cpython-39.pyc (from build/src/python/clik/__pycache__/__init__.cpython-39.pyc)
[ 60/141] Processing src/plik/clik_plik.f90
[ 61/141] Compiling src/clik_example_f90.f90
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/parobject.cpython-39.pyo (from build/src/python/clik/__pycache__/parobject.cpython-39.pyo)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/__init__.cpython-39.pyo (from build/src/python/clik/__pycache__/__init__.cpython-39.pyo)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/hpy.cpython-39.pyc (from build/src/python/clik/__pycache__/hpy.cpython-39.pyc)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/miniparse.cpython-39.pyc (from build/src/python/clik/__pycache__/miniparse.cpython-39.pyc)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/smicahlp.cpython-39.pyc (from build/src/python/clik/__pycache__/smicahlp.cpython-39.pyc)
[ 67/141] Processing src/cmbonly/clik_cmbonly.f90
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/hpy.cpython-39.pyo (from build/src/python/clik/__pycache__/hpy.cpython-39.pyo)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/miniparse.cpython-39.pyo (from build/src/python/clik/__pycache__/miniparse.cpython-39.pyo)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/cldf.cpython-39.pyc (from build/src/python/clik/__pycache__/cldf.cpython-39.pyc)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/parobject.cpython-39.pyc (from build/src/python/clik/__pycache__/parobject.cpython-39.pyc)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/__pycache__/smicahlp.cpython-39.pyo (from build/src/python/clik/__pycache__/smicahlp.cpython-39.pyo)
[ 73/141] Processing src/bflike/fitstools_smw.f90
[ 74/141] Processing src/actspt/ACT_south_likelihood.F90
[ 75/141] Processing src/actspt/SPT_keisler_likelihood.F90
[ 76/141] Processing src/actspt/ACT_equa_likelihood.F90
[ 77/141] Processing src/actspt/SPT_reichardt_likelihood.F90
[ 78/141] Processing src/lowlike/Planck_likelihood.F90
[ 79/141] Processing src/camspec/clik_CAMspec.F90
[ 80/141] Processing src/gibbs/clik_gibbs.f90
[ 81/141] Processing src/lowlike/clik_lowlike.f90
[ 82/141] Processing src/actspt/Highell_likelihood.F90
[ 83/141] Processing src/actspt/clik_actspt.f90
[ 84/141] Processing src/bflike/bflike_QUonly.f90
[ 85/141] Processing src/bflike/bflike.f90
[ 86/141] Processing src/bflike/bflike_smw.f90
/gpfs0/elyk/users/talabadi/anaconda3/envs/py39forge/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/plik/component_plugin/rel2015/rel2015.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)

/gpfs0/elyk/users/talabadi/anaconda3/envs/py39forge/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/lkl.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
warning: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/lkl.pyx:50:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/lkl.pyx:50:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/lkl.pyx:208:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/lkl.pyx:208:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.

/gpfs0/elyk/users/talabadi/anaconda3/envs/py39forge/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/lkl_lensing.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
warning: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/lkl_lensing.pyx:51:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/lkl_lensing.pyx:51:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/lkl_lensing.pyx:155:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
warning: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/lkl_lensing.pyx:155:19: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.

/gpfs0/elyk/users/talabadi/anaconda3/envs/py39forge/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/src/python/clik/clik.parametric.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)

[ 87/141] Compiling src/plik/component_plugin/rel2015/corrnoise.c
[ 88/141] Compiling src/lowlike/clik_lowlike.c
[ 89/141] Compiling src/lklbs.c
[ 90/141] Compiling src/cmbonly/clik_cmbonly.c
[ 91/141] Compiling src/camspec/clik_CAMspec.c
[ 92/141] Compiling src/plik/component_plugin/rel2015/fg2015.c
[ 93/141] Compiling src/plik/smica.c
[ 94/141] Compiling src/plik/clik_plik.c
[ 95/141] Compiling src/plik/clik_parametric_addon.c
[ 96/141] Compiling src/plik/clik_parametric.c
[ 97/141] Compiling src/simall/clik_simall.c
[ 98/141] Compiling src/clik_dic.c
[ 99/141] Compiling src/lenslike/plenslike/wignerd.c
[100/141] Compiling src/bflike/clik_bflike.c
[101/141] Compiling src/lenslike/plenslike/qest.c
[102/141] Compiling src/minipmc/distribution.c
[103/141] Compiling src/lenslike/plenslike/plenslike_dat_full.c
[104/141] Compiling src/minipmc/io.c
[105/141] Compiling src/minipmc/errorlist.c
[106/141] Compiling src/lenslike/plenslike/plenslike_dat_qecl.c
[107/141] Compiling src/cldf/cfrd.c
[108/141] Compiling src/lenslike/plenslike/plenslike_dat_quad.c
[109/141] Compiling src/cldf/cldf.c
[110/141] Compiling src/lenslike/plenslike/plenslike_dat_mono.c
[111/141] Compiling src/plik/clik_hfipack.c
[112/141] Compiling src/plik/component_plugin/rel2015/leakage.c
[113/141] Compiling src/clik.c
[114/141] Compiling src/clik_helper.c
[115/141] Compiling src/gibbs/clik_gibbs.c
[116/141] Compiling src/actspt/clik_actspt.c
[117/141] Compiling src/lowly_common.c
[118/141] Compiling src/clik_lensing.c
[119/141] Compiling src/clik_fortran.c
[120/141] Compiling src/clik_example_c.c
[121/141] Compiling build/src/python/clik/lkl.pyx.c
[122/141] Compiling build/src/python/clik/lkl_lensing.pyx.c
[123/141] Compiling build/src/python/clik/parametric.pyx.c
[124/141] Compiling build/src/plik/component_plugin/rel2015/rel2015.pyx.c
[125/141] Processing src/bflike/clik_bflike.f90
[126/141] Linking build/src/libclik.so
[127/141] Linking build/src/libclik_f90.so
[128/141] Linking build/src/clik_example_C
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/libclik.so (from build/src/libclik.so)
[130/141] Linking build/src/clik_example_f90
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/libclik_f90.so (from build/src/libclik_f90.so)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/bin/clik_example_C (from build/src/clik_example_C)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/bin/clik_example_f90 (from build/src/clik_example_f90)
In file included from ../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1960,
                 from ../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from ../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from src/python/clik/lkl.pyx.c:681:
../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it with " \
  ^~~~~~~

[134/141] Linking build/src/python/lkl.cpython-39-x86_64-linux-gnu.so
In file included from ../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1960,
                 from ../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from ../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from src/python/clik/lkl_lensing.pyx.c:681:
../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it with " \
  ^~~~~~~

[135/141] Linking build/src/python/lkl_lensing.cpython-39-x86_64-linux-gnu.so
[136/141] Linking build/src/python/rel2015.cpython-39-x86_64-linux-gnu.so
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/lkl.cpython-39-x86_64-linux-gnu.so (from build/src/python/lkl.cpython-39-x86_64-linux-gnu.so)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/lkl_lensing.cpython-39-x86_64-linux-gnu.so (from build/src/python/lkl_lensing.cpython-39-x86_64-linux-gnu.so)
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/rel2015.cpython-39-x86_64-linux-gnu.so (from build/src/python/rel2015.cpython-39-x86_64-linux-gnu.so)
In file included from ../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1960,
                 from ../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from ../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from src/python/clik/parametric.pyx.c:683:
../../../../../../../anaconda3/envs/py39forge/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it with " \
  ^~~~~~~

[140/141] Linking build/src/python/parametric.cpython-39-x86_64-linux-gnu.so
+ install /gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/lib/python/site-packages/clik/parametric.cpython-39-x86_64-linux-gnu.so (from build/src/python/parametric.cpython-39-x86_64-linux-gnu.so)
Waf: Leaving directory `/gpfs0/elyk/users/talabadi/codes/cobaya/code/planck/plc_3.0/plc-3.1/build'

*----------------------------------------------------*
|                                                    |
|   Source clik_profile.sh (or clik_profile.csh)     |
|   to set the environment variables needed by clik  |
|                                                    |
*----------------------------------------------------*

'install' finished successfully (4.891s)
Then I sourced it:

Code: Select all

$ source bin/clik_profile.sh
But when I try to import clik package I get the following error:

Code: Select all

$ python
Python 3.9.9 | packaged by conda-forge | (main, Dec 20 2021, 02:41:03) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import clik
Cannot use clik wrapper (cause = '/usr/lib64/libssh.so.4: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b')
Cannot use clik_lensing wrapper (cause = '/usr/lib64/libssh.so.4: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b')