You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "Moaz Reyad (JIRA)" <ji...@apache.org> on 2019/06/30 13:55:00 UTC
[jira] [Commented] (SINGA-466) Installation instructions on Centos7
of SINGA
[ https://issues.apache.org/jira/browse/SINGA-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875793#comment-16875793 ]
Moaz Reyad commented on SINGA-466:
----------------------------------
Thank you for this information. You may proceed and add them to the [installation page|https://github.com/apache/incubator-singa/blob/master/doc/en/docs/installation.md] in SINGA documentation.
You need to fork the SINGA repo in your local account, make the changes then create a pull request. The process is described [here|http://singa.apache.org/develop/contribute-code.html#pull-request].
Check [how to contribute docs|http://singa.apache.org/develop/contribute-docs.html] page for more details.
> Installation instructions on Centos7 of SINGA
> ---------------------------------------------
>
> Key: SINGA-466
> URL: https://issues.apache.org/jira/browse/SINGA-466
> Project: Singa
> Issue Type: Task
> Components: Application
> Reporter: Shreyansh Shrivastava
> Priority: Major
> Labels: Installation
>
> I installed SINGA on Centos7, the dependencies had to be installed separately. I am listing the commands that I followed.
> *Dependencies installation*
> **
> * sudo yum install freetype-devel libXft-devel ncurses-devel openblas-devel blas-devel lapack devel atlas-devel kernel-headers unzip wget pkgconfig zip zlib-devel libcurl-devel cmake curl unzip dh-autoreconf git python-devel glog-devel protobuf-devel
> *
> yum group install "Development Tools"
> *
> _For installing swig_
> sudo yum install pcre-devel
> wget http://prdownloads.sourceforge.net/swig/swig-3.0.5.tar.gz
> tar xvzf swig-3.0.5.tar.gz
> cd swig-3.0.5.tar.gz
> ./configure --prefix=${RUN}
> make
> make install
> * _For installing gfortran_
> yum install centos-release-scl-rh
> yum --enablerepo=centos-sclo-rh-testing install devtoolset-7-gcc-gfortran
> * _For installing pip and other packages_
> sudo yum install epel-release
> sudo yum install python-pip
> pip install matplotlib numpy pandas scikit-learn pydot
> *Installation*
> *
> mkdir build
> cd build
> cmake -DUSE_MODULES=ON ..
> make
> *
> _Goto python folder_
> pip install -e
> *Testing*
> *
> ./bin/test_singa
> If SINGA passes all tests, then you have successfully installed SINGA.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)