Skip to content

Commit 350fe17

Browse files
authored
Merge pull request #5769 from jsquyres/pr/v3.0.x/readme-update-configure-cli-with-options
v3.0.x: README: Add note about --with-foo and RPATH
2 parents 97a5845 + 3216a82 commit 350fe17

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.
@@ -748,6 +748,26 @@ Open MPI is unable to find relevant support for <foo>, configure will
748748
assume that it was unable to provide a feature that was specifically
749749
requested 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+
751771
INSTALLATION OPTIONS
752772

753773
--prefix=<directory>

0 commit comments

Comments
 (0)