mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: fileOperation: avoid par syn in uncollated. Fixes #846.
This commit is contained in:
@ -2396,7 +2396,10 @@ int main(int argc, char *argv[])
|
||||
instantList timeDirs;
|
||||
if (Pstream::master())
|
||||
{
|
||||
const bool oldParRun = Pstream::parRun();
|
||||
Pstream::parRun() = false;
|
||||
timeDirs = Time::findTimes(args.path(), "constant");
|
||||
Pstream::parRun() = oldParRun;
|
||||
}
|
||||
Pstream::scatter(timeDirs);
|
||||
for (const instant& t : timeDirs)
|
||||
@ -2432,7 +2435,10 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (Pstream::master())
|
||||
{
|
||||
const bool oldParRun = Pstream::parRun();
|
||||
Pstream::parRun() = false;
|
||||
timeDirs = Time::findTimes(basePath, "constant");
|
||||
Pstream::parRun() = oldParRun;
|
||||
}
|
||||
Pstream::scatter(timeDirs);
|
||||
for (const instant& t : timeDirs)
|
||||
|
||||
Reference in New Issue
Block a user