1
1

Merge pull request #5767 from jsquyres/pr/readme-rpath-update

README: Add note about --with-foo and RPATH
Этот коммит содержится в:
Jeff Squyres 2018-09-25 09:33:56 -04:00 коммит произвёл GitHub
родитель 9047198320 9367440e32
Коммит 76e4983aa0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

18
README
Просмотреть файл

@ -8,7 +8,7 @@ Copyright (c) 2004-2008 High Performance Computing Center Stuttgart,
University of Stuttgart. All rights reserved. University of Stuttgart. All rights reserved.
Copyright (c) 2004-2007 The Regents of the University of California. Copyright (c) 2004-2007 The Regents of the University of California.
All rights reserved. All rights reserved.
Copyright (c) 2006-2017 Cisco Systems, Inc. All rights reserved. Copyright (c) 2006-2018 Cisco Systems, Inc. All rights reserved.
Copyright (c) 2006-2011 Mellanox Technologies. All rights reserved. Copyright (c) 2006-2011 Mellanox Technologies. All rights reserved.
Copyright (c) 2006-2012 Oracle and/or its affiliates. All rights reserved. Copyright (c) 2006-2012 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2007 Myricom, Inc. All rights reserved. Copyright (c) 2007 Myricom, Inc. All rights reserved.
@ -767,6 +767,22 @@ Open MPI is unable to find relevant support for <foo>, configure will
assume that it was unable to provide a feature that was specifically assume that it was unable to provide a feature that was specifically
requested and will abort so that a human can resolve out the issue. requested and will abort so that a human can resolve out the issue.
Additionally, if a search directory is specified in the form
--with-<foo>=<dir>, Open MPI will:
1. Search for <foo>'s header files in <dir>/include.
2. Search for <foo>'s library files in <dir>/lib, and if they are not
found there, search again in <dir>/lib64.
3. If both the relevant header files and libraries are found:
3a. Open MPI will build support for <foo>.
3b. If <dir> is neither "/usr" nor "/usr/local", Open MPI will
compile itself with RPATH flags pointing to the directory where
<foo>'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 INSTALLATION OPTIONS
--prefix=<directory> --prefix=<directory>