mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
foamJob: Updated to support collated parallel IO
Resolves bug-report https://bugs.openfoam.org/view.php?id=2632
This commit is contained in:
committed by
Andrew Heather
parent
1eb3f3b18d
commit
092d4f4f0b
@ -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 ]
|
||||
|
||||
Reference in New Issue
Block a user