We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dash::copy
I have a code which wants to copy a NArray to a NArray which has a smaller team and uses dash::copy for each line:
#include <iostream> #include <libdash.h> int main(int ac, char *av[]) { using TeamSpecT = dash::TeamSpec<2>; using MatrixT = dash::NArray<double, 2>; using PatternT = typename MatrixT::pattern_type; using SizeSpecT = dash::SizeSpec<2>; using DistSpecT = dash::DistributionSpec<2>; dash::init(&ac, &av); auto size_spec = SizeSpecT(16, 16); auto dist_spec = DistSpecT(dash::BLOCKED, dash::BLOCKED); auto& team_all = dash::Team::All(); TeamSpecT team_all_spec(team_all.size(), 1); team_all_spec.balance_extents(); MatrixT grid_more(size_spec, dist_spec, team_all, team_all_spec); dash::fill(grid_more.begin(), grid_more.end(), 0.0); team_all.barrier(); dash::Team& team_fewer= team_all.split(4); TeamSpecT team_fewer_spec(team_fewer.size(), 1); team_fewer_spec.balance_extents(); if (0 == team_fewer.position()) { MatrixT grid_fewer(size_spec, dist_spec, team_fewer, team_fewer_spec); dash::fill(grid_fewer.begin(), grid_fewer.end(), 1.0); auto lextents= grid_fewer.pattern().local_extents(); for (uint32_t y = 0; y < lextents[0]; ++y) { auto gcorner_fewer = grid_fewer.pattern().global({y, 0}); auto gbegin = grid_more.begin() + grid_more.pattern().global_at(gcorner_fewer); auto loffset = grid_fewer.pattern().local_at({y, 0}); dash::copy(gbegin, gbegin + lextents[1], grid_fewer.lbegin() + loffset); } team_fewer.barrier(); if (team_fewer.myid() == 0) { auto gextents = grid_fewer.extents(); for ( uint32_t y = 0; y < gextents[0]; ++y) { std::cout << "[" << y << "] := {"; for (uint32_t x = 0; x < gextents[1]; ++x) std::cout << " " << (double)grid_fewer[y][x]; std::cout << "}\n"; } } team_fewer.barrier(); } team_all.barrier(); dash::finalize(); return 0; }
Running this with 4 units results in an infinite loop on unit 0 (the one which pulls the matrix into its local memroy):
[ -1 DEBUG ] [ 18554 ] Init.cc :34 | dash::init | dash::util::Config::init() [ -1 DEBUG ] [ 18554 ] Init.cc :48 | dash::init | dart_init() [ -1 DEBUG ] [ 18555 ] Init.cc :34 | dash::init | dash::util::Config::init() [ -1 DEBUG ] [ 18555 ] Init.cc :48 | dash::init | dart_init() [ -1 DEBUG ] [ 18560 ] Init.cc :34 | dash::init | dash::util::Config::init() [ -1 DEBUG ] [ 18560 ] Init.cc :48 | dash::init | dart_init() [ -1 DEBUG ] [ 18561 ] Init.cc :34 | dash::init | dash::util::Config::init() [ -1 DEBUG ] [ 18561 ] Init.cc :48 | dash::init | dart_init() [ 0 DEBUG ] [ 18554 ] Init.cc :69 | dash::init | dash::util::Locality::init() [ 2 DEBUG ] [ 18560 ] Init.cc :69 | dash::init | dash::util::Locality::init() [ 2 DEBUG ] [ 18560 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 2 [ 2 DEBUG ] [ 18560 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 2 DEBUG ] [ 18560 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 2 DEBUG ] [ 18560 ] BlockPattern.h :1485 | BlockPattern.init_lcapacity > | |- l_capacity: 64 [ 2 DEBUG ] [ 18560 ] BlockPattern.h :1496 | BlockPattern.init_local_range() | |- l_size: 64 [ 2 DEBUG ] [ 18560 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 2 DEBUG ] [ 18560 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 8 0 } [ 2 DEBUG ] [ 18560 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 7 7 } [ 2 DEBUG ] [ 18560 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 15 7 } [ 2 DEBUG ] [ 18560 ] BlockPattern.h :1506 | BlockPattern.init_local_range > | |- _lbegin: 128 [ 2 DEBUG ] [ 18560 ] BlockPattern.h :1507 | BlockPattern.init_local_range > | |- _lend: 248 [ 2 DEBUG ] [ 18560 ] GlobStaticMem.h :287 | MemorySpace.MemorySpace | |- team: dash::Team(0) [ 2 DEBUG ] [ 18560 ] AllocationPolicy.h :170 | GlobalAllocationPolicy.do_global_allocate(nlocal)| number of local values: 512 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1485 | BlockPattern.init_lcapacity > | |- l_capacity: 64 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1496 | BlockPattern.init_local_range() | |- l_size: 64 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 0 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 7 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 7 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1506 | BlockPattern.init_local_range > | |- _lbegin: 0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1507 | BlockPattern.init_local_range > | |- _lend: 120 [ 0 DEBUG ] [ 18554 ] GlobStaticMem.h :287 | MemorySpace.MemorySpace | |- team: dash::Team(0) [ 0 DEBUG ] [ 18554 ] AllocationPolicy.h :170 | GlobalAllocationPolicy.do_global_allocate(nlocal)| number of local values: 512 [ 3 DEBUG ] [ 18561 ] Init.cc :69 | dash::init | dash::util::Locality::init() [ 1 DEBUG ] [ 18555 ] Init.cc :69 | dash::init | dash::util::Locality::init() [ 3 DEBUG ] [ 18561 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 3 [ 3 DEBUG ] [ 18561 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 3 DEBUG ] [ 18561 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 3 DEBUG ] [ 18561 ] BlockPattern.h :1485 | BlockPattern.init_lcapacity > | |- l_capacity: 64 [ 3 DEBUG ] [ 18561 ] BlockPattern.h :1496 | BlockPattern.init_local_range() | |- l_size: 64 [ 3 DEBUG ] [ 18561 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 3 DEBUG ] [ 18561 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 8 8 } [ 3 DEBUG ] [ 18561 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 7 7 } [ 3 DEBUG ] [ 18561 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 15 15 } [ 3 DEBUG ] [ 18561 ] BlockPattern.h :1506 | BlockPattern.init_local_range > | |- _lbegin: 136 [ 3 DEBUG ] [ 18561 ] BlockPattern.h :1507 | BlockPattern.init_local_range > | |- _lend: 256 [ 3 DEBUG ] [ 18561 ] GlobStaticMem.h :287 | MemorySpace.MemorySpace | |- team: dash::Team(0) [ 3 DEBUG ] [ 18561 ] AllocationPolicy.h :170 | GlobalAllocationPolicy.do_global_allocate(nlocal)| number of local values: 512 [ 1 DEBUG ] [ 18555 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 1 DEBUG ] [ 18555 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 1 DEBUG ] [ 18555 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 1 DEBUG ] [ 18555 ] BlockPattern.h :1485 | BlockPattern.init_lcapacity > | |- l_capacity: 64 [ 1 DEBUG ] [ 18555 ] BlockPattern.h :1496 | BlockPattern.init_local_range() | |- l_size: 64 [ 1 DEBUG ] [ 18555 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 1 DEBUG ] [ 18555 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 0 8 } [ 1 DEBUG ] [ 18555 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 7 7 } [ 1 DEBUG ] [ 18555 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 7 15 } [ 1 DEBUG ] [ 18555 ] BlockPattern.h :1506 | BlockPattern.init_local_range > | |- _lbegin: 8 [ 1 DEBUG ] [ 18555 ] BlockPattern.h :1507 | BlockPattern.init_local_range > | |- _lend: 128 [ 1 DEBUG ] [ 18555 ] GlobStaticMem.h :287 | MemorySpace.MemorySpace | |- team: dash::Team(0) [ 1 DEBUG ] [ 18555 ] AllocationPolicy.h :170 | GlobalAllocationPolicy.do_global_allocate(nlocal)| number of local values: 512 [ 3 DEBUG ] [ 18561 ] Team.h :291 | Team.register_deallocator() | |- object: 0x7fff2af4e840 [ 3 DEBUG ] [ 18561 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 3 DEBUG ] [ 18561 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 8 8 } [ 1 DEBUG ] [ 18555 ] Team.h :291 | Team.register_deallocator() | |- object: 0x7fff61569620 [ 1 DEBUG ] [ 18555 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 1 DEBUG ] [ 18555 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 0 8 } [ 0 DEBUG ] [ 18554 ] Team.h :291 | Team.register_deallocator() | |- object: 0x7fff0e6ff570 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 0 0 } [ 2 DEBUG ] [ 18560 ] Team.h :291 | Team.register_deallocator() | |- object: 0x7ffd1a2f5ef0 [ 2 DEBUG ] [ 18560 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 2 DEBUG ] [ 18560 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 8 0 } [ 2 DEBUG ] [ 18560 ] Team.cc :81 | Team.split() | |- num_parts: 4 [ 1 DEBUG ] [ 18555 ] Team.cc :81 | Team.split() | |- num_parts: 4 [ 3 DEBUG ] [ 18561 ] Team.cc :81 | Team.split() | |- num_parts: 4 [ 0 DEBUG ] [ 18554 ] Team.cc :81 | Team.split() | |- num_parts: 4 [ 0 DEBUG ] [ 18554 ] Team.h :569 | Team.register_team | team id: 1 [ 1 DEBUG ] [ 18555 ] Team.h :569 | Team.register_team | team id: 2 [ 2 DEBUG ] [ 18560 ] Team.h :569 | Team.register_team | team id: 3 [ 3 DEBUG ] [ 18561 ] Team.h :569 | Team.register_team | team id: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 16 16 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1485 | BlockPattern.init_lcapacity > | |- l_capacity: 256 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1496 | BlockPattern.init_local_range() | |- l_size: 256 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 15 15 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1506 | BlockPattern.init_local_range > | |- _lbegin: 0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1507 | BlockPattern.init_local_range > | |- _lend: 256 [ 0 DEBUG ] [ 18554 ] GlobStaticMem.h :287 | MemorySpace.MemorySpace | |- team: dash::Team(1.0) [ 0 DEBUG ] [ 18554 ] AllocationPolicy.h :170 | GlobalAllocationPolicy.do_global_allocate(nlocal)| number of local values: 2048 [ 0 DEBUG ] [ 18554 ] Team.h :291 | Team.register_deallocator() | |- object: 0x7fff0e6ff920 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :597 | LocalityDomain.init() | domain: .0 [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :647 | LocalityDomain.init > | domain: .0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 0 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 0 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 0 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 1 0 } [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :597 | LocalityDomain.init() | domain: .0 [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :647 | LocalityDomain.init > | domain: .0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 1 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 1 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 1 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 1 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 2 0 } [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :597 | LocalityDomain.init() | domain: .0 [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :647 | LocalityDomain.init > | domain: .0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 2 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 2 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 2 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 2 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 3 0 } [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :597 | LocalityDomain.init() | domain: .0 [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :647 | LocalityDomain.init > | domain: .0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 3 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 3 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 3 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 3 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 4 0 } [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :597 | LocalityDomain.init() | domain: .0 [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :647 | LocalityDomain.init > | domain: .0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 4 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 4 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 4 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 4 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 5 0 } [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :597 | LocalityDomain.init() | domain: .0 [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :647 | LocalityDomain.init > | domain: .0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 5 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 5 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 5 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 5 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 6 0 } [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :597 | LocalityDomain.init() | domain: .0 [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :647 | LocalityDomain.init > | domain: .0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 6 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 6 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 6 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 6 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 7 0 } [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :597 | LocalityDomain.init() | domain: .0 [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :647 | LocalityDomain.init > | domain: .0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 2 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 7 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 7 0 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 7 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :738 | BlockPattern.global > | |- glob_index: long { 7 7 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 1 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 } [ 0 DEBUG ] [ 18554 ] BlockPattern.h :714 | BlockPattern.global() | |- local_coords: long { 8 0 } [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :597 | LocalityDomain.init() | domain: .0 [ 0 DEBUG ] [ 18554 ] LocalityDomain.cc :647 | LocalityDomain.init > | domain: .0 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1516 | BlockPattern.init_local_extents() | |- unit: 2 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1517 | BlockPattern.init_local_extents() | |- _nunits: 4 [ 0 DEBUG ] [ 18554 ] BlockPattern.h :1578 | BlockPattern.init_local_extents > | |- l_extents: unsigned long { 8 8 }
The last two lines are reapeated indefinitly.
The text was updated successfully, but these errors were encountered:
Fixed in #659
Sorry, something went wrong.
fuchsto
Successfully merging a pull request may close this issue.
I have a code which wants to copy a NArray to a NArray which has a smaller team and uses
dash::copy
for each line:Running this with 4 units results in an infinite loop on unit 0 (the one which pulls the matrix into its local memroy):
The last two lines are reapeated indefinitly.
The text was updated successfully, but these errors were encountered: