OpenFOAM22x编译错误
-
find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='
之前编译OpenFOAM22x出现错误,后来用这个语句弄好了,给需要的人好了。
https://www.cfd-online.com/Forums/openfoam-installation/163986-building-openfoam-3-0-archlinux.html -
感谢分享!最近安装低版本的OpenFOAM做原有的程序二次开发,用到了这个语句~~,
在此分享一个基于不同Linux系统的OpenFOAM不同版本安装总结,亲测OF211,OF231 再 Ubuntu 16.04 安装成功无Error!
https://openfoamwiki.net/index.php/Installation/Linux
再次感谢!
2017年6月14日 12:49
3/3
2020年3月22日 06:35