./configure出错,求教大神,
我想在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"