foam-extend-4.0 求解器fsiFoam,decomposePar 报错
-
foam-extend-4.0 求解器fsiFoam,并行方法是scotch,decomposePar -cellDist 操作出现如下问题。跪求大佬解答!附上两个log文件。
log.decomposePar log.decomposePar.solid
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | For copyright notice see file Copyright | \*---------------------------------------------------------------------------*/ Build : 4.0 Exec : decomposePar -cellDist Date : May 17 2024 Time : 10:04:23 Host : dyfluid PID : 65508 CtrlDict : "/home/dyfluid/fe40_tanhao/fsiFoam/cylinderAsidePlate/cylinderAsidePlate_Re100_1.5D_laminar_inlet/fluid/system/controlDict" Case : /home/dyfluid/fe40_tanhao/fsiFoam/cylinderAsidePlate/cylinderAsidePlate_Re100_1.5D_laminar_inlet/fluid nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Time = 0 Create mesh for region region0 Calculating distribution of cells --> FOAM Warning : From function dlLibraryTable::open(const fileName& functionLibName) in file db/dlLibraryTable/dlLibraryTable.C at line 124 could not load libmpi.so.1: cannot open shared object file: No such file or directory --> FOAM Warning : From function decompositionMethod::loadExternalLibraries() in file decompositionMethod/decompositionMethod.C at line 508 Loading of decomposition library libparMetisDecomp.so unsuccesful. Some decomposition methods may not be available Selecting decompositionMethod scotch
-
@李东岳 李老师您好!首先感谢您的回复。我在fe-40的tutorial中找到pisoFoam的算例——cavity。执行decomposePar依旧存在上述问题。无论是用scotch还是simple均会存在上述问题。目前我是在dyfluid下载的虚拟机上运行的。
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | For copyright notice see file Copyright | \*---------------------------------------------------------------------------*/ Build : 4.0 Exec : decomposePar Date : May 17 2024 Time : 14:35:59 Host : dyfluid PID : 69780 CtrlDict : "/home/dyfluid/fe40_tanhao/pisoFoam/cavity/system/controlDict" Case : /home/dyfluid/fe40_tanhao/pisoFoam/cavity nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Time = 0 Create mesh for region region0 Calculating distribution of cells --> FOAM Warning : From function dlLibraryTable::open(const fileName& functionLibName) in file db/dlLibraryTable/dlLibraryTable.C at line 124 could not load libmpi.so.1: cannot open shared object file: No such file or directory --> FOAM Warning : From function decompositionMethod::loadExternalLibraries() in file decompositionMethod/decompositionMethod.C at line 508 Loading of decomposition library libparMetisDecomp.so unsuccesful. Some decomposition methods may not be available Selecting decompositionMethod scotch
之前一直没有注意到这个Warning,反正都能算,但有时reconstructPar的结果会出现混乱。如图1所示。这张图片是paraview在case type 为 Reconstructed Case 时显示的。
然而如果不进行reconstructPar,在paraview在case type 为 Decomposed Case 时则显示内容如图2所示。用单核跑的结果仍为图2所示。
李老师请多指教!!!
-
http://dyfluid.com/download.html
是这个新版本虚拟机么
-
记录一下,由于fe40太老了,在ubuntu2204下面编译以下问题,给我卡住了1个小时..
- sigFpe.C文件要改malloc
- scotch要用6.0.4,不能用6.0.0
- scotch要自己编译
- fe41默认lib创建so连接,要不然还是找不到
2024年5月17日 02:24
9/12
2024年6月15日 18:38