Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

  1. CFD中文网
  2. OpenFOAM
  3. foam-extend4.1并行分块无法使用scotch

foam-extend4.1并行分块无法使用scotch

已定时 已固定 已锁定 已移动 OpenFOAM
4 帖子 2 发布者 917 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • 杜 离线
    杜 离线
    杜浚平
    写于2024年12月14日 09:21 最后由 编辑
    #1

    在Ubuntu20.04按照教程安装完foam-extend-4.1后尝试并行计算时出现问题:

    /*---------------------------------------------------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | foam-extend: Open Source CFD                    |
    |  \\    /   O peration     | Version:     4.1                                |
    |   \\  /    A nd           | Web:         http://www.foam-extend.org         |
    |    \\/     M anipulation  | For copyright notice see file Copyright         |
    \*---------------------------------------------------------------------------*/
    Build  : 4.1-70b064d0f326
    Exec   : decomposePar
    Date   : Dec 14 2024
    Time   : 16:52:09
    Host   : "ad"
    PID    : 216409
    CtrlDict : "/home/ad/foam/ad-4.1/run/qianyuan/case1/line2/20241209/try/21.6/system/controlDict"
    Case   : /home/ad/foam/ad-4.1/run/qianyuan/case1/line2/20241209/try/21.6
    nProcs : 1
    sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    allowSystemOperations : Disallowing user-supplied system call operations
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time
    
    --> FOAM Warning :
        From function void* Foam::dlOpen(const Foam::fileName&, bool)
        in file POSIX.C at line 1204
        dlopen error : /home/ad/foam/ad-4.1/lib/linux64GccDPInt32Opt/libvorticityTurbulence.so: undefined symbol: _ZNK4Foam14incompressible9RASModels10kOmegaSSTV10divDevReffEv
    --> FOAM Warning :
        From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
        in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97
        could not load "libvorticityTurbulence.so"
    Time = 63000
    Create mesh for region region0
    
    Calculating distribution of cells
    --> FOAM Warning :
        From function void* Foam::dlOpen(const Foam::fileName&, bool)
        in file POSIX.C at line 1204
        dlopen error : libscotchDecomp.so: cannot open shared object file: No such file or directory
    --> FOAM Warning :
        From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
        in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97
        could not load "libscotchDecomp.so"
    --> FOAM Warning :
        From function decompositionMethod::loadExternalLibraries()
        in file decompositionMethod/decompositionMethod.C at line 520
        Loading of decomposition library libscotchDecomp.so unsuccesful. Some decomposition methods may not be  available
    --> FOAM Warning :
        From function void* Foam::dlOpen(const Foam::fileName&, bool)
        in file POSIX.C at line 1204
        dlopen error : libmetisDecomp.so: cannot open shared object file: No such file or directory
    --> FOAM Warning :
        From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
        in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97
        could not load "libmetisDecomp.so"
    --> FOAM Warning :
        From function decompositionMethod::loadExternalLibraries()
        in file decompositionMethod/decompositionMethod.C at line 520
        Loading of decomposition library libmetisDecomp.so unsuccesful. Some decomposition methods may not be  available
    --> FOAM Warning :
        From function void* Foam::dlOpen(const Foam::fileName&, bool)
        in file POSIX.C at line 1204
        dlopen error : libparMetisDecomp.so: cannot open shared object file: No such file or directory
    --> FOAM Warning :
        From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
        in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97
        could not load "libparMetisDecomp.so"
    --> FOAM Warning :
        From function decompositionMethod::loadExternalLibraries()
        in file decompositionMethod/decompositionMethod.C at line 520
        Loading of decomposition library libparMetisDecomp.so unsuccesful. Some decomposition methods may not be  available
    Selecting decompositionMethod scotch
    
    
    --> FOAM FATAL ERROR:
    Unknown decompositionMethod scotch
    
    Valid decompositionMethods are :
    
    4
    (
    hierarchical
    manual
    patchConstrained
    simple
    )
    
    
        From function decompositionMethod::New(const dictionary& decompositionDict, const polyMesh& mesh)
        in file decompositionMethod/decompositionMethod.C at line 496.
    
    FOAM exiting
    
    

    请问各位大佬有没有遇见过类似问题,我该如何解决?

    1 条回复 最后回复
  • 杜 离线
    杜 离线
    杜浚平
    写于2024年12月14日 09:28 最后由 编辑
    #2

    貌似是因为自定义了湍流模型后,挂库出现了问题?

    1 条回复 最后回复
  • 杜 离线
    杜 离线
    杜浚平
    写于2024年12月14日 14:29 最后由 编辑
    #3

    对fe41自身算力damBreak使用simple进行分块,也会出现同样的warning:

    /*---------------------------------------------------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | foam-extend: Open Source CFD                    |
    |  \\    /   O peration     | Version:     4.1                                |
    |   \\  /    A nd           | Web:         http://www.foam-extend.org         |
    |    \\/     M anipulation  | For copyright notice see file Copyright         |
    \*---------------------------------------------------------------------------*/
    Build  : 4.1-70b064d0f326
    Exec   : decomposePar
    Date   : Dec 14 2024
    Time   : 20:51:03
    Host   : "ad"
    PID    : 222209
    CtrlDict : "/home/ad/foam/ad-4.1/run/damBreak/system/controlDict"
    Case   : /home/ad/foam/ad-4.1/run/damBreak
    nProcs : 1
    sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    allowSystemOperations : Disallowing user-supplied system call operations
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time
    
    Time = 0
    Create mesh for region region0
    
    Calculating distribution of cells
    --> FOAM Warning :
        From function void* Foam::dlOpen(const Foam::fileName&, bool)
        in file POSIX.C at line 1204
        dlopen error : libscotchDecomp.so: cannot open shared object file: No such file or directory
    --> FOAM Warning :
        From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
        in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97
        could not load "libscotchDecomp.so"
    --> FOAM Warning :
        From function decompositionMethod::loadExternalLibraries()
        in file decompositionMethod/decompositionMethod.C at line 520
        Loading of decomposition library libscotchDecomp.so unsuccesful. Some decomposition methods may not be  available
    --> FOAM Warning :
        From function void* Foam::dlOpen(const Foam::fileName&, bool)
        in file POSIX.C at line 1204
        dlopen error : libmetisDecomp.so: cannot open shared object file: No such file or directory
    --> FOAM Warning :
        From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
        in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97
        could not load "libmetisDecomp.so"
    --> FOAM Warning :
        From function decompositionMethod::loadExternalLibraries()
        in file decompositionMethod/decompositionMethod.C at line 520
        Loading of decomposition library libmetisDecomp.so unsuccesful. Some decomposition methods may not be  available
    --> FOAM Warning :
        From function void* Foam::dlOpen(const Foam::fileName&, bool)
        in file POSIX.C at line 1204
        dlopen error : libparMetisDecomp.so: cannot open shared object file: No such file or directory
    --> FOAM Warning :
        From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
        in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97
        could not load "libparMetisDecomp.so"
    --> FOAM Warning :
        From function decompositionMethod::loadExternalLibraries()
        in file decompositionMethod/decompositionMethod.C at line 520
        Loading of decomposition library libparMetisDecomp.so unsuccesful. Some decomposition methods may not be  available
    Selecting decompositionMethod simple
    
    Finished decomposition in 0 s
    
    Constructing processor meshes
    
    Processor 0
        Number of cells = 575
        Number of faces shared with processor 1 = 26
        Number of faces shared with processor 2 = 24
        Number of processor patches = 2
        Number of processor faces = 50
        Number of boundary faces = 1198
    
    Processor 1
        Number of cells = 559
        Number of faces shared with processor 0 = 26
        Number of faces shared with processor 3 = 23
        Number of processor patches = 2
        Number of processor faces = 49
        Number of boundary faces = 1183
    
    Processor 2
        Number of cells = 559
        Number of faces shared with processor 0 = 24
        Number of faces shared with processor 3 = 25
        Number of processor patches = 2
        Number of processor faces = 49
        Number of boundary faces = 1165
    
    Processor 3
        Number of cells = 575
        Number of faces shared with processor 2 = 25
        Number of faces shared with processor 1 = 23
        Number of processor patches = 2
        Number of processor faces = 48
        Number of boundary faces = 1198
    
    Number of processor faces = 98
    Max number of processor patches = 2
    Max number of faces between processors = 50
    
    Processor 0: field transfer
    Processor 1: field transfer
    Processor 2: field transfer
    Processor 3: field transfer
    
    End.
    
    

    :135:

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于2024年12月15日 06:35 最后由 编辑
    #4

    scotch没装上 重装scotch

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复
2024年12月14日 09:21

1/4

2024年12月14日 09:21

2024年12月15日 06:35
  • 登录

  • 登录或注册以进行搜索。
1 / 4
  • 第一个帖子
    1/4
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]