Changing Task 2 communicator bounds
This commit is contained in:
parent
8e7977ba17
commit
2156e30c57
BIN
build/ag_gen
BIN
build/ag_gen
Binary file not shown.
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user