Page 1 of 1

Help with this error

Posted: July 27 2021
by Clara Rojas
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

Re: Help with this error

Posted: July 27 2021
by Antony Lewis

Re: Help with this error

Posted: July 28 2021
by Clara Rojas
Thanks!

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

Best regards,
Clara

Re: Help with this error

Posted: July 28 2021
by Clara Rojas
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

Re: Help with this error

Posted: July 28 2021
by Antony Lewis
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/