Skip to content
Snippets Groups Projects
Commit cbb9f25f authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

foamJob: Updated to support collated parallel IO

parent d9d8989d
Branches
Tags
1 merge request!144Integration openfoam.org
...@@ -198,9 +198,9 @@ then ...@@ -198,9 +198,9 @@ then
# #
# Check if the case decomposed # Check if the case decomposed
# #
if [ -r "processor0" ] if [ -r "processor0" -o -r "processors" ]
then then
NPROCS="`/bin/ls -1d processor* | wc -l`" NPROCS="$(foamDictionary -entry numberOfSubdomains -value system/decomposeParDict)"
else else
echo "Case is not currently decomposed" echo "Case is not currently decomposed"
if [ -r system/decomposeParDict ] if [ -r system/decomposeParDict ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment