Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6557 Discussions

Installation problem for the Intel ODE solver

FlyingHermes
New Contributor I
138 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
138 Views
as it seems to me you encountered with the problem described here
--Gennady

View solution in original post

2 Replies
Gennady_F_Intel
Moderator
139 Views
as it seems to me you encountered with the problem described here
--Gennady
FlyingHermes
New Contributor I
138 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.



Reply