Changing Task 2 communicator bounds

This commit is contained in:
Noah L. Schrick 2022-01-29 16:37:43 -06:00
parent 8e7977ba17
commit 2156e30c57
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -421,7 +421,7 @@ AGGenInstance &AGGen::generate(bool batch_process, int batch_size, int numThrd,
//Create Communicators //Create Communicators
boost::mpi::communicator tcomm = world.split(world.rank() > 0 && world.rank() <= alloc); boost::mpi::communicator tcomm = world.split(world.rank() > 0 && world.rank() <= alloc);
boost::mpi::communicator ttwo_comm = world.split(world.rank() == send_check(world, alloc) && world.rank() <= send_check(world, 2*two_alloc)); boost::mpi::communicator ttwo_comm = world.split(world.rank() == send_check(world, alloc) && world.rank() <= (2*two_alloc));
//Task 0 to Task 1 Communication //Task 0 to Task 1 Communication
if(world.rank() == 0) if(world.rank() == 0)