Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29236 Discussions

ifort 9.0.026 doesn't find libraries

lazanoff
Beginner
370 Views
We've filed a bug report on this. I'm wondering whether anyone else has seen this.
ifort -o pi pi.f90 -lmpi works
ifort -c pi.f90
ifort -o pi pi.o -lmpi reports it can't find -lmpi
The path to the mpi library is in LD_LIBRARY_PATH (man page says this is the environment variable to use, but the compiler/linker is actually looking at LIBRARY_PATH and then only at the first library in this list. If the the mpi library is first, the above steps work.
TIA
Art
0 Kudos
0 Replies
Reply