{"id":21161919,"url":"https://github.com/princetonuniversity/bpcmp","last_synced_at":"2025-10-18T15:32:14.628Z","repository":{"id":249829414,"uuid":"832353655","full_name":"PrincetonUniversity/bpcmp","owner":"PrincetonUniversity","description":"Utility for comparing ADIOS2 bp output","archived":false,"fork":false,"pushed_at":"2025-02-24T19:03:26.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T20:20:07.890Z","etag":null,"topics":["adios2","regression-testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrincetonUniversity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-22T21:15:15.000Z","updated_at":"2025-02-24T19:03:26.000Z","dependencies_parsed_at":"2024-07-23T16:26:43.182Z","dependency_job_id":"cc1818d6-f1bb-4ad9-b8a0-473c0e093a66","html_url":"https://github.com/PrincetonUniversity/bpcmp","commit_stats":null,"previous_names":["princetonuniversity/bpcmp"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrincetonUniversity%2Fbpcmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrincetonUniversity%2Fbpcmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrincetonUniversity%2Fbpcmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrincetonUniversity%2Fbpcmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrincetonUniversity","download_url":"https://codeload.github.com/PrincetonUniversity/bpcmp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243606962,"owners_count":20318314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adios2","regression-testing"],"created_at":"2024-11-20T13:18:52.383Z","updated_at":"2025-10-18T15:32:09.585Z","avatar_url":"https://github.com/PrincetonUniversity.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bpcmp\n\nUtility which allows for the comparison of two [ADIOS2](https://adios2.readthedocs.io/en/latest/index.html) bp output. The user must specify the location of the output and can use verbose output, set the absolute and relative tolerances for float type variables, and specify attributes and variables to ignore.\n\nInspired by this [gist](https://gist.github.com/jychoi-hpc/b4654e178edd84c9b8a2a198ab1c6c95).\n\nFloating point comparison done using numpy [allclose](https://numpy.org/doc/stable/reference/generated/numpy.allclose.html).\n\nInstall from PyPi:\n\n```\npip install bpcmp\n```\n\nInstall from source:\n\n```\ngit clone git@github.com:PrincetonUniversity/bpcmp.git\ncd bpcmp\npip install .   # include the -e option to make the installation editable\n```\n\nUsage:\n\n```\nbpcmp out1.bp out2.bp\n```\n\nAll of the arguments are optional.\n\n| Argument                  | Description                                                                 |\n| :------------------------ | :-------------------------------------------------------------------------- |\n| -v LEVEL                  | Use for verbose output level (0,1,2) = (nothing, errors only, everything)   |\n| -r RTOL                   | Set the relative tolerance when comparing float variables (default is zero) |\n| -a ATOL                   | Set the absolute tolerance when comparing float variables (default is zero) |\n| --ignore-atts IGNORE_ATTS | Provide list of attributes to ignore                                        |\n| --ignore-vars IGNORE_VARS | Provide list of variables to ignore                                         |\n\n```\nbpcmp out1.bp out.bp -v 1 -r 0.000001 -a 0.0001 --ignore-atts att1 att2 --ignore-vars var1 var2\n```\n\nAlso included is a `bpdump` utility for dumping the contents of ADIOS2 bp output to the screen:\n\n```\nbpdump out1.bp\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprincetonuniversity%2Fbpcmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprincetonuniversity%2Fbpcmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprincetonuniversity%2Fbpcmp/lists"}