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