我想学习一下怎么用 OpenFOAM:applications/test/parallel 里面的并行函数
遇见如下几个问题:
1.直接编译运行显示需要读 system/controlDict 文件,但是 test 中没有给
2.随便找了个 controlDict 文件可以读,且可以运行 Test-parallel
3.mpirun -np 4 Test-parallel 运行之后,并没有真的并行,而是把 Test-parallel 独立运行了四次
4.mpirun -np 4 Test-parallel -parallel 运行报错:
[0]
[0]
[0] --> FOAM FATAL ERROR:
[0] Cannot read "/home/xq/OpenFOAM/OpenFOAM-2.3.1/applications/test/parallel/system/decomposeParDict"
[0]
FOAM parallel run exiting
[0]
[XQ:04726] 1 more process has sent help message help-btl-vader.txt / cma-permission-denied
[XQ:04726] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
5.应该如何运行 Test-parallel ?实现 Test-paralle.C 中代码正常运行的结果?
先谢过各位大佬!