Skip to content

Commit 8ab0a42

Browse files
committed
Added an new item how to link intel statically
This is the fix to #818, open-mpi/ompi#818
1 parent 97bfd75 commit 8ab0a42

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

faq/building.inc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,3 +1744,19 @@ href=\"$topdir/community/help/\">Getting Help</a> page -- it details
17441744
how to send a request to the Open MPI mailing lists.";
17451745

17461746
/////////////////////////////////////////////////////////////////////////
1747+
1748+
$q[] = "How do I statically link to the libraries of Intel compiler suite?";
1749+
1750+
$anchor[] = "statically-link-with-intel-libraries";
1751+
1752+
$a[] = "When compiled with Intel compiler suite, by default Openmpi binaries are
1753+
dynamically linked against several Intel libraries, this might cause those executalbes
1754+
to crash if you install Intel compiler suite on local disk. To statically link to the
1755+
libraries of Intel compiler suite, pass \"LDFLAGS=-Wc,-static-intel\" to configure like
1756+
the following:
1757+
1758+
<geshi bash>
1759+
shell$$./configure CC=icc CXX=icpc FC=ifort LDFLAGS=-Wc,-static-intel ...
1760+
</geshi>
1761+
1762+
/////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)