Sign inSign up

tensortang/ubuntu

By tensortang

Updated over 6 years ago

My ubuntu environment.

Image
0

523

tensortang/ubuntu repository overview

latest is based on tag 16.04-gcc8

  • added below
    • apt-get install clang-format python-pip
    • pip install pre-commit
    • install Intel xed disassembler tool. see details about how to install xed in below tag16.04
    • apt-get install numactl, suggest run with --privileged

tags

16.04

  • forked from docker.io/ubuntu:16.04
  • apt-get install -y vim, git, gcc, g++, make, cmake, wget and gawk
  • apt-get install -y build-essential texinfo zlib1g-dev libmpc-dev flex bison libisl-dev
  • install Intel xed disassembler tool to view the xbyak dumpped bin files.
  • How to dump: can refer to MKL-DNN profiling doc
  • How to build xed:
    1. mkdir xed && cd xed
    2. git clone https://github.com/intelxed/xed.git xed and git clone https://github.com/intelxed/mbuild.git mbuild
    3. mkdir build && build
    4. ../xed/mfile.py
    5. ../xed/mfile.py examples
    6. Find the xed executable file is in obj/examples, copy it to /usr/local/bin
  • I only installed xed this one executable file
  • apt-get install numactl
16.04-paddle
 - apt-get install -y automake gdb cmake python python-pip swig dmidecode curl wget python-tk python-dev && easy_install -U pip
 - pip install numpy protobuf pre-commit
 - apt-get install -y fish gcc-4.8 g++-4.8 patchelf
 - ulimit -c unlimited
 - apt-get install -y clang-format clang-3.8 llvm-3.8 libclang-3.8-dev
 - pip install cpplint ( and some modules can be installed throught installing paddlepaddle: graphviz, pyparsing, backports.functools-lru-cache, subprocess32, pytz, python-dateutil, kiwisolver, cycler, numpy, matplotlib, nltk, opencv-python, Pillow, recordio, scipy, requests, rarfile, protobuf-3.5.2)

16.04-gcc8

  • based on my 16.04 tag
  • installed gcc8 from source code under commit id 156d2484120350473307c3f621726ca0fb1c4e39. (configure --disable-multilib --with_isl)
  • installed binutils-gdb tools from source code under commit id 35fd2b2bcf370837a03f077acf1222f0a7e9c4d1

intelcaffe

  • this tag is for compiling intelcaffe.
  • based on tag 16.04. note: it's not gcc8
  • apt-get install -y libgflags-dev libgoogle-glog-dev libboost-all-dev libcv-dev libsnappy-dev
  • installed opencv2.4.9 from source package
  • installed protobuf-2.5.0 from source package.

vtune

  • based on latest gcc8.0
  • apt-get install clang-format python-pip
  • pip install pre-commit
  • install Intel xed disassembler tool. see details about how to install xed in below tag16.04
  • add vtune

Tag summary

Content type

Image

Digest

Size

826.9 MB

Last updated

over 8 years ago

docker pull tensortang/ubuntu