diff --git a/tests/TestSegDist.cpp b/tests/TestSegDist.cpp index f1e55ddd..cf002d15 100644 --- a/tests/TestSegDist.cpp +++ b/tests/TestSegDist.cpp @@ -44,6 +44,7 @@ int main(int argc, char **argv) // Get the rank info Domain Dm(nx,ny,nz,rank,nprocx,nprocy,nprocz,Lx,Ly,Lz,BC); + Dm.CommInit(MPI_COMM_WORLD); nx+=2; ny+=2; nz+=2; int count = 0;