Commit 092d4f4f authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

foamJob: Updated to support collated parallel IO

Resolves bug-report https://bugs.openfoam.org/view.php?id=2632
parent 1eb3f3b1
......@@ -198,9 +198,9 @@ then
#
# Check if the case decomposed
#
if [ -r "processor0" ]
if [ -r "processor0" -o -r "processors" ]
then
NPROCS="`/bin/ls -1d processor* | wc -l`"
NPROCS="$(foamDictionary -entry numberOfSubdomains -value system/decomposeParDict)"
else
echo "Case is not currently decomposed"
if [ -r system/decomposeParDict ]
......
Supports Markdown
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