Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in running Planck likelihood #373

Open
mahtaparsa opened this issue May 19, 2024 · 3 comments
Open

Problem in running Planck likelihood #373

mahtaparsa opened this issue May 19, 2024 · 3 comments

Comments

@mahtaparsa
Copy link

Dear all,
when I run the Planck 2018 likelihood in montepython, I confront the following error:
################################################
/!\ PyFITS is deprecated, please use astropy.io.fits

clik version 3be036bbb4f9
smica
Checking likelihood '/home/dirac/Desktop/Planck_2018/code/plc_3.0/plc-3.01/../../../baseline/plc_3.0/hi_l/plik/plik_rd12_HM_v22b_TTTEEE.clik' on test data. got -1172.47 expected -1172.47 (diff -4.34053e-07)

Initializing SimAll

clik version 3be036bbb4f9
simall simall_EE_BB_TE
Checking likelihood '/home/dirac/Desktop/Planck_2018/code/plc_3.0/plc-3.01/../../../baseline/plc_3.0/low_l/simall/simall_100x143_offlike5_EE_Aplanck_B.clik' on test data. got -197.99 expected -197.99 (diff -4.1778e-08)

At line 232 of file /home/dirac/Desktop/Planck_2018/code/plc_3.0/plc-3.01/src/gibbs/comm_gauss_br_mod_v3.f90
Fortran runtime error: Inquire statement identifies an internal file
#########################################
Any ideas to solve this problem?
Thanks

@brinckmann
Copy link
Owner

Hi,

It looks like something went wrong compiling the Planck likelihoods. Since Planck is starting to show its age a little bit it's sometimes necessary to use older compilers, so you can try that if you used a recent compiler version. In any case, you should make sure Planck runs without MontePython by running some of the tests provided with the code and make sure you can import the python wrapper in python before attempting to run MontePython with Planck.

Best,
Thejs

@mahtaparsa
Copy link
Author

Hi,
Actually there is a problem with "Planck_lowl_TT" likelihood.
I have installed the planck likelihood successfully by running "./waf install".
However, when I run "clik_example_C plik_rd12_HM_v22b_TTTEEE.clik/ ", the following error appears:

main(../src/clik_example_c.c:91)::ForwardError
clik_init(../src/clik.c:57)::ForwardError
cldf_open(../src/cldf/cldf.c:191)::ForwardError
cldf_open_sub(../src/cldf/cldf.c:108)::Error -1234 (cannot stat file (error -1))

Thanks for you ideas and help.

@brinckmann
Copy link
Owner

Hi,

Can you run the example test scripts within the Planck likelihood to see if your installation works? If not, that's a Planck installation issue, not a MontePython issue.

Best,
Thejs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants