yang-xiaofeng1101 / yang-xiaofeng1101.github.io

杨晓峰的个人博客
1 stars 0 forks source link

openmpi with cuda | yangxiaofeng的博客 #23

Open yang-xiaofeng1101 opened 2 years ago

yang-xiaofeng1101 commented 2 years ago

https://yang-xiaofeng1101.github.io/2020/03/30/openmpi-with-cuda/

openMPI 1.7之后的版本才支持CUDA 1.对于1.7~2.0的版本, 配置和编译、安装如下:123sudo ./configure --prefix=<用户指定的openMPI的安装目录>  --with-cuda=<cuda的include目录> --with-cuda-libdir=<cuda的lib64目录>sudo make all insta