编译CADO-NFS时,ICC无法打开“ gmp.h”

问题描述

我目前正在尝试在CentOS 7上为我的Xeon Phi 31S1P编译CADO-NFS,但是遇到了问题。

即使安装了gmp-devel软件包,它也会显示/root/XeonPhiCado/config/gmp_randstate.c(7): catastrophic error: cannot open source file "gmp.h"

gmp_randstate.c中的第7行为#include <gmp.h>。 我尝试将其更改为/usr/include/gmp.h,然后显示:

/opt/intel/compilers_and_libraries_2017.8.262/linux/bin/intel64/icc
  -std=c99 -g -W -Wall -wd13200,13203 -std=c99 -mmic -g -O3
  CMakeFiles/cmTryCompileExec2852528491.dir/gmp_randstate.c.o -o
  cmTryCompileExec2852528491 -rdynamic -lgmp

k1om-mpss-linux-ld: cannot find -lgmp

我是否忘记了ICC的配置步骤?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...