多线程这个错误怎么解决
-
[DESKTOP-CHOIST:01362] 3 more processes have sent help message help-btl-vader.txt / cma-permission-denied [DESKTOP-CHOIST:01362] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
CFD-online上有相关帖子,
https://www.cfd-online.com/Forums/openfoam-solving/229816-cma-permission-denied-message-parallel-running.html
转到油管,但是没看懂 -
类似我这种吧:?
[30] #17 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [30] #18 ? in "/home/dyfluid/OpenFOAM/OpenFOAM-8/platforms/linux64GccDPInt32Opt/bin/simpleFoam" ? in "/home/dyfluid/OpenFOAM/OpenFOAM-8/platforms/linux64GccDPInt32Opt/bin/simpleFoam" [59] #17 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [59] #18 ? in "/home/dyfluid/OpenFOAM/OpenFOAM-8/platforms/linux64GccDPInt32Opt/bin/simpleFoam" in "/home/dyfluid/OpenFOAM/OpenFOAM-8/platforms/linux64GccDPInt32Opt/bin/simpleFoam" [15] #17 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [15] #18 ? in "/home/dyfluid/OpenFOAM/OpenFOAM-8/platforms/linux64GccDPInt32Opt/bin/simpleFoam" [dyfluid-Super-Server:93809] 59 more processes have sent help message help-mpi-api.txt / mpi-abort [dyfluid-Super-Server:93809] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
发散了而已。具体原因要看上面的信息,你给出的是最后俩行。
-
@李东岳
不拆分线程不发散,拆分了线程一步都算不下去
我还以为是在windows下用Ubuntu的原因(不是虚拟机)No MRF models present No finite volume options present DICPCG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 Courant Number mean: 0 max: 0 Starting time loop Courant Number mean: 0 max: 0 Interface Courant Number mean: 0 max: 0 deltaT = 0.000119999 Time = 0.000119999 [DESKTOP-719V74U:00266] 15 more processes have sent help message help-btl-vader.txt / cma-permission-denied [DESKTOP-719V74U:00266] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
-
类似的案例,我也遇到过,我的案例是在跑别人的代码时出错的,在出现的“No MRF models present/n No finite volume options present"报错,且后面出现了”Kill“字祥时,其中“Kill”字样很重要。
到后面我发现:我的案例文件放错的位置,原先我放在与OF整体文件的所在的主文件夹内,我的解决是通过将案例放在OF的主文件夹内,而不是在OF主文件夹外,这成功。
首先说我为什么这么做:- 出现MRF警告时,我也以为时MRF链接出了问题,但事实是其他案例是正常的,故排除MRF问题;
- 我看到所引用的案例包内有:platfrom文件且内部为”linux64GccDPint32Opt“,这与OF主文件一致,我猜测事路径出了问题,最终事实如此。