error while loading shared libraries

I receive an error (that looks like)

NL: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory

Make sure you have a line like this in your moab script,

source /usr/local/profile.d/openmpi-gnu.sh

If you use the openmpi libraries and the gnu compilers. For other options, see the moab documentation.