@@ -8,7 +8,7 @@ Copyright (c) 2004-2008 High Performance Computing Center Stuttgart,
88 University of Stuttgart. All rights reserved.
99Copyright (c) 2004-2007 The Regents of the University of California.
1010 All rights reserved.
11- Copyright (c) 2006-2017 Cisco Systems, Inc. All rights reserved.
11+ Copyright (c) 2006-2018 Cisco Systems, Inc. All rights reserved.
1212Copyright (c) 2006-2011 Mellanox Technologies. All rights reserved.
1313Copyright (c) 2006-2012 Oracle and/or its affiliates. All rights reserved.
1414Copyright (c) 2007 Myricom, Inc. All rights reserved.
@@ -748,6 +748,26 @@ Open MPI is unable to find relevant support for <foo>, configure will
748748assume that it was unable to provide a feature that was specifically
749749requested and will abort so that a human can resolve out the issue.
750750
751+ Additionally, if a search directory is specified in the form
752+ --with-<foo>=<dir>, Open MPI will:
753+
754+ 1. Search for <foo>'s header files in <dir>/include.
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.
760+ 3. If both the relevant header files and libraries are found:
761+ 3a. Open MPI will build support for <foo>.
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.
770+
751771INSTALLATION OPTIONS
752772
753773--prefix=<directory>
0 commit comments