diff --git a/tracy/tools/soltracy.cc b/tracy/tools/soltracy.cc index 138d44f563c0f779aef3d54e61ed337a8dd86204..e0f738f0b6d7fd244bfc85dc9ced7e32f183fdbf 100644 --- a/tracy/tools/soltracy.cc +++ b/tracy/tools/soltracy.cc @@ -461,7 +461,8 @@ int main(int argc, char *argv[]) { UserCommandFlag[i]._FmapFlag_ymax, UserCommandFlag[i]._FmapFlag_delta, UserCommandFlag[i]._FmapFlag_diffusion, - numprocs,myid); + UserCommandFlag[i]._FmapFlag_printloss, + numprocs,myid); //Synchronize all cores, till all cores finish fmap of different region,then all cores will proceed. MPI_Barrier(MPI_COMM_WORLD); @@ -542,7 +543,8 @@ int main(int argc, char *argv[]) { UserCommandFlag[i]._FmapdpFlag_emax, UserCommandFlag[i]._FmapdpFlag_z, UserCommandFlag[i]._FmapdpFlag_diffusion, - numprocs,myid); + UserCommandFlag[i]._FmapFlag_printloss + numprocs,myid); //Synchronize all cores, till all cores finish fmap of different region,then all cores will proceed. MPI_Barrier(MPI_COMM_WORLD);