<초기환경 설정>
# apt-get install make automake autoconf gfortran-4.8-multilib-powerpc-linux-gnu libgfortran-4.8-dev-powerpc-cross gfortran libgfortran-4.8-dev gcc-powerpc-linux-gnu g++ pkg-config cmake-curses-gui zlib1g-dev zip unzip libtool openjdk-8-jdk python python-all-dev swig python-numpy g++-4.8 g++-4.8-multilib-powerpc-linux-gnu zlibc re2c libre2-dev libcupti-dev git

<IBM 전용>
-Advanced Toolchain

 
wget ftp://ftp.unicamp.br/pub/linuxpatch/toolchain/at/ubuntu/dists/xenial/at11.0/binary-ppc64el/advance-toolchain-at11.0-mcore-libs_11.0-2_ppc64el.deb &

wget ftp://ftp.unicamp.br/pub/linuxpatch/toolchain/at/ubuntu/dists/xenial/at11.0/binary-ppc64el/advance-toolchain-devel_11.0-2_ppc64el.deb &
wget ftp://ftp.unicamp.br/pub/linuxpatch/toolchain/at/ubuntu/dists/xenial/at11.0/binary-ppc64el/advance-toolchain-perf_11.0-2_ppc64el.deb &
wget ftp://ftp.unicamp.br/pub/linuxpatch/toolchain/at/ubuntu/dists/xenial/at11.0/binary-ppc64el/advance-toolchain-runtime_11.0-2_ppc64el.deb &
-> 파일 4개 다운로드

dpkg -i advance-toolchain-at11.0-runtime
dpkg -i advance-toolchain-at11.0-perf_11.0-2_ppc64el.deb
dpkg -i advance-toolchain-at11.0-devel_11.0-2_ppc64el.deb
dpkg -i advance-toolchain-at11.0-mcore-libs_11.0-2_ppc64el.deb
-> 해당파일 4개 설치 후 "/opt/at11.0/bin/" 디렉토리내 파일 사용

example) advanced toolchain을 설치하면 gcc 최신버전이 설치됨

root@ubuntu:~# gcc --version
gcc (Ubuntu/IBM 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@ubuntu:~# /opt/at11.0/bin/gcc --version
gcc (GCC) 7.2.1 20171116 (Advance-Toolchain-at11.0) [ibm/gcc-7-branch revision 254526]
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.





<개발툴>

-CUDA 9.1

 

root@ubuntu:/data/test# dpkg -i cuda-repo-ubuntu1604-9-1-local_9.1.85-1_ppc64el.deb
root@ubuntu:/data/test# apt-get update
W: GPG error: file:/var/cuda-repo-9-1-local  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
W: There is no public key available for the following key IDs:
F60F4B3D7FA2AF80 
root@ubuntu:/etc/apt/sources.list.d# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys  F60F4B3D7FA2AF80
Executing: /tmp/tmp.K9QlvbZhFq/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
F60F4B3D7FA2AF80
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys  F60F4B3D7FA2AF80
# grep -r --include '*.list' '^deb ' /etc/apt/sources.list*
-> Repository list 확인
# apt install cuda



-CuDNN 7

 

tar -xf cudnn-9.1-linux-ppc64le-v7.solitairetheme8
cp -rp cuda/targets/ppc64le-linux/include/cudnn.h /usr/local/cuda-9.1/include
cp -rp cuda/targets/ppc64le-linux/lib/* /usr/local/cuda-9.1/lib64/
-Anaconda (python 3.6)
wget https://repo.continuum.io/archive/Anaconda3-5.0.0-Linux-ppc64le.sh
chmod 755 Anaconda3-5.0.0-Linux-ppc64le.sh
./Anaconda3-5.0.0-Linux-ppc64le.sh
conda install bazel numpy
-> bazel numpy 라이브러리 설치
///
apt install software-properties-common



 

 

- Bazel 최신버전 설치

https://docs.bazel.build/versions/master/install-compile-source.html

# wget https://github.com/bazelbuild/bazel/releases/download/0.9.0/bazel-0.9.0-dist.zip
# unzip bazel-0.9.0-dist.zip

# ./compile.sh
# bazel version
-> Version 확인

# cp -rp output/bazel /usr/local/bin/

 


-tensorflow 1.4

 

 

# git clone --recurse-submodules https://github.com/tensorflow/tensorflow
# cd tensorflow
# git checkout master
# ./configure


 


-Spyder 3.2.4


-jupyter
-Keras 2.0
 
<라이브러리>
-numpy
-scipy
-scikit learn 0.19.1
-matplotlib 2.1.1
-pydot_ng
-graphviz
-Pillow
-OpenCV
 
<원격접속>
-xrdp-xvnc setting (.xsession-->mate-session)
-ftp setting

////////////////////////////





'IBM PowerAI' 카테고리의 다른 글

docker 도커 설명  (0) 2017.07.09
spectrum scale 구성 (gpfs)  (0) 2017.07.07
관련 자료  (0) 2017.07.06

+ Recent posts