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. 串行没问题,并行报无可执行文件,,大神求助

串行没问题,并行报无可执行文件,,大神求助

已定时 已固定 已锁定 已移动 OpenFOAM
3 帖子 2 发布者 4.1k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • 红豆沙红 离线
    红豆沙红 离线
    红豆沙
    写于 最后由 编辑
    #1

    使用hello.c文件测试没问题,运行算例出现无可执行文件
    困扰许久,不知怎么解决,,(因为这个 我把系统都重搞了一编)

    zc7565@chun:~/MPI/openmpi-4.0.1/examples$ mpirun -np 2 hello_c
    Hello, world, I am 0 of 2, (Open MPI v4.0.1, package: Open MPI chun@RedPea Distribution, ident: 4.0.1, repo rev: v4.0.1, Mar 26, 2019, 106)
    Hello, world, I am 1 of 2, (Open MPI v4.0.1, package: Open MPI chun@RedPea Distribution, ident: 4.0.1, repo rev: v4.0.1, Mar 26, 2019, 106)
    
    
    Decomposing mesh region0
    
    Create mesh
    
    Calculating distribution of cells
    Selecting decompositionMethod simple
    
    Finished decomposition in 0 s
    
    Calculating original mesh data
    
    Distributing cells to processors
    
    Distributing faces to processors
    
    Distributing points to processors
    
    Constructing processor meshes
    
    Processor 0
        Number of cells = 1134
        Number of faces shared with processor 1 = 47
        Number of processor patches = 1
        Number of processor faces = 47
        Number of boundary faces = 2381
    
    Processor 1
        Number of cells = 1134
        Number of faces shared with processor 0 = 47
        Number of processor patches = 1
        Number of processor faces = 47
        Number of boundary faces = 2363
    
    Number of processor faces = 47
    Max number of cells = 1134 (0% above average 1134)
    Max number of processor patches = 1 (0% above average 1)
    Max number of faces between processors = 47 (0% above average 47)
    
    Time = 0
    
    Processor 0: field transfer
    Processor 1: field transfer
    
    End
    
    zc7565@chun:~/OpenFOAM/zc7565-dev/run/DM$ mpirun –np 2 interFoam –parallel > log--------------------------------------------------------------------------
    mpirun was unable to find the specified executable file, and therefore
    did not launch the job.  This error was first reported for process
    rank 0; it may have occurred for other processes as well.
    
    NOTE: A common cause for this error is misspelling a mpirun command
          line parameter option (remember that mpirun interprets the first
          unrecognized command line token as the executable).
    
    Node:       chun
    Executable: –np
    
    

    世界那么大,怎能不去看看

    1 条回复 最后回复
  • W 离线
    W 离线
    wwzhao 超神
    写于 最后由 编辑
    #2

    mpirun 把 -np 当成程序名了,你的横线写错了, – 应该为 - 。

    红豆沙红 1 条回复 最后回复
  • 红豆沙红 离线
    红豆沙红 离线
    红豆沙
    在 中回复了 wwzhao 最后由 编辑
    #3

    @wwzhao 谢谢拉 困扰了我这么久 还一直以为是 环境变量的问题呢

    世界那么大,怎能不去看看

    1 条回复 最后回复

  • 登录

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