intelMPI在ubuntu下面的编译方法
-
-
下载intelMPI https://www.jianguoyun.com/p/DX7jqOUQk_icChiq-a0E
-
复制到Ubuntu系统下,运行.sh文件进行安装到任意文件夹,我的装到了这里:
/home/dyfluid/intel/oneapi/mpi/2021.5.1/include
-
OpenFOAM-9/etc/basrhc:
export WM_MPLIB=INTELMPI
-
OpenFOAM-9/etc/config.sh/mpi:
export MPI_ROOT=/home/dyfluid/intel/oneapi/mpi/2021.5.1/include
-
source /home/dyfluid/intel/oneapi/setvars.sh source /home/dyfluid/OpenFOAM/OpenFOAM-9/etc/bashrc
-
编译即可
-
-
李 李东岳 被引用 于这个主题