【发布时间】:2021-05-12 02:34:27
【问题描述】:
大家好
我目前正在通过tar.gz 文件在ubuntu18.04 上安装openmpi-4.1.1。
但是,当我将nvcc (CUDA 11.2.2) 编译器与-lmpi_cxx 一起使用时,它会报告此链接选项不存在。
在构建和安装 openmpi 时有什么问题吗? 在构建具有 CUDA 感知能力的 openmpi 时,我使用以下命令。
./configure --with-cuda
make -j8 install
我尝试删除-lmpi_cxx,只保留-lmpi,编译器会报告类似的错误
undefined reference to `MPI::Comm::Comm()'
非常感谢!
【问题讨论】: