Uploaded image for project: 'Singa'
  1. Singa
  2. SINGA-466

Installation instructions on Centos7 of SINGA

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shreyansh253 Shreyansh Shrivastava
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m