27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

F–Troubleshooting<br />

<strong>QLogic</strong> MPI Troubleshooting<br />

In the next case, mpi_nxnlatbw.c is compiled with the HP-MPI version of<br />

mpicc, and given the name hpmpi-mpi_nxnlatbw, so that it is easy to see<br />

which version was used. However, it is run with the <strong>QLogic</strong> mpirun, which<br />

produces errors similar to this:<br />

$ /opt/hpmpi/bin/mpicc \<br />

/usr/share/mpich/examples/performance/mpi_nxnlatbw.c -o<br />

hpmpi-mpi_nxnlatbw<br />

$ mpirun -m ~/host-bbb -np 4 ./hpmpi-mpi_nxnlatbw<br />

./hpmpi-mpi_nxnlatbw: error while loading shared libraries:<br />

libmpio.so.1: cannot open shared object file: No such file or<br />

directory<br />

./hpmpi-mpi_nxnlatbw: error while loading shared libraries:<br />

libmpio.so.1: cannot open shared object file: No such file or<br />

directory<br />

./hpmpi-mpi_nxnlatbw: error while loading shared libraries:<br />

libmpio.so.1: cannot open shared object file: No such file or<br />

directory<br />

./hpmpi-mpi_nxnlatbw: error while loading shared libraries:<br />

libmpio.so.1: cannot open shared object file: No such file or<br />

directory<br />

MPIRUN: Node program(s) exitted during connection setup<br />

The following two commands will work properly.<br />

<strong>QLogic</strong> mpirun and executable used together:<br />

$ mpirun -m ~/host-bbb -np 4 /usr/bin/mpi_nxnlatbw<br />

The HP-MPI mpirun and executable used together:<br />

$ /opt/hpmpi/bin/mpirun -hostlist \<br />

"bbb-01,bbb-02,bbb-03,bbb-04" -np 4 ./hpmpi-mpi_nxnlatbw<br />

Hints<br />

• Use the rpm command to find out which RPM is installed in the standard<br />

installed layout. For example:<br />

# rpm -qf /usr/bin/mpirun<br />

mpi-frontend-2.3-5314.919_sles10_qlc<br />

• Check all rcfiles and /opt/infinipath/etc/mpirun.defaults to<br />

make sure that the paths for binaries and libraries ($PATH and<br />

$LD_LIBRARY _PATH) are consistent.<br />

• When compiling, use descriptive names for the object files.<br />

F-18 D000046-005 B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!