Skip to content

Commit

Permalink
small
Browse files Browse the repository at this point in the history
  • Loading branch information
hamsteri15 committed Jan 16, 2024
1 parent 1c6a344 commit fa7564a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/bits/communication/distributed_array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ auto make_subspans(const DistributedArray<N, T>& array) {
std::vector<span_t> ret;

const auto& data = array.local_data();
auto boxes = array.topology().get_boxes(array.get_rank());
auto boxes = array.local_boxes();

auto bpad = array.begin_padding();
auto epad = array.end_padding();
Expand Down Expand Up @@ -124,7 +124,7 @@ template <size_t N, class T> auto make_subspans(DistributedArray<N, T>& array) {
std::vector<span_t> ret;

auto& data = array.local_data();
auto boxes = array.topology().get_boxes(array.get_rank());
auto boxes = array.local_boxes();

auto bpad = array.begin_padding();
auto epad = array.end_padding();
Expand Down
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ target_include_directories(MpiTest.bin PUBLIC
add_test( NAME MpiTest COMMAND MpiTest.bin)

add_test( NAME MpiTest2
COMMAND mpirun -np 2 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/MpiTest.bin
COMMAND mpirun -np 2 --oversubscribe ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/MpiTest.bin
)

add_test( NAME MpiTest3
COMMAND mpirun -np 3 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/MpiTest.bin
COMMAND mpirun -np 3 --oversubscribe ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/MpiTest.bin
)

0 comments on commit fa7564a

Please sign in to comment.