X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=distancecommand.cpp;h=503f64b21cfd0ae64ec7413c7bfc3dc993e7e2d3;hb=0fb6d165c8dc8dc7153a101513a05f457431d0bc;hp=ec32ffeb9e2e28b7398f78c5dd5fd858de2326a0;hpb=89d6711c2beed6ee75fb00e5e57f1a91564d3e89;p=mothur.git diff --git a/distancecommand.cpp b/distancecommand.cpp index ec32ffe..503f64b 100644 --- a/distancecommand.cpp +++ b/distancecommand.cpp @@ -300,6 +300,7 @@ int DistanceCommand::execute(){ MPI_Send(&size, 1, MPI_LONG, 0, tag, MPI_COMM_WORLD); } } + MPI_Barrier(MPI_COMM_WORLD); //make everyone wait - just in case #else #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)