虽然试图安装Openmpi与CUDA的支持,我得到了一些制造文件故障。
btl_uct_module.c: In function ‘mca_btl_uct_reg_mem’:
btl_uct_module.c:214:22: error: ‘UCT_MD_MEM_ACCESS_REMOTE_GET’ undeclared (first use in this function)
uct_flags |= UCT_MD_MEM_ACCESS_REMOTE_GET;
^
btl_uct_module.c:214:22: note: each undeclared identifier is reported only once for each function it appears in
btl_uct_module.c:217:22: error: ‘UCT_MD_MEM_ACCESS_REMOTE_PUT’ undeclared (first use in this function)
uct_flags |= UCT_MD_MEM_ACCESS_REMOTE_PUT;
^
btl_uct_module.c:220:22: error: ‘UCT_MD_MEM_ACCESS_REMOTE_ATOMIC’ undeclared (first use in this function)
uct_flags |= UCT_MD_MEM_ACCESS_REMOTE_ATOMIC;
^
btl_uct_module.c:225:21: error: ‘UCT_MD_MEM_ACCESS_ALL’ undeclared (first use in this function)
uct_flags = UCT_MD_MEM_ACCESS_ALL;
^
Makefile:1912: recipe for target 'btl_uct_module.lo' failed
make[2]: *** [btl_uct_module.lo] Error 1
make[2]: Leaving directory '/home/usama/install/openmpi-4.0.1/opal/mca/btl/uct'
Makefile:2375: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/usama/install/openmpi-4.0.1/opal'
Makefile:1893: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1我使用以下命令来配置并安装。
./configure --prefix=/home/$USER/.openmpi --with-cuda
make all install我使用以下配置:
Ubuntu 16.04 库达10.1 CuDNN 7.5 Openmpi 4.0.1
奇怪的是,我试图在我的本地机器上安装相同的Ubuntu18.04,而且安装和工作都很好。是兼容性问题吗?有什么想法吗?
发布于 2019-05-05 09:12:53
结果发现,这毕竟是一个兼容性问题。使用openmpi 3.1.4解决了这个问题。
https://stackoverflow.com/questions/55906196
复制相似问题