问题描述
https://github.com/iqusoft/intel-qs/issues/32#issue-708056939
我下载了相关的软件包,并按照文档中的说明运行了说明,直到在此步骤出现错误为止。 CXX = mpiicpc cmake -DIqsMPI = ON -DIqsUtest = ON ..
然后它报告了一个错误
root@vm:~/intel-qs/build# CXX=mpiicpc cmake -DIqsMPI=ON -DIqsUtest=ON ..
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: /opt/intel/compilers_and_libraries_2020.2.254/linux/mpi/intel64/bin/mpiicpc
-- Check for working CXX compiler: /opt/intel/compilers_and_libraries_2020.2.254/linux/mpi/intel64/bin/mpiicpc -- broken
CMake Error at /opt/cmake-3.12.2/share/cmake-3.12/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C++ compiler
"/opt/intel/compilers_and_libraries_2020.2.254/linux/mpi/intel64/bin/mpiicpc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /root/intel-qs/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3abc4/fast"
/usr/bin/make -f CMakeFiles/cmTC_3abc4.dir/build.make CMakeFiles/cmTC_3abc4.dir/build
make[1]: Entering directory '/root/intel-qs/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_3abc4.dir/testCXXCompiler.cxx.o
/opt/intel/compilers_and_libraries_2020.2.254/linux/mpi/intel64/bin/mpiicpc -o CMakeFiles/cmTC_3abc4.dir/testCXXCompiler.cxx.o -c /root/intel-qs/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
/opt/intel/compilers_and_libraries_2020.2.254/linux/mpi/intel64/bin/mpiicpc: 1: eval: icpc: not found
CMakeFiles/cmTC_3abc4.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_3abc4.dir/testCXXCompiler.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_3abc4.dir/testCXXCompiler.cxx.o] Error 127
make[1]: Leaving directory '/root/intel-qs/CMakeFiles/CMakeTmp'
Makefile:121: recipe for target 'cmTC_3abc4/fast' failed
make: *** [cmTC_3abc4/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:17 (project)
-- Configuring incomplete,errors occurred!
See also "/root/intel-qs/CMakeFiles/CMakeOutput.log".
See also "/root/intel-qs/CMakeFiles/CMakeError.log".
如果有人知道该怎么做,将不胜感激。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)