one-hpc
NotionNext | 一个普通的干饭人🍚
0
软件编译
🗒️
centos编译openfoam
Words
286
Read Time≈
1
min
2024-1-20
2025-11-19
你好!我是
NotionNext
了解更多
Catalog
mkdir /opt/openmpi
cd /opt/openmpi
wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.4.tar.gz
tar -xvf openmpi-4.0.4.tar.gz
cd openmpi-4.0.0
./configure --prefix=/opt/openmpi
make -j && make install
export PATH=/opt/openmpi/bin:$PATH
export LD_LIBRARY_PATH=/opt/openmpi/lib:$LD_LIBRARY_PATH
mkdir /opt/openfoam
cd /opt/openfoam
wget -O - http://dl.openfoam.org/source/8 | tar xvz
wget -O - http://dl.openfoam.org/third-party/8 | tar xvz
mv OpenFOAM-8-version-8 OpenFOAM-8
mv ThirdParty-8-version-8 ThirdParty-8
cd /opt/openfoam/OpenFOAM-8
source /opt/openfoam/OpenFOAM-8/etc/bashrc
./Allwmake -j
yum -y install centos-release-scl
yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-binutils
scl enable devtoolset-7 bash
cd /opt/ openfoam/
wget http://www.zlib.net/zlib-1.2.11.tar.gz
tar zxvf zlib-1.2.11.tar.gz
cd zlib-1.2.11
./configure
make test
make install
make clean
./configure --shared
blockMesh
交流频道
加入我们的社群讨论分享
点击加入社群
Latest posts
centos编译openfoam
2025-11-19
win10-wsl2安装
2025-7-4
lammps安装编译.md
2025-4-23
centos下查看并杀死僵尸进程
2025-3-28
centos7进入单用户模式
2025-3-28
centos7安装xrdp远程桌面服务
2025-3-28
推荐
6
健康
3
文字
2
开发
2
新闻
1
工具
1
建站
1
金钱
1
文章数:
20
建站天数:
1729 天
访问量:
访客数: