foamJob does not run in parallel when using the collated file format
Summary
When attempting to execute an application in parallel through foamJob
and the case is decomposed using the collated file format, foamJob
sees the case as not decomposed.
Example case
Execute the Allrun
in the attached case
Environment information
- OpenFOAM version : 2204
Possible fixes
$nProcs
seems to be missing in line 191, i.e. using
[ -r "processor0" ] || [ -r "processors"$nProcs ] || {
instead of
[ -r "processor0" ] || [ -r "processors" ] || {
seems to be fixing the issue.