-
Notifications
You must be signed in to change notification settings - Fork 128
Description
Hello,
I am trying to run MontePython v3.6.1 with CLASS v3.3.3 and the Planck 2018 likelihoods.
I have correctly set up default.conf as follows:
path['cosmo'] = '/root/class_public'
path['data'] = '/mnt/e/planck'
path['clik'] = '/mnt/e/planck/plc_3.0'
and sourced the environment:
source /mnt/e/planck/plc_3.0/bin/clik_profile.sh
However, when I run:
python3 -u montepython/MontePython.py run
-p input/planck_LCDM.param
-o chains/planck_LCDM_real
-N 1 --conf /root/montepython_public/default.conf
I get the following error:
Likelihood Error:
/|\ The path to the .clik file for the likelihood Planck_highl_TTTEEE was not
/o\ found where indicated:
/mnt/e/planck/baseline/plc_3.0/hi_l/plik/plik_rd12_HM_v22b_TTTEEE.clik
and sometimes:
Configuration Error:
/|\ You are running in a folder that was created following a non-successful
/o\ initialisation (wrong parameter name, wrong likelihood, etc...).
KeyError: 'cosmo'
My folder structure is:
/root/class_public/
/root/montepython_public/
/mnt/e/planck/plc_3.0/
├── bin/
├── lib/
├── hi_l/plik/plik_rd12_HM_v22b_TTTEEE.clik/
and clik Python module is correctly detected:
python3 -c "import clik; print(clik.file)"
/mnt/e/planck/plc_3.0/lib/python/site-packages/clik/init.py
I’ve already tried:
Deleting old chain folders (rm -rf chains/planck_LCDM_real log.param)
Resetting the environment variables (LD_LIBRARY_PATH, PYTHONPATH)
Reinstalling Planck likelihood and CLASS
But the same error persists.
Could you please clarify what exact structure or path MontePython expects for the Planck likelihood data (.clik files)?
Thank you very much for your help!