|
本帖最后由 fengling 于 2023-12-29 10:33 编辑
请问一下大家,我用intelmpi编译时出现以下错误:
==================== Finding OpenMPI from system paths ====================
path to mpiexec is /home/dft/intel/oneapi/mpi/2021.10.0/bin/mpiexec
path to mpicc is /home/dft/intel/oneapi/mpi/2021.10.0/bin/mpicc
path to mpic++ is /usr/bin/mpic++
path to mpifort is /usr/bin/mpifort
g++: error: unrecognized command-line option ‘--showme:compile’
ERROR: (./scripts/stage1/install_openmpi.sh, line 98) Non-zero exit code detected.
网上也没找到解决办法,请问有人可以解答一下吗?
我的g++版本是11.4.0
整个过程是这样的:
(base) dft@dft:~/cp2k/cp2k-2023.2/tools/toolchain$ ./install_cp2k_toolchain.sh --with-sirius=no --with-openmpi=system --with-plumed=install
MPI is detected and it appears to be Intel MPI
Compiling with 104 processes for target native.
Step gcc took 0.00 seconds.
==================== Finding Intel compiler from system paths ====================
path to icx is /home/dft/intel/oneapi/compiler/2023.2.0/linux/bin/icx
path to icpx is /home/dft/intel/oneapi/compiler/2023.2.0/linux/bin/icpx
path to ifort is /home/dft/intel/oneapi/compiler/2023.2.0/linux/bin/intel64/ifort
CC is /home/dft/intel/oneapi/compiler/2023.2.0/linux/bin/icx
CXX is /home/dft/intel/oneapi/compiler/2023.2.0/linux/bin/icpx
FC is /home/dft/intel/oneapi/compiler/2023.2.0/linux/bin/intel64/ifort
Step intel took 0.00 seconds.
==================== Getting proc arch info using OpenBLAS tools ====================
OpenBLAS detected LIBCORE = skylakex
OpenBLAS detected ARCH = x86_64
==================== Installing CMake ====================
cmake-3.26.3 is already installed, skipping it.
Step cmake took 0.00 seconds.
==================== Finding OpenMPI from system paths ====================
path to mpiexec is /home/dft/intel/oneapi/mpi/2021.10.0/bin/mpiexec
path to mpicc is /home/dft/intel/oneapi/mpi/2021.10.0/bin/mpicc
path to mpic++ is /usr/bin/mpic++
path to mpifort is /usr/bin/mpifort
g++: error: unrecognized command-line option ‘--showme:compile’
ERROR: (./scripts/stage1/install_openmpi.sh, line 98) Non-zero exit code detected.
|
|