Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.