You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2016/01/05 19:19:16 UTC

[4/8] incubator-singa git commit: Add description on hdfs and gpu support compilation in README.md.

Add description on hdfs and gpu support compilation in README.md.


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/d14ee194
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/d14ee194
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/d14ee194

Branch: refs/heads/master
Commit: d14ee19442d48a227c5d0ad2197579361592ba57
Parents: 247fabd
Author: xiezl <xi...@comp.nus.edu.sg>
Authored: Thu Dec 31 15:35:56 2015 +0800
Committer: Wei Wang <wa...@comp.nus.edu.sg>
Committed: Wed Jan 6 02:18:29 2016 +0800

----------------------------------------------------------------------
 README.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/d14ee194/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 59fe32d..38575bb 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,24 @@ Please make sure you have `g++ >= 4.8.1` before building SINGA.
     # refer to the FAQs below for error during make
     $ make
 
+To compile with GPU support, you should run:
+    
+    $ ./configure --enable-cuda --with-cuda=/CUDA/PATH --enable-cudnn --with-cudnn=/CUDNN/PATH
+
+--with-cuda and --with-cudnn is optional as by default the script will search
+system paths.
+
+To compile with HDFS support, you should run:
+
+    $ ./configure --enable-hdfs --with-libhdfs=/PATH/TO/HDFS3
+
+--with-libhdfs is optional as by default the path is /usr/local/.
+
+You can also run the following command for further configuration.
+
+    $ ./configure --help
+
+
 ##Running Examples
 
 Let us train the [CNN model](http://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks) over the