CCL: WARNING: ccl_cls.c: ccl_angular_cl_native(): GSL error: generic failure

When try to call pyccl.angular_cl using the attached code and a fairly vanilla n(z) on my laptop we get repeated printouts of this error message:

WARNING: ccl_cls.c: ccl_angular_cl_native(): GSL error: generic failure

followed by

Traceback (most recent call last):
  File "ccl_error_thing.py", line 23, in <module>
    clarr=ccl.angular_cl(cosmo, tracer, tracer, larr)
  File "/usr/local/lib/python3.6/site-packages/pyccl/cls.py", line 409, in angular_cl
    check(status)
  File "/usr/local/lib/python3.6/site-packages/pyccl/pyutils.py", line 24, in check
    raise RuntimeError("Error %s: %s" % (pyccl.core.error_types[status], msg))
RuntimeError: Error CCL_ERROR_INTEG: 

nz.txt ccl_error_thing.py.txt

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (16 by maintainers)

Most upvoted comments

Ok, I think we found the source of this problem, and it had to do with missing CLASS files, which triggered a chain of errors which got caught by the GSL warning mechanism instead of being transmitted as a CLASS error. We now should have fixed the CLASS issue, so this error should not happen in master anymore, however the GSL warning triggered by a CLASS error issue is not solved, so we should open a separate issue for this.