I use Omnet ++ and Veins for modeling, and it worked fine until I upgraded from Ubuntu 15 to 16.04 LTS last night. Now when I try to run the simulation, I get the following error:error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory
I searched libmpi.so.1 and it seems to be missing. The file / usr / lib / openmpi / lib has the file libmpi.so and libmpi.so.12, but not libmpi.so.1. I tried uninstalling and reinstalling the openmpi-bin, libopenmpi-dev, and OpenMPI packages that I downloaded from the website. I also set the variable in bashrc and profile (which was recommended online) withexport LD_LIBRARY_PATH:=$PATH:/usr/lib/openmpi/lib/
None of these approaches worked, and I still get the same error. Any suggestions on how to fix it and how to get the libmpi.so.1 file?
source
share