Dry-run mode (#582)
Dry-run mode: * An implementation of distributed_context that is used to mimic the performance of running an MPI distributed simulation with n ranks. * Verifiable against an MPI run with the same parameters. Implementation: * Describe the model on a single domain (tile) and translate it to however many domains we want to mimic using arb::tile and arb::symmetric_recipe. This allows us to know the exact behavior of the entire system by only running the simulation on a single node. * Mimic communication between domains using arb::dry_run_context Example: * dryrun in example/ is a verifiable example of using dry-run mode with mc_cells Other: * Documentation of dry-run mode * unit test for dry_run_context
Showing
- arbor/CMakeLists.txt 1 addition, 0 deletionsarbor/CMakeLists.txt
- arbor/communication/dry_run_context.cpp 74 additions, 0 deletionsarbor/communication/dry_run_context.cpp
- arbor/distributed_context.hpp 2 additions, 0 deletionsarbor/distributed_context.hpp
- arbor/execution_context.cpp 18 additions, 0 deletionsarbor/execution_context.cpp
- arbor/partition_load_balance.cpp 1 addition, 0 deletionsarbor/partition_load_balance.cpp
- doc/cpp_dry_run.rst 150 additions, 0 deletionsdoc/cpp_dry_run.rst
- doc/index.rst 1 addition, 0 deletionsdoc/index.rst
- example/CMakeLists.txt 1 addition, 0 deletionsexample/CMakeLists.txt
- example/dryrun/CMakeLists.txt 3 additions, 0 deletionsexample/dryrun/CMakeLists.txt
- example/dryrun/dryrun.cpp 357 additions, 0 deletionsexample/dryrun/dryrun.cpp
- example/dryrun/parameters.hpp 81 additions, 0 deletionsexample/dryrun/parameters.hpp
- example/dryrun/readme.md 101 additions, 0 deletionsexample/dryrun/readme.md
- include/arbor/common_types.hpp 22 additions, 0 deletionsinclude/arbor/common_types.hpp
- include/arbor/context.hpp 11 additions, 1 deletioninclude/arbor/context.hpp
- include/arbor/symmetric_recipe.hpp 87 additions, 0 deletionsinclude/arbor/symmetric_recipe.hpp
- test/unit/CMakeLists.txt 1 addition, 0 deletionstest/unit/CMakeLists.txt
- test/unit/test_dry_run_context.cpp 96 additions, 0 deletionstest/unit/test_dry_run_context.cpp
Please register or sign in to comment