|
[Sponsors] |
Open MPI error in codestream and calcEntry usage |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 23, 2019, 10:16 |
Open MPI error in codestream and calcEntry usage
|
#1 |
Member
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 47
Rep Power: 8 |
Hi everyone,
I am trying to use a setup file in the main case directory with all necessary parameters inside, and then include it in necessary files, such as blockMesh, controlDict etc... Hence, it is easier to adjust other parameters automatically with #calc "..." command and such. The problem is, I get the following error in applications which I run in parallel: Code:
---------------------------------------------------------------------------- Open MPI has detected that a parameter given to a command line option does not match the expected format: Option: np Param: Using This is frequently caused by omitting to provide the parameter to an option that requires one. Please check the command line and try again. ---------------------------------------------------------------------------- Code:
Using #calcEntry at line 46 in file "/cfd/honel/OpenFOAM/honel-5.x/case.base/system/controlDict" Using #codeStream with "/cfd/honel/OpenFOAM/honel-5.x/case.base/dynamicCode/platforms/linux64Gcc48DPInt64Opt/lib/libcodeStream_fe2cc5f31c42fb4ac156bdafc23258752b41bb69.so" |
|
June 23, 2019, 10:27 |
|
#2 |
Member
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 47
Rep Power: 8 |
UPDATE: I have narrowed down the problem. I guess, the issue occurs when I define the numberOfSubdomains parameter in decomposeParDict by including an external file, such as:
Code:
#include "../setupCase" numberOfSubdomains $N_PROCS_; Code:
numberOfSubdomains 64; |
|
|
|