Skip to content

Running Montepython with PLANCK 2015 data #94

@akhileshnautiyal

Description

@akhileshnautiyal

Hello.
I am trying to run montepython using PLANCK 2015 data. My settings in default.conf are like
root = '/home/akhilesh/cmbsofts'

path['cosmo'] = root+'/class_public-2.6.0'
path['clik'] = root+'/planck_2015/plc-2.0'

Now since planck 2015 data is in separate folder named plc_2.0 as higl_l, low_l, lensing folders, I copied all the .clik files and .clik_lensing files to /home/akhilesh/cmbsofts/planck_2015 but while runnign monteython with command

python montepython/MontePython.py -o planck/ -p base2015.param -c covmat/base.covmat --conf default.conf -f 1.5

I am getting the following error.

Testing likelihoods for:
-> Planck_highl, Planck_lowl, Planck_lensing

Cannot use clik wrapper (cause = 'libirc.so: cannot open shared object file: No such file or directory')
Cannot use clik_lensing wrapper (cause = 'libirc.so: cannot open shared object file: No such file or directory')
Traceback (most recent call last):
File "montepython/MontePython.py", line 40, in
sys.exit(run())
File "/home/akhilesh/cmbsofts/montepython_public-2.2.2/montepython/run.py", line 31, in run
custom_command)
File "/home/akhilesh/cmbsofts/montepython_public-2.2.2/montepython/run.py", line 188, in safe_initialisation
cosmo, data, command_line, success = initialise(custom_command)
File "/home/akhilesh/cmbsofts/montepython_public-2.2.2/montepython/initialise.py", line 66, in initialise
data = Data(command_line, path)
File "/home/akhilesh/cmbsofts/montepython_public-2.2.2/montepython/data.py", line 340, in init
self.initialise_likelihoods(self.experiments)
File "/home/akhilesh/cmbsofts/montepython_public-2.2.2/montepython/data.py", line 460, in initialise_likelihoods
elem, elem, folder, elem)
File "", line 1, in
File "/home/akhilesh/cmbsofts/montepython_public-2.2.2/montepython/likelihood_class.py", line 865, in init
except clik.lkl.CError:
AttributeError: 'module' object has no attribute 'lkl'

I will be rateful if you can kindly help me. Canb we also modify the code to directly access .clik files inside their respective folders in plc_2.0

Thanks,
akhilesh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions