baudren / montepython_public

Public repository for the Monte Python Code
MIT License
65 stars 117 forks source link

planck 2018 likelihood fails #149

Open ming-jian opened 2 years ago

ming-jian commented 2 years ago

Hi, prof. I have installed the python (version:3.8), planck2018(version:3.1), openmpi(version:4.1.2), ifort (version:2021.4.0) in oneapi, class (version:1.0.0) and Monte Python (version:3.5). For the JLA data, Pantheon data, the likelihood work well. Also, the data.experiments=['fake_planck_bluebook'] works well. However, the likelihood for planck 2018 failed. I use the following command line:

sudo montepython/MontePython.py run -p input/base2018TTTEEE.param -c covmat/base2018TTTEEE.covmat -o chains/planck2018a -N 10000

The messages are: You must first activate the binaries from the Clik distribution. Please run: source /path/to/clik/bin/clik_profile.sh. or sometimes, The initialization is not successful.

However, I have done:

source /home/zhang/planck2018/code/plc_3.0/plc-3.1/bin/clik_profile.sh

And link the data to montepython:

                                   ln -s /home/zhang/planck2018/baseline/plc_3.0/  ./data/clik  

I don't know how to deal with these errors.