You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/08/24 15:40:08 UTC

[GitHub] [incubator-mxnet] ekdnam opened a new issue #19002: error while building mxnet from source

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


   ## Description
   (A clear and concise description of what the bug is.)
   I am trying to build mxnet from source to test some source code I have modified. I am following the instructions given here: https://mxnet.apache.org/versions/1.6/get_started/build_from_source.html .
   
   Two things
   1. For me, there seems to be no direct indication in the link above on how to build for v1.6. The `make\config.mk` seems to not be present.
   2. Thus I went to the next step, and it resulted in the error below.   
   
   ### Error Message
   (Paste the complete error message. Please also include stack trace by setting environment variable `DMLC_LOG_STACK_TRACE_DEPTH=10` before running your script.)`
   ![mxnet-install](https://user-images.githubusercontent.com/40426312/91065204-d2b26b80-e64d-11ea-9b8d-d98a2ae73115.jpg)
   
   ## 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. python -m pip install --user -e ./python
   2.
   
   ## What have you tried to solve it?
   
   1.
   2.
   
   ## Environment
   
   We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
   ```
   curl --retry 10 -s https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | python
   
   # paste outputs here
   ```
   ![mxnet-install-2](https://user-images.githubusercontent.com/40426312/91065411-0c837200-e64e-11ea-8798-3aefe1d7b580.jpg)
   


----------------------------------------------------------------
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



[GitHub] [incubator-mxnet] szha commented on issue #19002: error while building mxnet from source

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


   on linux it's `-DUSE_CUDA=OFF` though I'm not sure how it works on windows 🤦 


----------------------------------------------------------------
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



[GitHub] [incubator-mxnet] ekdnam commented on issue #19002: error while building mxnet from source

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


   Thanks. I am now following these steps, will tell if any error pops up


----------------------------------------------------------------
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



[GitHub] [incubator-mxnet] github-actions[bot] commented on issue #19002: error while building mxnet from source

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


   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



[GitHub] [incubator-mxnet] leezu commented on issue #19002: error while building mxnet from source

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


   The website will by default show you the guide for 1.6. You can navigate to the master version of the guide by selecting "master" in the upper right corner, pressing "Get Started" and then clicking on the "compile from source" guide.
   
   Unfortunately we can't link that page directly at this time due to https://github.com/apache/incubator-mxnet/issues/18913


----------------------------------------------------------------
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



[GitHub] [incubator-mxnet] ekdnam commented on issue #19002: error while building mxnet from source

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


   I don't have a GPU installed on my machine, so I turned this to OFF
   
   https://github.com/apache/incubator-mxnet/blob/3c4ac19daa3e645d918692b864ea19640f7e0314/CMakeLists.txt#L42
   
   Now the resulting error is this: 
   ![cmake-cuda](https://user-images.githubusercontent.com/40426312/91110574-d79e0c00-e69b-11ea-9feb-8535f1f35d5d.jpg)
   
   What should be done?
   


----------------------------------------------------------------
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



[GitHub] [incubator-mxnet] leezu edited a comment on issue #19002: error while building mxnet from source

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


   The website will by default show you the guide for 1.6, as it is the latest stable version. You can navigate to the master version of the guide by selecting "master" in the upper right corner, pressing "Get Started" and then clicking on the "compile from source" guide.
   
   Unfortunately we can't link that page directly at this time due to https://github.com/apache/incubator-mxnet/issues/18913


----------------------------------------------------------------
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



[GitHub] [incubator-mxnet] kohillyang commented on issue #19002: error while building mxnet from source

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


   Just use cmake-gui, and search USE_CUDA in the dialog, and turn  it OFF.


----------------------------------------------------------------
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



[GitHub] [incubator-mxnet] ekdnam commented on issue #19002: error while building mxnet from source

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


   Thanks for the very prompt response. While specifying the error, there seems to be a mistake from my side. I thought the master branch of this repo was the source for v1.6, but that is not the case. 
   
   As you have rightly said, I have the master branch of `incubator-mxnet`. How can I use cmake to compile it?


----------------------------------------------------------------
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



[GitHub] [incubator-mxnet] leezu commented on issue #19002: error while building mxnet from source

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


   > For me, there seems to be no direct indication in the link above on how to build for v1.6. The make\config.mk seems to not be present.
   
   The file is present on v1.6: https://github.com/apache/incubator-mxnet/blob/v1.6.x/make/config.mk
   
   I suspect you are not compiling v1.6? If you would like to compile the master version, you need to use cmake. But also for 1.6, as you are on Windows, you need to use cmake.
   
   Please post here if you run into more issues. Thanks


----------------------------------------------------------------
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