Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
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.
7234 Discussions

Installation problem for the Intel ODE solver

FlyingHermes
New Contributor I
761 Views
Hi,

I want to use the intel ODE solver on a linux 32-bit OS system (fedora 14 distribution)
I'm using the intel fortran compiler.

Following the installation manual, I've tried to run the examples by doing :

ifort -static iode_example_f.f -I../../include -L../../lib/ia32 -liode_ia32 -lm -o iode.out

which gave me the following error :

ld: cannot find -lm
ld: cannot find -lm
ld: cannot find -lc
ld: cannot find -ldl
ld: cannot find -lc

I know this must be a stupid problem.
Any suggestions will help!
Thx.
0 Kudos
1 Solution
Gennady_F_Intel
Moderator
761 Views
as it seems to me you encountered with the problem described here
--Gennady

View solution in original post

0 Kudos
2 Replies
Gennady_F_Intel
Moderator
762 Views
as it seems to me you encountered with the problem described here
--Gennady
0 Kudos
FlyingHermes
New Contributor I
761 Views
Problem solved !!!
Thx.

The cause of the problem was indeed that, on redHat or Fedora distribution, compiling with -fast or -static causes a linker error "ld: cannot find -lm".

Solution was obtained by installing the static version of glibc, as in the link Gennady posted.



0 Kudos
Reply