preparePar does not accept option -decomposeParDict
As follows:
$ preparePar -help
Usage: preparePar [OPTIONS]
options:
-case <dir> specify alternate case directory, default is the cwd
-decomposeParDict <file>
read decomposePar dictionary from specified location
-fileHandler <handler>
override the file handler type
-noFunctionObjects
do not execute function objects
-parallel run in parallel
-roots <(dir1 .. dirN)>
slave root directories for distributed running
-doc display application documentation in browser
-doc-source display source code in browser
-help print usage information and exit
-help-full print full usage information and exit
Using: OpenFOAM-v1712 (see www.OpenFOAM.com)
Build: v1712
Arch: "LSB;label=32;scalar=64"
$ preparePar -decomposeParDict system/decomposeParDictMesher
...
--> FOAM FATAL ERROR:
cannot find file "/home/ram/projects/consistentOn-b_1nOC/meshTest/system/decomposeParDict"
From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 502.
FOAM exiting