Product specifications

Table Of Contents
D–Troubleshooting
QLogic MPI Troubleshooting
IB6054601-00 H D-19
A
In the next case, mpi_nxnlatbw.c is compiled with the HP-MPI version of
mpicc, and given the name hpmpi-mpi_nxnlatbw, so that it is easy to see
which version was used. However, it is run with the QLogic mpirun, which
produces errors similar to this:
$ /opt/hpmpi/bin/mpicc \
/usr/share/mpich/examples/performance/mpi_nxnlatbw.c -o
hpmpi-mpi_nxnlatbw
$ mpirun -m ~/host-bbb -np 4 ./hpmpi-mpi_nxnlatbw
./hpmpi-mpi_nxnlatbw: error while loading shared libraries:
libmpio.so.1: cannot open shared object file: No such file or
directory
./hpmpi-mpi_nxnlatbw: error while loading shared libraries:
libmpio.so.1: cannot open shared object file: No such file or
directory
./hpmpi-mpi_nxnlatbw: error while loading shared libraries:
libmpio.so.1: cannot open shared object file: No such file or
directory
./hpmpi-mpi_nxnlatbw: error while loading shared libraries:
libmpio.so.1: cannot open shared object file: No such file or
directory
MPIRUN: Node program(s) exitted during connection setup
The following two commands will work properly.
QLogic mpirun and executable used together:
$ mpirun -m ~/host-bbb -np 4 /usr/bin/mpi_nxnlatbw
The HP-MPI mpirun and executable used together:
$ /opt/hpmpi/bin/mpirun -hostlist \
"bbb-01,bbb-02,bbb-03,bbb-04" -np 4 ./hpmpi-mpi_nxnlatbw
Hints
Use the rpm command to find out which RPM is installed in the standard
installed layout. For example:
# rpm -qf /usr/bin/mpirun
mpi-frontend-2.3-5314.919_sles10_qlc
Check all rcfiles and /opt/infinipath/etc/mpirun.defaults to
make sure that the paths for binaries and libraries ($PATH and
$LD_LIBRARY _PATH) are consistent.
When compiling, use descriptive names for the object files.