diff --git a/src/cltools/Benchmark.cpp b/src/cltools/Benchmark.cpp index 9f251fc6f0..697606d794 100644 --- a/src/cltools/Benchmark.cpp +++ b/src/cltools/Benchmark.cpp @@ -635,8 +635,7 @@ int Benchmark::main(FILE* in, FILE*out,Communicator& pc) { // read other flags: bool shuffled=false; parseFlag("--shuffled",shuffled); - if (shuffled) - log << "Using --shuffled\n"; + int nf; parse("--nsteps",nf); log << "Using --nsteps=" << nf << "\n"; unsigned natoms; parse("--natoms",natoms); @@ -646,12 +645,15 @@ int Benchmark::main(FILE* in, FILE*out,Communicator& pc) { bool domain_decomposition=false; parseFlag("--domain-decomposition",domain_decomposition); - if (domain_decomposition) - log << "Using --domain-decomposition\n"; if(pc.Get_size()>1) domain_decomposition=true; if(domain_decomposition) shuffled=true; + if (shuffled) + log << "Using --shuffled\n"; + if (domain_decomposition) + log << "Using --domain-decomposition\n"; + double timeToSleep; parse("--sleep",timeToSleep); log << "Using --sleep=" << timeToSleep << "\n";