Open Saber-of-QFT opened 2 years ago
Hello there - @reneehlozek or @keirkwame and Mona Dentler have done this recently, so I'd reach out to them! (They have done recent constraints in cosmosis with axioncamb).
Hi @Saber-of-QFT -- were you able to figure this out?
Hello, I met some tricky problem when I try to run axionCAMB as a module in CosmoSIS.
I install axionCAMB and running axionCAMB with "./camb params.ini" successfully. Then I install CosmoSIS using the conda-forge (following https://cosmosis.readthedocs.io/en/latest/intro/installation.html). The installation of CosmoSIS also success and work well with the original version of CAMB. Then I try to add axionCAMB as a modify CAMB module of CosmoSIS.
I notice that axionCAMB is based on CAMB_Nov13. So I download the camb_interface.F90 from https://github.com/philbull/cosmosis-standard-library/tree/master/boltzmann/camb_Nov13. And try to modify it to become an interface of axionCAMB.
Here are the changes that I made
First I change the function camb_shift_parameter(params) result(shift_parameter) part, adding the contribution of axion in it
Then I modify the function camb_interface_set_params(block, params, background_only) result(status), adding two axion parameters into
After that, I try to run a pipeline which include the axionCAMB module. Then I got this error:
I don't know how to solve this problem. Maybe some missing part in the interface file. Can you help me? Thank you very much!