Skip to content

Commit 2c80256

Browse files
authored
Merge pull request #5770 from jsquyres/pr/v3.1.x/readme-update-configure-cli-with-options
v3.1.x: README: Add note about --with-foo and RPATH
2 parents a40db40 + 22f563e commit 2c80256

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Copyright (c) 2004-2008 High Performance Computing Center Stuttgart,
88
University of Stuttgart. All rights reserved.
99
Copyright (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.
1212
Copyright (c) 2006-2011 Mellanox Technologies. All rights reserved.
1313
Copyright (c) 2006-2012 Oracle and/or its affiliates. All rights reserved.
1414
Copyright (c) 2007 Myricom, Inc. All rights reserved.
@@ -761,6 +761,26 @@ Open MPI is unable to find relevant support for <foo>, configure will
761761
assume that it was unable to provide a feature that was specifically
762762
requested 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+
764784
INSTALLATION OPTIONS
765785

766786
--prefix=<directory>

0 commit comments

Comments
 (0)