Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

ifort 9.0.026 doesn't find libraries

lazanoff
Beginner
399 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