Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I uninstalled manually mpi from my machine, but now when I make the command mpirun I get "-bash: /usr/local/bin/mpirun: No such file or directory" rather than "-bash: mpirun: command not found". ps. before uninstalling mpi the mpirun was in the directory /usr/local/bin/

Does some one have an idea what could be the reason?

share|improve this question

migrated from stackoverflow.com Jul 31 '13 at 1:56

This question came from our site for professional and enthusiast programmers.

Looks like a not deleted symlink to a deleted symlink to the deleted binary or something like that. Did you try which mpirun to get to know what you are actually calling?

share|improve this answer
2  
It could also be hashing issue in the current bash session. In this case issuing the hash -r command or starting a new shell would solve the problem. – Hristo Iliev Jul 30 '13 at 21:20

You must log in to answer this question.