openfoam 安装失败
-
@yupeng 你可以把你的OpenFOAM文件夹直接删掉,重新运行下面的试试
cd $HOME && mkdir OpenFOAM && sudo apt update && sudo apt-get install -y build-essential flex bison git-core cmake zlib1g-dev libboost-system-dev libboost-thread-dev libopenmpi-dev openmpi-bin gnuplot libreadline-dev libncurses-dev libxt-dev && cd OpenFOAM && git clone https://e.coding.net/dyfluid/OpenFOAM/OpenFOAM-9.git && git clone https://e.coding.net/dyfluid/OpenFOAM/ThirdParty-9.git && source OpenFOAM-9/etc/bashrc && cd OpenFOAM-9 && ./Allwmake -j && sed -i '$a source $HOME/OpenFOAM/OpenFOAM-9/etc/bashrc' $HOME/.bashrc
-
你这个机器上已经装了intelmpi,是谁给你装的,环境变量乱了,你要设置成export WM_MPLIB=INTELMPI 不过还有一些其他的需要设置,可能不是这么简单。https://www.cfd-china.com/topic/5491
最简单的方法是,你按照我这个来,做个新系统,重新来一遍。保证没问题。http://dyfluid.com/install.html