redistributePar -decompose with inconsistent nProcs
Functionality to add/problem to solve
redistributePar -decompose gives illogical error message if the number of procs does not equal the number in the decomposeParDict. E.g. in decomposeParDict:
numberOfSubdomains 2;
Run with
mpirun -np 4 redistributePar -decompose -parallel
Produces output
[0] --> FOAM FATAL ERROR: (openfoam-2202 patch=220310)
[0] number of processor directories = 1 is not equal to the number of processors = 4
which is not very helpful.