国产CFD开源软件OneFLOW具备跨平台特性,可以分别在Winows和linux系统下平滑运行。在Windows系统下面的并行计算MPI使用的是Microsoft MPI,这个版本是微软自己做的,当然是比较友好。下面介绍一下在Win10下如何下载安装MSMPI。
下面这个是网站链接:
Microsoft MPI - Message Passing Interfacedocs.microsoft.comMicrosoft MPI (MS-MPI) is a Microsoft implementation of the Message Passing Interface standard for developing and running parallel applications on the Windows platform.
MS-MPI offers several benefits:
- Ease of porting existing code that uses MPICH.
- Security based on Active Directory Domain Services.
- High performance on the Windows operating system.
- Binary compatibility across different types of interconnectivity options.
本文示例需要下载的版本为MS-MPI v10.1.2
具体下载地址为:
Download Microsoft MPI v10.1.2 from Official Microsoft Download Centerwww.microsoft.com![58d82260eb2565be6c763084c5a656b7.png](https://img-blog.csdnimg.cn/img_convert/58d82260eb2565be6c763084c5a656b7.png)
点击后进入页面显示为:
![279f33ab3c4a3045a683e26cd0daffd2.png](https://img-blog.csdnimg.cn/img_convert/279f33ab3c4a3045a683e26cd0daffd2.png)
具体的版本信息为:
![2a738424aab7b0220bc6cf5120278a45.png](https://img-blog.csdnimg.cn/img_convert/2a738424aab7b0220bc6cf5120278a45.png)
系统需求为:
Supported Operating System
Windows 7, Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019
- Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2
可见只要是Win7以上都可以安装。如果系统是Win7以下,以本文观点也没必要做什么MPI计算了。
点击download出现一下界面:
![1681e8b08c913e1b27c8b3519c2888ac.png](https://img-blog.csdnimg.cn/img_convert/1681e8b08c913e1b27c8b3519c2888ac.png)
所有都要选上,其中msmpisetup.exe是mpi运行软件,msmpisdk是安装需要的库,缺一不可。
下载和运行msmpisetup.exe,有
![eb863bf768fb3350545becc1209be294.png](https://img-blog.csdnimg.cn/img_convert/eb863bf768fb3350545becc1209be294.png)
![87bfc749150405462b89587f59c2bde4.png](https://img-blog.csdnimg.cn/img_convert/87bfc749150405462b89587f59c2bde4.png)
![904fcc6ce9f8c2484c31cab234638960.png](https://img-blog.csdnimg.cn/img_convert/904fcc6ce9f8c2484c31cab234638960.png)
安装完毕后有
![9847ba264eae9a0350c2a75ac733a574.png](https://img-blog.csdnimg.cn/img_convert/9847ba264eae9a0350c2a75ac733a574.png)
![6abf9cab59a46c33f9d933b315db6bef.png](https://img-blog.csdnimg.cn/img_convert/6abf9cab59a46c33f9d933b315db6bef.png)
也就是mpiexec安装后的目录在c:Program FilesMicrosoft MPI
下面继续安装SDK,
![56547ae299131fb99582a5137130388f.png](https://img-blog.csdnimg.cn/img_convert/56547ae299131fb99582a5137130388f.png)
![d6518fe513356ee5cc112855ba3dfb64.png](https://img-blog.csdnimg.cn/img_convert/d6518fe513356ee5cc112855ba3dfb64.png)
安装后有:
![192c1606752e6b4de0f89d3cc5213af6.png](https://img-blog.csdnimg.cn/img_convert/192c1606752e6b4de0f89d3cc5213af6.png)
![8269c133cea0e9d6c6efe96600467a7a.png](https://img-blog.csdnimg.cn/img_convert/8269c133cea0e9d6c6efe96600467a7a.png)
![b87562b3ca6f390d4e9b249242986c45.png](https://img-blog.csdnimg.cn/img_convert/b87562b3ca6f390d4e9b249242986c45.png)
需要注意的是SDK安装后的目录在c:Program Files (x86)Microsoft SDKsMPI
并不是和mpiexec安装后的目录在c:Program FilesMicrosoft MPI在一起。如果没注意的话,找库和头文件又要找半天。
这样,经过以上步骤,Microsoft MPI10.1.12498.18版本下载安装完毕。