OpenFoam2.4.0 cannot find input file: `contrib/dist/mofed/debian/changelog解决方案

centOs使用系统自带三方安装包openmpi安装时会出现“cannot find input file: `contrib/dist/mofed/debian/changelog”报错。

原因:Openfoam 自带ThirdParty中openmpi-1.8.5 安装包与openmpi官网的1.8.5版本存在差异,导致openfoam中的编译脚本存在问题。

解决方案:

    foam3rdParty
    wget www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.5.tar.gz
    tar -xf openmpi-1.8.5.tar.gz

亲测有效

关于问题的详细解释参考:

https://bugs.openfoam.org/view.php?id=1770

该问题在openfoam-2.4-0后版本已被修复。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章