Adding debugging prints

This commit is contained in:
Noah L. Schrick 2022-01-30 17:06:03 -06:00
parent fd4ffdfd10
commit da3702bd6e
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -147,6 +147,8 @@ void task_one(AGGenInstance &instance, NetworkState &current_state,\
if (two_alloc < alloc) if (two_alloc < alloc)
skip_greatest = 1; skip_greatest = 1;
if(world.rank() <= alloc - skip_greatest){ if(world.rank() <= alloc - skip_greatest){
std::cout << "Process " << world.rank() << " sending applicable exploit list of size " << appl_exploits.size() <<\
" to Process " << send_check(world, world.rank() + alloc -1) << std::endl;
world.isend(send_check(world, world.rank() + alloc -1), 30, appl_exploits); world.isend(send_check(world, world.rank() + alloc -1), 30, appl_exploits);
world.isend(send_check(world, world.rank() + alloc -1), 40, current_state); world.isend(send_check(world, world.rank() + alloc -1), 40, current_state);
} }