{"action":"opened","issue":{"url":"https://api.github.com/repos/LSSTDESC/CCL/issues/439","repository_url":"https://api.github.com/repos/LSSTDESC/CCL","labels_url":"https://api.github.com/repos/LSSTDESC/CCL/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/LSSTDESC/CCL/issues/439/comments","events_url":"https://api.github.com/repos/LSSTDESC/CCL/issues/439/events","html_url":"https://github.com/LSSTDESC/CCL/issues/439","id":350078229,"node_id":"MDU6SXNzdWUzNTAwNzgyMjk=","number":439,"title":"Error when running C tests within development workflow","user":{"login":"c-d-leonard","id":2777707,"node_id":"MDQ6VXNlcjI3Nzc3MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/2777707?v=4","gravatar_id":"","url":"https://api.github.com/users/c-d-leonard","html_url":"https://github.com/c-d-leonard","followers_url":"https://api.github.com/users/c-d-leonard/followers","following_url":"https://api.github.com/users/c-d-leonard/following{/other_user}","gists_url":"https://api.github.com/users/c-d-leonard/gists{/gist_id}","starred_url":"https://api.github.com/users/c-d-leonard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-d-leonard/subscriptions","organizations_url":"https://api.github.com/users/c-d-leonard/orgs","repos_url":"https://api.github.com/users/c-d-leonard/repos","events_url":"https://api.github.com/users/c-d-leonard/events{/privacy}","received_events_url":"https://api.github.com/users/c-d-leonard/received_events","type":"User","site_admin":false},"labels":[{"id":888978911,"node_id":"MDU6TGFiZWw4ODg5Nzg5MTE=","url":"https://api.github.com/repos/LSSTDESC/CCL/labels/Checks","name":"Checks","color":"a349d1","default":false},{"id":542018611,"node_id":"MDU6TGFiZWw1NDIwMTg2MTE=","url":"https://api.github.com/repos/LSSTDESC/CCL/labels/Installation","name":"Installation","color":"0fdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-13T15:26:05Z","updated_at":"2018-08-13T15:26:05Z","closed_at":null,"author_association":"COLLABORATOR","body":"If I am using the C library development workflow (which means I don't install the library, only build locally) and then run the tests with build/check_ccl, the tests fail on number 39, corrs_3d:model 3 with error: 'ERROR 1032: ccl_power.c: ccl_cosmology_compute_power_class(): Error running CLASS thermodynamics:thermodynamics_init(L:304) :error in thermodynamics_helium_from_bbn(ppr,pba,pth);\r\n=>thermodynamics_helium_from_bbn(L:1143) :could not open fA with name /usr/local/share/ccl/bbn/sBBN_2017.dat and mode \"r\" '\r\n\r\nThis is because the test is not finding the local CLASS. You can solve this problem by doing \r\n\r\nexport CLASS_PARAM_DIR=your_ccl_path/CCL/build/extern/share/class/ \r\n\r\neach time you run the tests in a new terminal instance, but it would be good to have a more permanent fix or at least add this to the readme. "}}
{"actor":{"display_login":"c-d-leonard"}}