LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 6563|回复: 2

gentoo intel fortran debug error ld: cannot find -limf

[复制链接]
发表于 2010-5-10 12:47:43 | 显示全部楼层 |阅读模式
请问高手们:
     我在gentoo下用Intel fortran编译如下程序,
     ifort -c xx.f90
     ............
      以上没有问题。
      但
       ifort -o test XX.o yy.o ......
       出现如下错误:
      ld: cannot find -limf
     该如何处理?
   
     /etc/make.conf 的USE标记里有blas, 是不是要去掉?
     然后,emerge -DuN world ?
     谢谢!
发表于 2011-11-24 16:43:38 | 显示全部楼层
先找到libimf在什么目录,加上-L<dir>
回复 支持 反对

使用道具 举报

发表于 2012-1-6 19:06:33 | 显示全部楼层
add -limf in compile

ifort -o test XX.o yy.o -limf

if you not have libimf , you can install libimf packages
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表