foamJob: Updated to support collated parallel IO
Resolves bug-report https://bugs.openfoam.org/view.php?id=2632
This commit is contained in:
parent
c6f365f6cc
commit
2fb9ffc651
1 changed files with 2 additions and 2 deletions
|
|
@ -175,9 +175,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 ]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue