Skip to content
Snippets Groups Projects
Commit 5be652d0 authored by mattijs's avatar mattijs Committed by Andrew Heather
Browse files

ENH: hostCollated: naming without ranges if running on single rank

parent 31825dd9
Branches
Tags
1 merge request!605improve fileHandler support for redistributePar
......@@ -573,11 +573,16 @@ Foam::word Foam::fileOperations::collatedFileOperation::processorsDir
break;
}
}
procDir +=
+ "_"
+ Foam::name(minProc)
+ "-"
+ Foam::name(maxProc);
// Add range if not all processors
if (maxProc-minProc+1 != nProcs_)
{
procDir +=
+ "_"
+ Foam::name(minProc)
+ "-"
+ Foam::name(maxProc);
}
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment