相关文章推荐
爱热闹的莲藕  ·  Events·  9 月前    · 
酒量小的灯泡  ·  JavaLoader Needs ...·  1 年前    · 
好帅的楼梯  ·  innerhtml居中 - CSDN文库·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

Want to improve this question? Update the question so it focuses on one problem only by editing this post .

Closed 7 years ago .

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 .

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.

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

This depends highly on the system you installed it on, and the installation method you used. haraldkl Sep 14, 2015 at 15:27 @haraldkl Indeed I forgot to mention that. I am working on OS X Version 10.10.5. To install MPICH , I downloaded mpich-3.1.4.tar.gz from the MPICH download page and followed the installation instructions. Janosh Sep 14, 2015 at 15:34 @Jeff The problem is I only learned about homebrew when googling for how to uninstall MPICH . Homebrew sounds like a good idea for the future, however. Is it possible to install Intel's c++ compiler via homebrew and would you recommend that? Janosh Sep 15, 2015 at 8:06 Not sure what you mean by 'the directory you compiled'. Do you mean the directory that is created when unpacking mpich-3.1.4.tar.gz ? I just tried that and was met with make: *** No rule to make target uninstall. Stop. . Janosh Sep 15, 2015 at 8:02 You probably either freshly unpacked it or did a make distclean at some stage. If it's the case, then you need to first do a ./configure blah with 'blah' being the configure options you used when installing the package... Once the the configure step done, make uninstall should just work. Gilles Sep 15, 2015 at 8:12 You're right. I did delete and then reunpack mpich-3.1.4.tar.gz . [Note for others who might read this thread and don't remember the options they passed during the first configuration: They can be retrieved from .bash_history which is located (but hidden) in the user directory.] After reconfiguration, I tried make uninstall again and received three error messages, the last one being make: *** [uninstall-recursive] Error 1 . Previously it had said rm: opa_util.h: Permission denied which I assumed had caused this error so I tried sudo make uninstall . [Ran out of characters...] Janosh Sep 15, 2015 at 8:42 sudo make uninstall ran a lot longer and finished with Making uninstall in examples and make[1]: Nothing to be done for uninstall. . I assume that means deinstallation was successful? Janosh Sep 15, 2015 at 8:44