Author: wangsh
Date: Thu May 28 03:47:19 2015
New Revision: 1682143
URL: http://svn.apache.org/r1682143
Log:
update installation page
Added:
incubator/singa/site/trunk/content/resources/files/
incubator/singa/site/trunk/content/resources/files/mm_opensource.zip
(with props)
Modified:
incubator/singa/site/trunk/content/markdown/docs/installation.md
Modified: incubator/singa/site/trunk/content/markdown/docs/installation.md
URL:
http://svn.apache.org/viewvc/incubator/singa/site/trunk/content/markdown/docs/installation.md?rev=1682143&r1=1682142&r2=1682143&view=diff
==============================================================================
--- incubator/singa/site/trunk/content/markdown/docs/installation.md (original)
+++ incubator/singa/site/trunk/content/markdown/docs/installation.md Thu May 28
03:47:19 2015
@@ -22,6 +22,8 @@ SINGA is developed and tested on Linux p
* czmq version >= 3
+ * zookeeper version 3.4.6
+
Tips:
For libraries like openblas, opencv, older versions may also work, because we
do not use any newly added features.
@@ -37,53 +39,50 @@ The common steps to build SINGA can be:
On Unix-like systems with GNU Make as build tool, these build steps can be
summarized by the following sequence of commands executed in a shell.
- $ cd SINGA/FOLDER
- $ ./configure
- $ make
- $ make install
+ $ cd SINGA/FOLDER
+ $ ./configure
+ $ make
+ $ make install
After executing above commands, SINGA library will be installed in the system
default directory.
If you want to specify your own installation directory, use the following
command instead.
- $ ./configure --prefix=/YOUR/OWN/FOLDER
+ $ ./configure --prefix=/YOUR/OWN/FOLDER
The result of configure script will indicate you whether there exist
dependency missings in your system.
If you do not install the dependencies, you can run the following commands.
-To download the thirdparty dependencies:
-
- $ ./script/download.sh
-
-After downloading, to install the thirdparty dependencies:
+To download & install the thirdparty dependencies:
- $ cd thirdparty
- $ ./install-dependencies.sh MISSING_LIBRARY_NAME1 YOUR_INSTALL_PATH1
MISSING_LIBRARY_NAME2 YOUR_INSTALL_PATH2 ...
+ $ cd thirdparty
+ $ ./install.sh MISSING_LIBRARY_NAME1 YOUR_INSTALL_PATH1
MISSING_LIBRARY_NAME2 YOUR_INSTALL_PATH2 ...
If you do not specify the installation path, the library will be installed in
default folder.
For example, if you want to build zeromq library in system folder and gflags
in /usr/local, just run:
- $ ./install-dependencies.sh zeromq gflags /usr/local
+ $ ./install.sh zeromq gflags /usr/local
Another example can be to install all dependencies in /usr/local directory:
- $ ./install-dependencies.sh all /usr/local
+ $ ./install.sh all /usr/local
Here is a table showing the first arguments:
- MISSING_LIBRARY_NAME LIBRARIES
- cmake cmake tools
- czmq* czmq lib
- gflags gflags lib
- glog glog lib
- lmdb lmdb lib
- OpenBLAS OpenBLAS lib
- opencv OpenCV
- protobuf Google protobuf
- zeromq zeromq lib
+ MISSING_LIBRARY_NAME LIBRARIES
+ cmake cmake tools
+ czmq* czmq lib
+ gflags gflags lib
+ glog glog lib
+ lmdb lmdb lib
+ OpenBLAS OpenBLAS lib
+ opencv OpenCV
+ protobuf Google protobuf
+ zeromq zeromq lib
+ zookeeper Apache zookeeper
*: Since czmq depends on zeromq, the script offers you one more argument to
indicate zeromq location.
The installation commands of czmq can be:
- $./install-dependencies.sh czmq /usr/local /usr/local/zeromq
+ $./install.sh czmq /usr/local /usr/local/zeromq
After the execution, czmq will be installed in /usr/local while zeromq is
installed in /usr/local/zeromq.
Added: incubator/singa/site/trunk/content/resources/files/mm_opensource.zip
URL:
http://svn.apache.org/viewvc/incubator/singa/site/trunk/content/resources/files/mm_opensource.zip?rev=1682143&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/singa/site/trunk/content/resources/files/mm_opensource.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream