You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/03/22 08:11:18 UTC

[GitHub] [incubator-mxnet] harupy opened a new issue #20068: OSError: libopenblas.so.0: cannot open shared object file: No such file or directory

harupy opened a new issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068


   ## Description
   (A clear and concise description of what the bug is.)
   
   ### Error Message
   (Paste the complete error message. Please also include stack trace by setting environment variable `DMLC_LOG_STACK_TRACE_DEPTH=100` before running your script.)
   
   ## To Reproduce
   (If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
   
   ### Steps to reproduce
   (Paste the commands you ran that produced the error.)
   
   1. Prepare the following dockerfile:
   
   ```
   FROM python:3.7
   
   RUN pip install mxnet
   RUN python -c "import mxnet"
   ```
   
   
   2. Then, run `docker build .`
   
   ## What have you tried to solve it?
   
   1.
   2.
   
   ## Environment
   
   ***We recommend using our script for collecting the diagnostic information with the following command***
   `curl --retry 10 -s https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py | python3`
   
   <details>
   <summary>Environment Information</summary>
   
   ```
   # Paste the diagnose.py command output here
   ```
   
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu edited a comment on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
leezu edited a comment on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-804134739


   @mseth10 @access2rohit please take a look why the CD didn't package the libopenblas.so
   
   tools/pip/setup.py includes instructions for copying libopenblas.so in v1.8.x, v1.x, and master. But apparently that didn't work in v1.8.x, potentially due to some missing library file names in the jenkins files?
   
   v1.8.x https://github.com/apache/incubator-mxnet/blob/a0535ddfb0246f53f7b851baf861fc06d3ff48c3/tools/pip/setup.py#L170-L172
   v1.x https://github.com/apache/incubator-mxnet/blob/cfa1c890a7ecb8b5e29ff4e90d6784141f09c4cd/tools/pip/setup.py#L164-L166
   master https://github.com/apache/incubator-mxnet/blob/4d706e8c19b3354878eda9467b149c0ce1fd6d47/tools/pip/setup.py#L165-L167
   
   However, I noted that v1.8.x also attempts to copy libquadmath, which MUST NOT happen due to license of libquadmath. That should be fixed. Fortunately that code didn't run due to the current bug.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu edited a comment on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
leezu edited a comment on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-804134739


   @mseth10 @access2rohit please take a look why the CD didn't package the libopenblas.so
   
   tools/pip/setup.py includes instructions for copying libopenblas.so in v1.8.x, v1.x, and master. But apparently that didn't work in v1.8.x.
   
   v1.8.x https://github.com/apache/incubator-mxnet/blob/a0535ddfb0246f53f7b851baf861fc06d3ff48c3/tools/pip/setup.py#L170-L172
   v1.x https://github.com/apache/incubator-mxnet/blob/cfa1c890a7ecb8b5e29ff4e90d6784141f09c4cd/tools/pip/setup.py#L164-L166
   master https://github.com/apache/incubator-mxnet/blob/4d706e8c19b3354878eda9467b149c0ce1fd6d47/tools/pip/setup.py#L165-L167
   
   I suspect the issue is that `libquadmath` is mentioned in v1.8.x which is incorrect


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] github-actions[bot] commented on issue #20068: OSError: libopenblas.so.0: cannot open shared object file: No such file or directory

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-803858252


   Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
   Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
   If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] harupy closed issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
harupy closed issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu edited a comment on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
leezu edited a comment on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-804134739


   @mseth10 @access2rohit please take a look why the CD didn't package the libopenblas.so
   
   tools/pip/setup.py includes instructions for copying libopenblas.so in v1.8.x, v1.x, and master. But apparently that didn't work in v1.8.x, potentially due to some missing library file names in the jenkins files?
   
   v1.8.x https://github.com/apache/incubator-mxnet/blob/a0535ddfb0246f53f7b851baf861fc06d3ff48c3/tools/pip/setup.py#L170-L173
   v1.x https://github.com/apache/incubator-mxnet/blob/cfa1c890a7ecb8b5e29ff4e90d6784141f09c4cd/tools/pip/setup.py#L164-L166
   master https://github.com/apache/incubator-mxnet/blob/4d706e8c19b3354878eda9467b149c0ce1fd6d47/tools/pip/setup.py#L165-L167
   
   However, I noted that v1.8.x also attempts to copy libquadmath, which MUST NOT happen due to license of libquadmath. That should be fixed. Fortunately that code didn't run due to the current bug.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu commented on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-804134739


   @mseth10 @access2rohit please take a look why the CD didn't package the libopenblas.so
   
   tools/pip/setup.py includes instructions for copying libopenblas.so in v1.8.x, v1.x, and master. But apparently that didn't work in v1.8.x, potentially due to some missing library file names in the jenkins files?
   
   v1.8.x https://github.com/apache/incubator-mxnet/blob/a0535ddfb0246f53f7b851baf861fc06d3ff48c3/tools/pip/setup.py#L170-L172
   v1.x https://github.com/apache/incubator-mxnet/blob/cfa1c890a7ecb8b5e29ff4e90d6784141f09c4cd/tools/pip/setup.py#L164-L166
   master https://github.com/apache/incubator-mxnet/blob/4d706e8c19b3354878eda9467b149c0ce1fd6d47/tools/pip/setup.py#L165-L167
   
   However, I noted that v1.8.x also attempts to copy libquadmath, which MUST NOT happen due to license of libquadmath. That should be fixed. Fortunately that code didn't run due to the current bug.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu commented on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-804136719


   The problem is that https://github.com/apache/incubator-mxnet/pull/19514 is missing on v1.8.x


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] szha commented on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
szha commented on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-808241872


   @praneethkv we are working on patching the wheels to fix the problem


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] szha commented on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
szha commented on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-804043612


   I think this is due to a change in CD that openblas is no longer statically linked in libmxnet. For now you can install openblas separately.
   
   cc @mseth10 @leezu 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] leezu commented on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-804097687


   @harupy it's unclear what you are doing. You need to provide more details.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] astonzhang commented on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
astonzhang commented on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-834900161


   For anyone who encounters the same error when installing mxnet-cu101==1.8.0 or 1.8.0post0 and run `import mxnet`:
   
   1. Starting from version 1.8.0, CUDNN and NCCL should be installed as well. https://mxnet.apache.org/versions/master/get_started?platform=linux&language=python&processor=gpu&environ=pip&
   
   2. So you may install CUDNN and NCCL (NCCL 2):
   
   ```
   conda install -c conda-forge cudnn
   conda install -c conda-forge nccl   # It gives you nccl 2, nccl 1 won't work
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] access2rohit commented on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
access2rohit commented on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-811301788


   I think the issue is fixed now @praneethkv can you try again ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] fhieber commented on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
fhieber commented on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-804123436


   We observe the same issue when trying to use pip-installed MXNet 1.8 (ubuntu, CPU): https://github.com/awslabs/sockeye/runs/2161521442?check_suite_focus=true


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] praneethkv commented on issue #20068: `OSError: libopenblas.so.0: cannot open shared object file: No such file or directory` in mxnet 1.8.0

Posted by GitBox <gi...@apache.org>.
praneethkv commented on issue #20068:
URL: https://github.com/apache/incubator-mxnet/issues/20068#issuecomment-808237239


   My container suddenly started failing to build and upon looking, this was the error. I started using previous version which is 1.7.0.post2 and works perfectly


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org