You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/07/03 15:16: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=16877917#comment-16877917 ]
ASF subversion and git services commented on SINGA-466:
-------------------------------------------------------
Commit 80ec6fc0552a1fdcedf027dfa466ea54d4a1eb71 in incubator-singa's branch refs/heads/master from Wei Wang
[ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=80ec6fc ]
Merge pull request #473 from sjs253/master
SINGA-466 Centos7 Installation instructions
> 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
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)