singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shreyansh Shrivastava (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SINGA-466) Installation instructions on Centos7 of SINGA
Date Sun, 30 Jun 2019 10:40:00 GMT
Shreyansh Shrivastava created SINGA-466:
-------------------------------------------

             Summary: 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


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)

Mime
View raw message