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 2018/10/26 18:28:50 UTC

[GitHub] anirudhacharya commented on a change in pull request #12962: fix broken links and reorganize build from source page

anirudhacharya commented on a change in pull request #12962: fix broken links and reorganize build from source page
URL: https://github.com/apache/incubator-mxnet/pull/12962#discussion_r228624860
 
 

 ##########
 File path: docs/install/build_from_source.md
 ##########
 @@ -183,53 +199,88 @@ nosetests --verbose tests/python/gpu/test_nccl.py
 **Recommendation to get the best performance out of NCCL:**
 It is recommended to set environment variable NCCL_LAUNCH_MODE to PARALLEL when using NCCL version 2.1 or newer.
 
+<hr>
+
+### Build MXNet with C++
 
-### Build MXNet with Language Packages
 * To enable C++ package, just add `USE_CPP_PACKAGE=1` when you run `make` or `cmake`.
 
+<hr>
 
 ### Usage Examples
-* `-j` runs multiple jobs against multi-core CPUs. Example using all cores on Linux:
+
+* `-j` runs multiple jobs against multi-core CPUs.
+
+For example, you can specify using all cores on Linux as follows:
 
 ```bash
-make -j$(nproc)
+cmake -j$(nproc)
 ```
 
-* Build without using OpenCV:
+
+#### Recommended for Systems with NVIDIA GPUs and Intel CPUs
+* Build MXNet with `cmake` and install with MKL DNN, GPU, and OpenCV support:
 
 ```bash
-make USE_OPENCV=0
+cmake -j USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1 USE_MKLDNN=1
 
 Review comment:
   we usually give these default build options for user to use while building from source. Should we have a section describing different build options from here - https://github.com/apache/incubator-mxnet/blob/master/make/config.mk explaining what each of those do so that the user can make an informed personalized choice for himself? Provide the default options, but also add this section. Thoughts?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services