Page 1 of 1

Problem running camb on MacOS

Posted: April 27 2020
by Clara Rojas
Dear Antony,

When I running the program I obtained the following error:

CAMBValueError: File not found: /Users/crojas/Documents/Research/inflation/inifiles/planck_2018.ini

A appreciate very much your help!

Thanks,
Clara

Re: Problem running camb on MacOS

Posted: April 27 2020
by Antony Lewis
You need to give much more detail about what you are actually doing, and whether that files does actually exist.

Re: Problem running camb on MacOS

Posted: April 27 2020
by Clara Rojas
Hello! I am running this part of the example code:

pars=camb.read_ini(os.path.join(camb_path,'inifiles','planck_2018.ini'))
print(pars)

Where do I find this file?

Thanks,
Clara

Re: Problem running camb on MacOS

Posted: April 28 2020
by Antony Lewis
These are supplied files in the source distribution (https://github.com/cmbant/camb).

Re: Problem running camb on MacOS

Posted: April 29 2020
by Clara Rojas
Thanks Antony!