CENTOS7 Install the deployment mxnet

Source: Internet
Author: User
Tags mxnet

Install mxnet under CentOS (similar to installing mxnet under Amazon Linux), refer to the official documentation http://mxnet.io/get_started/setup.html#prerequisites,

The installation steps are as follows:

####################################################################### This script installs MXNet forPython along with all required dependencies on a Amazon Linux machine.############################################## ####################### #set-e# CMake is required forinstalling dependencies.sudo Yum Install-y cmake# Set appropriate library pathEnvvariablesEcho 'export Path=/usr/local/bin: $PATH'>> ~/. profileEcho 'export ld_library_path=/usr/local/lib: $LD _library_path'>> ~/. profileEcho 'export pkg_config_path=/usr/local/lib/pkgconfig: $PKG _config_path'>> ~/. profileEcho '. ~/.profile'>> ~/. Bashrcsource~/. profile# InstallGCC-4.8/ Makeand other development tools on Amazon linux# reference:http://docs.aws.amazon.com/awsec2/latest/userguide/compile-software.html# Install Python, Numpy, Scipy and set up tools.sudo YumGroupinstall-y"Development Tools"sudo Yum Install-Y python27 python27-setuptools python27-Toolssudo Yum Install-y python27-numpy python27-scipy python27-nose python27-matplotlib# Install Openblas at/usr/local/openblasgit clone https://Github.com/xianyi/openblasCD Openblas MakeFc=gfortran-j $ (($ (NPROC) +1))sudo  MakePrefix=/usr/localInstallCD.. # Install OpenCV at/usr/local/opencvgit clone https://GITHUB.COM/OPENCV/OPENCVCD OpenCVmkdir-P BUILDCD Buildcmake-D build_opencv_gpu=off-d with_eigen=on-d with_tbb=on-d with_cuda=off-d with_1394=off-d cmake_build_type=release-d C make_install_prefix=/usr/Local..sudo  MakePrefix=/usr/localInstall# ExportEnvVariables forPkg configexport Pkg_config_path=/usr/local/lib/pkgconfig: $PKG _config_path

Here are some places to be aware of installing OPENCV:

1, if parked in the download IPPICV place, you can download ippicv_linux_20151201.tgz (link: http://www.linuxfromscratch.org/blfs/view/7.9/general/opencv.html),

Then copy the IPPICV file you just downloaded into the OpenCV source directory below: 3rdparty/ippicv/downloads/linux-808b791a6eac9ed78d32a7666804320e

CENTOS7 Install the deployment mxnet

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.