Help with this error

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

Help with this error

Post by Clara Rojas » July 27 2021

Hi Antony,

I am running this command: python camb.py inifiles/params.ini,and I am obtaining this error:

Library file /Users/crojas/Documents/Research/inflation/cmb/CAMB-1.1.3/camb/camblib.so does not exist.
Make sure you have installed or built the camb package (e.g. using "python setup.py make"); or remove any old conflicting installation and install again.

I have ran python setup.py make and obtained:

ld: library not found for -lSystem
collect2: error: ld returned 1 exit status
make[2]: *** [Releaselib/camblib.so] Error 1
make[1]: *** [camblib.so] Error 2
make: *** [python] Error 2
chmod: ../camb/camblib.so: No such file or directory
Compilation failed


Can you help me?

Best regards,
Clara

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

Re: Help with this error

Post by Antony Lewis » July 27 2021


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

Re: Help with this error

Post by Clara Rojas » July 28 2021

Thanks!

I have another question, after the installation where I can find the CAMB directory?

Best regards,
Clara

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

Re: Help with this error

Post by Clara Rojas » July 28 2021

Hi again!

I have downloaded de CAMB directory form GitHub, I am running:

camb inifiles/planck_2018.ini

And I am obtaining this message:

key not found : omega_baryon

Can you help me?

Thanks,
Clara

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

Re: Help with this error

Post by Antony Lewis » July 28 2021

The current CAMB version does not use omega_baryon, are you sure you are running the version you downloaded?
If you have trouble installing you an always install pre-built from conda-forge as described at https://camb.readthedocs.io/en/latest/

Post Reply