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
-
编译即可
-
-
因为看好多人都是用ICC+intelMPI,打算实测下用g++可以配套intelMPI使用不,实测可行。
-
李东岳