@@ -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.
@@ -761,6 +761,26 @@ Open MPI is unable to find relevant support for <foo>, configure will
761761assume that it was unable to provide a feature that was specifically
762762requested and will abort so that a human can resolve out the issue.
763763
764+ Additionally, if a search directory is specified in the form
765+ --with-<foo>=<dir>, Open MPI will:
766+
767+ 1. Search for <foo>'s header files in <dir>/include.
768+ 2. Search for <foo>'s library files:
769+ 2a. If --with-<foo>-libdir=<libdir> was specified, search in
770+ <libdir>.
771+ 2b. Otherwise, search in <dir>/lib, and if they are not found
772+ there, search again in <dir>/lib64.
773+ 3. If both the relevant header files and libraries are found:
774+ 3a. Open MPI will build support for <foo>.
775+ 3b. If the root path where the <foo> libraries are found is neither
776+ "/usr" nor "/usr/local", Open MPI will compile itself with
777+ RPATH flags pointing to the directory where <foo>'s libraries
778+ are located. Open MPI does not RPATH /usr/lib[64] and
779+ /usr/local/lib[64] because many systems already search these
780+ directories for run-time libraries by default; adding RPATH for
781+ them could have unintended consequences for the search path
782+ ordering.
783+
764784INSTALLATION OPTIONS
765785
766786--prefix=<directory>
0 commit comments