Skip to content

Out of date CAMB #212

Description

@ricco-hub

When trying to run the ACT DR6 pipeline in /projects/ACT_DR6, I was met with the following error:

pspipe-run -p yaml/pipeline_dr6.yml
Traceback (most recent call last):
  File "/pscratch/sd/r/ricco/PSpipe/project/ACT_DR6/python/get_best_fit_mflike.py", line 43, in <module>
    l_th, ps_dict = pspy_utils.ps_from_params(cosmo_params, type, lmax + 500, **d["accuracy_params"])
                    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/pscratch/sd/r/ricco/PSpipe/project/ACT_DR6/pyenv/dr6/lib/python3.13/site-packages/pspy/pspy_utils.py", line 77, in ps_from_params
    pars = camb.set_params(**camb_cosmo)
  File "/pscratch/sd/r/ricco/PSpipe/project/ACT_DR6/pyenv/dr6/lib/python3.13/site-packages/camb/camb.py", line 233, in set_params
    raise CAMBUnknownArgumentError(f"Unrecognized parameter: {k}")
camb.baseconfig.CAMBUnknownArgumentError: Unrecognized parameter: lens_margin
Traceback (most recent call last):
  File "/pscratch/sd/r/ricco/PSpipe/project/ACT_DR6/pyenv/dr6/bin/pspipe-run", line 6, in <module>
    sys.exit(main())
             ~~~~^^
  File "/pscratch/sd/r/ricco/PSpipe/pspipe/run.py", line 371, in main
    else subprocess.run(cmd, shell=True, check=True).returncode
         ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/global/common/software/nersc/pe/conda-envs/26.1.0/python-3.13/nersc-python/lib/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python -u /pscratch/sd/r/ricco/PSpipe/project/ACT_DR6/python/get_best_fit_mflike.py  /pscratch/sd/r/ricco/PSpipe/project/ACT_DR6/products/dr6/global_dr6v4_bin50_updated.dict' returned non-zero exit status 1.

CAMB was recently updated to version 2.0.0 and takes lens_output_margin as the key instead of lens_margin. Updating the accuracy_params in global_dr6v4_bin50.dict fixed this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions