Centos 6.6

时间:2017-03-05 17:00:11

标签: python centos failed-installation mxnet

我在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内存,应该足够强大。我希望有人可以给我一些帮助。非常感谢!!!

1 个答案:

答案 0 :(得分:0)

正如lynguyen所述,此处已经做了修复:github.com/dmlc/mxnet/issues/5255

我已经测试过该解决方案,它对我有用。我正在使用gcc-4.8.5,也许是导致这个问题的gcc版本。 谢谢!