本文介绍了用 OpenMPI 替换 MPICH 安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前在我的机器上安装了 MPICH(版本 3.1.4)(运行 Mac OS X 10.10.5).我想删除它并安装 OpenMPI,但在网上找不到有关如何卸载 MPICH 的说明.

I currently have MPICH (release 3.1.4) installed on my machine (running Mac OS X 10.10.5). I would like to remove it and install OpenMPI instead but could find no instructions online on how to uninstall MPICH.

简单地删除MPICH的目录就足够了吗?如果是这样,我在哪里可以找到它?我以为我已经将它安装在 usr/local 中,并且确实在那里找到了一些与 MPI 相关的文件(在名为 include 的文件夹中),但似乎没有什么是完整的.

Is it sufficient to simply delete MPICH's directory? If so, where can I find it? I thought I had installed it in usr/local and did find some MPI-related files there (in a folder named include) but nothing that seemed like it was the whole thing.

此外,我计划将 OpenMPI 与英特尔的 c++ 编译器一起使用.是否有安装这两个的首选顺序?

Also, I am planning to use OpenMPI together with Intel's c++ compiler. Is there some preferred order of installation of these two?

推荐答案

从你编译的目录中输入make uninstall.那应该这样做.关于 openMPI 和 Intel 编译器,最好先安装编译器,然后再使用它来构建包,但这不是强制性的,使用 GCC 也可以.

Juste type make uninstall from the directory you compiled. That should do it.Regarding openMPI and the Intel compiler, better installing the compiler before ans using it to build the package, but that's not compulsory, using GCC will do as well.

这篇关于用 OpenMPI 替换 MPICH 安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-20 00:14