./configure出错,求教大神,

ronald1940 2017-11-08 06:02:49
我想在centos上安装mpich
tar -xzvf soft/mpich-3.0.4.tar.gz
cd mpich-3.0.4/
./configure --prefix=/usr/local/mpich
make && make install

执行到上面第三步的时候提示

[root@CUDA mpich-3.0.4]# ./configure --prefix=/usr/local/mpich
Configuring MPICH version 3.0.4 with '--prefix=/usr/local/mpich'
Running on system: Linux CUDA.lan 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
checking for icc... icc
checking whether the C compiler works... no
configure: error: in `/home/dev/Downloads/mpich-3.0.4':
configure: error: C compiler cannot create executables
See `config.log' for more details

发现c编译器没有工作,根据提示查看config.log
好像是提示许可证过期,也不知道怎么搞,下面是config.log的一部分。

configure:5052: checking for icc
configure:5068: found /opt/intel/compilers_and_libraries_2017.0.098/linux/bin/intel64/icc
configure:5079: result: icc
configure:5110: checking for C compiler version
configure:5119: icc --version >&5

Error: Product support for your (Comp-CL) license has expired.
License file(s) used were (in this order):
1. Trusted Storage
** 2. /opt/intel/compilers_and_libraries_2017.0.098/linux/licenses
** 3. /opt/intel/licenses/l_DD3WHXWM.lic
** 4. /home/dev/intel/licenses
** 5. /opt/intel/compilers_and_libraries_2017.0.098/linux/bin/intel64/../../Licenses
** 6. /root/Licenses
** 7. /Users/Shared/Library/Application Support/Intel/Licenses
... rest of stderr output deleted ...
configure:5130: $? = 1
configure:5119: icc -v >&5

Error: Product support for your (Comp-CL) license has expired.
License file(s) used were (in this order):
1. Trusted Storage
** 2. /opt/intel/compilers_and_libraries_2017.0.098/linux/licenses
** 3. /opt/intel/licenses/l_DD3WHXWM.lic
** 4. /home/dev/intel/licenses
** 5. /opt/intel/compilers_and_libraries_2017.0.098/linux/bin/intel64/../../Licenses
** 6. /root/Licenses
** 7. /Users/Shared/Library/Application Support/Intel/Licenses
... rest of stderr output deleted ...
configure:5130: $? = 1
configure:5119: icc -V >&5

Error: Product support for your (Comp-CL) license has expired.
License file(s) used were (in this order):
1. Trusted Storage
** 2. /opt/intel/compilers_and_libraries_2017.0.098/linux/licenses
** 3. /opt/intel/licenses/l_DD3WHXWM.lic
** 4. /home/dev/intel/licenses
** 5. /opt/intel/compilers_and_libraries_2017.0.098/linux/bin/intel64/../../Licenses
** 6. /root/Licenses
** 7. /Users/Shared/Library/Application Support/Intel/Licenses
... rest of stderr output deleted ...
configure:5130: $? = 1
configure:5119: icc -qversion >&5

Please refer https://software.intel.com/en-us/faq/purchasing-renewing-upgrading#support-expiration for more information..

icc: error #10052: could not checkout FLEXlm license
configure:5176: $? = 1
configure:5214: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MPICH"
| #define PACKAGE_TARNAME "mpich"
| #define PACKAGE_VERSION "3.0.4"
| #define PACKAGE_STRING "MPICH 3.0.4"
| #define PACKAGE_BUGREPORT "mpich-discuss@mcs.anl.gov"

...全文
491 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
ronald1940 2017-11-09
  • 打赏
  • 举报
回复
首先很谢谢你回复我。我是不是重新安装c编译器,还是怎么样?再次谢谢
9527 2017-11-09
  • 打赏
  • 举报
回复
提示很清楚啊 Product support for your (Comp-CL) license has expired. checking whether the C compiler works... no 你的icc检查下,intel的c编译器过期了
yangtuo250 2017-11-09
  • 打赏
  • 举报
回复
顶楼上。补充两句,icc现在注册很麻烦,以前那种许可证因为用的人太多而没有起到反馈的效果,被intel取消掉了。同样建议改用gcc,当然土豪随意。。。去买许可证也好
9527 2017-11-09
  • 打赏
  • 举报
回复
引用 3 楼 ronald1940 的回复:
首先很谢谢你回复我。我是不是重新安装c编译器,还是怎么样?再次谢谢
1)icc应该需要注册,你搜索下如何注册。 2)或者看看mpich的BUILD文档中如何使用gcc进行build,不用icc。 3)也可以检查下源代码目录下有没有autogen.sh类似的脚本,重新生成./configure。
ronald1940 2017-11-08
  • 打赏
  • 举报
回复
想问问该怎么处理,安装不上mpich (顺便说一下,电脑本来就有别的版本mpich,但是我觉得和这个报错没有关系)

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧