Centos 6.6上mxnet安装报错
mxnet installation error on Centos 6.6
我在 GPU 服务器上使用 Centos 6.6。我按照说明 here 安装了 mxnet。一切顺利,直到我尝试测试安装。我 运行 以下命令:
python
>> import mxnet
然后我得到错误说
Check failed: e == fmap_.at(alias) (0x10fc620 vs. 0x103adf0) Entry add_n already registered under different entry
完整错误信息如下:
[16:38:16] /home/mypath/software/try_mxnet/mxnet/dmlc-core/include/dmlc/./logging.h:300: [16:38:16] /home/mypath/software/try_mxnet/mxnet/dmlc-core/include/dmlc/registry.h:66: Check failed: e == fmap_.at(alias) (0x10fc620 vs. 0x103adf0) Entry add_n already registered under different entry
Stack trace returned 4 entries:
[bt] (0) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(ZN4dmlc8RegistryIN4nnvm2OpEE8AddAliasERKSsS5+0x79b) [0x7fa4c820635b]
[bt] (1) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(_ZN4nnvm2Op9add_aliasERKSs+0x1f) [0x7fa4c820493f]
[bt] (2) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0xb3cea9) [0x7fa4c7073ea9]
[bt] (3) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0x1cff226) [0x7fa4c8236226]
terminate called after throwing an instance of 'dmlc::Error'
what(): [16:38:16] /home/mypath/software/try_mxnet/mxnet/dmlc-core/include/dmlc/registry.h:66: Check failed: e == fmap_.at(alias) (0x10fc620 vs. 0x103adf0) Entry add_n already registered under different entry
Stack trace returned 4 entries:
[bt] (0) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(ZN4dmlc8RegistryIN4nnvm2OpEE8AddAliasERKSsS5+0x79b) [0x7fa4c820635b]
[bt] (1) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(_ZN4nnvm2Op9add_aliasERKSs+0x1f) [0x7fa4c820493f]
[bt] (2) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0xb3cea9) [0x7fa4c7073ea9]
[bt] (3) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0x1cff226) [0x7fa4c8236226]
Aborted
我不知道我的安装有什么问题。服务器有 2 x Nvidia Tesla K80 和 128 GB 内存,应该足够强大。我希望有人能给我一些帮助。非常感谢!!!
正如 lynguyen 所回答,这里已进行了修复:github。com/dmlc/mxnet/issues/5255
我已经测试了该解决方案并且它适用于我。我正在使用 gcc-4.8.5,可能是导致此问题的 gcc 版本。
谢谢!
我在 GPU 服务器上使用 Centos 6.6。我按照说明 here 安装了 mxnet。一切顺利,直到我尝试测试安装。我 运行 以下命令:
python
>> import mxnet
然后我得到错误说
Check failed: e == fmap_.at(alias) (0x10fc620 vs. 0x103adf0) Entry add_n already registered under different entry
完整错误信息如下:
[16:38:16] /home/mypath/software/try_mxnet/mxnet/dmlc-core/include/dmlc/./logging.h:300: [16:38:16] /home/mypath/software/try_mxnet/mxnet/dmlc-core/include/dmlc/registry.h:66: Check failed: e == fmap_.at(alias) (0x10fc620 vs. 0x103adf0) Entry add_n already registered under different entry
Stack trace returned 4 entries:
[bt] (0) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(ZN4dmlc8RegistryIN4nnvm2OpEE8AddAliasERKSsS5+0x79b) [0x7fa4c820635b]
[bt] (1) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(_ZN4nnvm2Op9add_aliasERKSs+0x1f) [0x7fa4c820493f]
[bt] (2) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0xb3cea9) [0x7fa4c7073ea9]
[bt] (3) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0x1cff226) [0x7fa4c8236226]
terminate called after throwing an instance of 'dmlc::Error'
what(): [16:38:16] /home/mypath/software/try_mxnet/mxnet/dmlc-core/include/dmlc/registry.h:66: Check failed: e == fmap_.at(alias) (0x10fc620 vs. 0x103adf0) Entry add_n already registered under different entry
Stack trace returned 4 entries:
[bt] (0) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(ZN4dmlc8RegistryIN4nnvm2OpEE8AddAliasERKSsS5+0x79b) [0x7fa4c820635b]
[bt] (1) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(_ZN4nnvm2Op9add_aliasERKSs+0x1f) [0x7fa4c820493f]
[bt] (2) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0xb3cea9) [0x7fa4c7073ea9]
[bt] (3) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0x1cff226) [0x7fa4c8236226]
Aborted
我不知道我的安装有什么问题。服务器有 2 x Nvidia Tesla K80 和 128 GB 内存,应该足够强大。我希望有人能给我一些帮助。非常感谢!!!
正如 lynguyen 所回答,这里已进行了修复:github。com/dmlc/mxnet/issues/5255
我已经测试了该解决方案并且它适用于我。我正在使用 gcc-4.8.5,可能是导致此问题的 gcc 版本。 谢谢!