From 36c9f92117053ccd343c30c4540971240717a233 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 25 Sep 2018 11:02:11 -0400 Subject: [PATCH] README: additional clarification about --with--libdir. Signed-off-by: Jeff Squyres --- README | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/README b/README index e91b7ff50d..32c1efdf60 100644 --- a/README +++ b/README @@ -771,17 +771,21 @@ Additionally, if a search directory is specified in the form --with-=, Open MPI will: 1. Search for 's header files in /include. -2. Search for 's library files in /lib, and if they are not - found there, search again in /lib64. +2. Search for 's library files: + 2a. If --with--libdir= was specified, search in + . + 2b. Otherwise, search in /lib, and if they are not found + there, search again in /lib64. 3. If both the relevant header files and libraries are found: 3a. Open MPI will build support for . - 3b. If is neither "/usr" nor "/usr/local", Open MPI will - compile itself with RPATH flags pointing to the directory where - 's libraries are located. Open MPI does not RPATH - /usr/lib[64] and /usr/local/lib[64] because many systems - already search these directories for run-time libraries by - default; adding RPATH for them could have unintended - consequences for the search path ordering. + 3b. If the root path where the libraries are found is neither + "/usr" nor "/usr/local", Open MPI will compile itself with + RPATH flags pointing to the directory where 's libraries + are located. Open MPI does not RPATH /usr/lib[64] and + /usr/local/lib[64] because many systems already search these + directories for run-time libraries by default; adding RPATH for + them could have unintended consequences for the search path + ordering. INSTALLATION OPTIONS