Problem running camb on MacOS

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Clara Rojas
Posts: 8
Joined: May 11 2005
Affiliation: Yachay TECH University

Problem running camb on MacOS

Post by Clara Rojas » April 27 2020

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

Antony Lewis
Posts: 1618
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Problem running camb on MacOS

Post by Antony Lewis » April 27 2020

You need to give much more detail about what you are actually doing, and whether that files does actually exist.

Clara Rojas
Posts: 8
Joined: May 11 2005
Affiliation: Yachay TECH University

Re: Problem running camb on MacOS

Post by Clara Rojas » April 27 2020

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

Antony Lewis
Posts: 1618
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Problem running camb on MacOS

Post by Antony Lewis » April 28 2020

These are supplied files in the source distribution (https://github.com/cmbant/camb).

Clara Rojas
Posts: 8
Joined: May 11 2005
Affiliation: Yachay TECH University

Re: Problem running camb on MacOS

Post by Clara Rojas » April 29 2020

Thanks Antony!

Post Reply