Skip to content

Commit caa8911

Browse files
authored
Merge pull request #9796 from jsquyres/pr/readme-update-for-intel-compiler
README: add ifort/macOS linker error note and workaround
2 parents 14fc749 + c1df265 commit caa8911

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,22 @@ base as of this writing (April 2020):
350350
version of the Intel 12.1 Linux compiler suite, the problem will go
351351
away.
352352

353+
* [Users have reported](https://github.com/open-mpi/ompi/issues/7615)
354+
that the Intel Fortran compiler will fail to link Fortran-based MPI
355+
applications on macOS with linker errors similar to this:
356+
```
357+
Undefined symbols for architecture x86_64:
358+
"_ompi_buffer_detach_f08", referenced from:
359+
import-atom in libmpi_usempif08.dylib
360+
ld: symbol(s) not found for architecture x86_64
361+
```
362+
It appears that setting the environment variable
363+
`lt_cx_ld_force_load=no` before invoking Open MPI's `configure`
364+
script works around the issue. For example:
365+
```
366+
shell$ lt_cv_ld_force_load=no ./configure ...
367+
```
368+
353369
* The Portland Group compilers prior to version 7.0 require the
354370
`-Msignextend` compiler flag to extend the sign bit when converting
355371
from a shorter to longer integer. This is is different than other

0 commit comments

Comments
 (0)