{"id":19602092,"url":"https://github.com/zenustech/zpc","last_synced_at":"2025-04-06T16:13:32.411Z","repository":{"id":37932940,"uuid":"345065685","full_name":"zenustech/zpc","owner":"zenustech","description":"zenus parallel computing library for zenus physics-based simulations","archived":false,"fork":false,"pushed_at":"2024-12-02T18:05:06.000Z","size":20584,"stargazers_count":80,"open_issues_count":0,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-03T22:32:31.619Z","etag":null,"topics":["cuda","gpu","hpc","math","physics","simulation"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zenustech.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":"2021-03-06T10:28:56.000Z","updated_at":"2024-12-02T18:05:10.000Z","dependencies_parsed_at":"2023-12-24T12:32:26.169Z","dependency_job_id":"98f89fe8-d68e-4412-b04b-5701686d7491","html_url":"https://github.com/zenustech/zpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenustech%2Fzpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenustech%2Fzpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenustech%2Fzpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenustech%2Fzpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenustech","download_url":"https://codeload.github.com/zenustech/zpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247509237,"owners_count":20950232,"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":["cuda","gpu","hpc","math","physics","simulation"],"created_at":"2024-11-11T09:22:07.102Z","updated_at":"2025-04-06T16:13:32.386Z","avatar_url":"https://github.com/zenustech.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zenus Simulation\n*Zenus Simulation* is the codebase **zensim** maintained by **Zenus Tech**, which delivers great parallel computing efficiency for physics-based simulations within a shared-memory heterogeneous architecture through a unified programming interface on multiple compute backends.\n\nThis repo is going through rapid changes, and we do not promise ABI compatibility from commit to commit for the moment.\n\n## **Document**\nSee [git wiki](https://github.com/zensim-dev/zpc/wiki) page for more build details.\nSee [Specification](Specification.md) for more usage info.\n\n## **Compilation**\nThis is a cross-platform C++/CUDA cmake project. The minimum version requirement of cmake is 3.18, yet the latest version is generally recommended. Please install cmake through official website or python3-pip, since the cmake version in apt repo is behind.\n\nWhen CUDA is enabled, the required CUDA version is 11.4+ (for c++17 and latest cuda utilities).\n\nCurrently, *supported OS* are Ubuntu 20.04+ and Windows 10, and *tested compilers* includes gcc10.0+, clang-11+, vs2019+. \n\n### **Build**\n\nBefore building this framework, please first manually configure these external dependencies, i.e. [**openvdb**](https://github.com/AcademySoftwareFoundation/openvdb) if ZS_ENABLE_OPENVDB is set to TRUE. Then pull all dependencies by\n\n```\ngit submodule init\ngit submodule update\n```\n\nIf CUDA (\u003e=11.4) is installed and required, be sure to set *ZS_ENABLE_CUDA=On* first.\n\nConfigure the project using the *CMake Tools* extension in *Visual Studio Code* (recommended), or follow the build instructions in [git wiki](https://github.com/zensim-dev/zpc/wiki). \n\nIn addition, make sure to install *zlib* for building *partio* when building on linux.\n```\nsudo apt install zlib1g\n```\n\n## **Integration**\n\nDirectly include the codebase as a submodule. Or install this repo then use *find_package(zensim)*.\nIf the installed package is no longer needed, build the *uninstall* target as with the *install* target.\n\n## **Credits**\nThis framework draws inspirations from [Taichi](https://github.com/taichi-dev/taichi), [kokkos](https://github.com/kokkos/kokkos), [raja](https://github.com/LLNL/RAJA), [MGMPM](https://github.com/penn-graphics-research/claymore), [GPU LBVH](https://github.com/littlemine/BVH-based-Collision-Detection-Scheme).\n\n### **Dependencies**\nThe following libraries are adopted and made fully localized in our project development:\n- [fmt](https://fmt.dev/latest/index.html)\n- [loguru](https://github.com/emilk/loguru). (pro: \"chrono\" is not exposed in its header)\n- [magic_enum](https://github.com/Neargye/magic_enum)\n- [catch2](https://github.com/catchorg/Catch2)\n\nFor spatial data IO and generation, we use these libraries in addition:\n\n- [partio](http://partio.us/)\n- [openvdb](https://github.com/AcademySoftwareFoundation/openvdb) \n\nWe import these (less-frequently used) libraries as well:\n\n- [function_ref](https://github.com/TartanLlama/function_ref)\n- [rapidjson](https://github.com/Tencent/rapidjson)\n- [cxxopts](https://github.com/jarro2783/cxxopts)\n- [jitify](https://github.com/NVIDIA/jitify)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenustech%2Fzpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenustech%2Fzpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenustech%2Fzpc/lists"}