Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2154 Discussions

Intel OpenMPI problem with mpirun

Paul_I_1
Beginner
1,356 Views
$ mpirun --prefix /opt/openmpi/1.10.0-intel/ -np 2 --host atl4-06,atl4-07 ./a.out
/opt/openmpi/1.10.0-intel/bin/orted: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
--------------------------------------------------------------------------
ORTE was unable to reliably start one or more daemons.
This usually is caused by:

* not finding the required libraries and/or binaries on
  one or more nodes. Please check your PATH and LD_LIBRARY_PATH
  settings, or configure OMPI with --enable-orterun-prefix-by-default

* lack of authority to execute on one or more specified nodes.
  Please verify your allocation and authorities.

* the inability to write startup files into /tmp (--tmpdir/orte_tmpdir_base).
  Please check with your sys admin to determine the correct location to use.

*  compilation of the orted with dynamic libraries when static are required
  (e.g., on Cray). Please check your configure cmd line and consider using
  one of the contrib/platform definitions for your system type.

* an inability to create a connection back to mpirun due to a
  lack of common network interfaces and/or no route found between
  them. Please check network connectivity (including firewalls
  and network routing requirements).

 

I tried -x PATH -x LD_LIBRARY_PATH options on the mpirun command but it still gives me the error that it could not find the libimf.so. The only way I found I could get this to work is by setting the INTEL and the Open MPI binaries and the libraries in my .bashrc file. Is this the expected behavior? If so it seems very inelegant.

Thanks for any help you can provide.  Paul I.

0 Kudos
1 Reply
James_T_Intel
Moderator
1,356 Views

I don't know how OpenMPI is set up, but that seems to be reasonable behavior.  A shared library will need to be found in order to be used.  You will need to have the shared libraries findable in one of the paths in LD_LIBRARY_PATH in order to be used in most situations.  In the Intel® MPI Library, this is handled via an environment variable script (mpivars.sh) which you can source in order to configure your environment correctly.

0 Kudos
Reply