- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
For some reason, ifort cannot find "libimf.so" even though I have confirmed it is in /lib
I get the same error message whether I'm logged in as a user or root.
Has anyone else had this problem?
Thanks Joe
Thanks Joe
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
More details? For example, are you trying to mix architectures between your build and the library present on LD_LIBRARY_PATH ?
If 'ldd yourexecutable' doesn't show the dependency on libimf, then I suspect it's a bug, which may be corrected by adding -limf to your compile/link options. I believe ifort should always automatically include -limf, but I have seen it fail to do so.
Message Edited by tim18 on 02-10-2006 01:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ahhh, I think you're on to something. I have KDevelop 3.3.1 installed and it requires the following line in my .bash_profile:
export LD_LIBRARY_PATH=$QTDIR/lib:$KEDIR/lib:$LD_LIBRARY_PATH
and, of course, ifortvars.sh has
if [ -z "${LD_LIBRARY_PATH}" ]
then
LD_LIBRARY_PATH="/opt/intel/fc/9.0/lib"; export LD_LIBRARY_PATH
else
LD_LIBRARY_PATH="/opt/intel/fc/9.0/lib:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH
fi
I am brand new to Linux, so forgive me if this is obvious. But, is there a conflict here that I need to clean up?
Joe
export LD_LIBRARY_PATH=$QTDIR/lib:$KEDIR/lib:$LD_LIBRARY_PATH
and, of course, ifortvars.sh has
if [ -z "${LD_LIBRARY_PATH}" ]
then
LD_LIBRARY_PATH="/opt/intel/fc/9.0/lib"; export LD_LIBRARY_PATH
else
LD_LIBRARY_PATH="/opt/intel/fc/9.0/lib:$LD_LIBRARY_PATH"; export LD_LIBRARY_PATH
fi
I am brand new to Linux, so forgive me if this is obvious. But, is there a conflict here that I need to clean up?
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need the LD_LIBRARY_PATH set in accordance with that ifortvars.sh if you are using the 32-bit or ia64 compiler. If you are using the em64t compiler, you need it set in accordance with /opt/intel/fce/9.0/bin/ifortvars.sh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay, so how exactly do I fix the problem? All I am atempting to do is compile and make the int_sin.f90 example to confirm proper ifort installation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind, I figured it out. If I put the lines in my .bashrc script instead of my .bash_profile script, it works just fine. Thanks, Tim, for your help! Linux has a very steep learning curve, I guess. At least, it does for me :-)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page