@@ -752,17 +752,21 @@ Additionally, if a search directory is specified in the form
752752--with-<foo>=<dir>, Open MPI will:
753753
7547541. Search for <foo>'s header files in <dir>/include.
755- 2. Search for <foo>'s library files in <dir>/lib, and if they are not
756- found there, search again in <dir>/lib64.
755+ 2. Search for <foo>'s library files:
756+ 2a. If --with-<foo>-libdir=<libdir> was specified, search in
757+ <libdir>.
758+ 2b. Otherwise, search in <dir>/lib, and if they are not found
759+ there, search again in <dir>/lib64.
7577603. If both the relevant header files and libraries are found:
758761 3a. Open MPI will build support for <foo>.
759- 3b. If <dir> is neither "/usr" nor "/usr/local", Open MPI will
760- compile itself with RPATH flags pointing to the directory where
761- <foo>'s libraries are located. Open MPI does not RPATH
762- /usr/lib[64] and /usr/local/lib[64] because many systems
763- already search these directories for run-time libraries by
764- default; adding RPATH for them could have unintended
765- consequences for the search path ordering.
762+ 3b. If the root path where the <foo> libraries are found is neither
763+ "/usr" nor "/usr/local", Open MPI will compile itself with
764+ RPATH flags pointing to the directory where <foo>'s libraries
765+ are located. Open MPI does not RPATH /usr/lib[64] and
766+ /usr/local/lib[64] because many systems already search these
767+ directories for run-time libraries by default; adding RPATH for
768+ them could have unintended consequences for the search path
769+ ordering.
766770
767771INSTALLATION OPTIONS
768772
0 commit comments