Closed IamSreeman closed 2 years ago
Ok, earlier I didn't realize I have to give the path. Now I added the path.
But still, it is giving the following error
ComponentNotInstalledError: Could not find CLASS: Could not import 'classy' from /home/sreeman/class_public: Module classy successfully loaded, but not from requested path: /home/sreeman/class_public/python/build/lib.linux-x86_64-3.9, but instead from /home/sreeman/anaconda3/lib/python3.9/site-packages/classy-3.2.0-py3.9-linux-x86_64.egg. To install it, run `cobaya-install classy`
I added the path like this
theory:
classy:
path: /home/sreeman/class_public
extra_args:
non linear: hmcode
nonlinear_min_k_max: 20
N_ncdm: 1
N_ur: 2.0328
The error is, the path should be added like this
theory:
classy:
path: '/home/sreeman/class_public'
extra_args:
non linear: hmcode
nonlinear_min_k_max: 20
N_ncdm: 1
N_ur: 2.0328
I modified CLASS and added a new species. I changed the python wrapper code and I can use the new parameter inside python, but CLASS inside Cobaya is saying
Error message: CosmoSevereError('Class did not read input parameter(s): Omega_newspecies\n')
I think Cobaya is somehow not updating the CLASS even after I do
but CLASS without Cobaya is updating every time I do use the above 2 commands. @cmbant @JesusTorrado