This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get latest OpenJDK (10 at here) | |
# from: http://jdk.java.net/10/ | |
# | |
# Example (OpenJDK 10-10.0.2 / GA) | |
# https://download.java.net/java/GA/jdk10/10.0.2/19aef61b38124481863b1413dce1855f/13/openjdk-10.0.2_linux-x64_bin.tar.gz | |
# 0. Extract openjdk into shared directory | |
# sudo if needed | |
tar -xf <openjdk>.tar.gz -C /usr/local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# for CUDA acceleration, | |
bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package | |
# for Intel MKL acceleration, | |
bazel build --config=opt --config=mkl //tensorflow/tools/pip_package:build_pip_package | |
bazel --server_javabase=$HOME/opt/jdk build --config=opt --config=mkl //tensorflow/tools/pip_package:build_pip_package | |
# for TensorFlow r1.11 w/ Intel nGraph acceleration, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference for intel python repository | |
# https://software.intel.com/en-us/articles/using-intel-distribution-for-python-with-anaconda | |
conda config --add channels intel | |
conda create -n mkldnn -c conda-forge intelpython3_core python=3.6 cartopy numpy matplotlib scipy opencv cython seaborn pandas geopy scikit-learn scikit-image netcdf4 h5py | |
# reference for keras module dependency: | |
# https://github.com/tensorflow/tensorflow/issues/21518#issuecomment-411875069 | |
pip install keras_applications keras_preprocessing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GCC 8.2.0 build | |
# References: | |
# https://gcc.gnu.org/install/configure.html | |
# http://luiarthur.github.io/gccinstall | |
tar xzf gcc-8.2.0.tar.gz | |
cd gcc-8.2.0 | |
# edit <./contrib/download_prerequisites>, from ftp:// to http:// | |
./contrib/download_prerequisites | |
cd .. | |
mkdir objdir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Screen (screen-4.6.2) | |
wget https://ftp.gnu.org/gnu/screen/screen-4.6.2.tar.gz | |
tar -xf <> | |
./autogen.sh | |
./configure --prefix=${HOME}/opt/screen-4.6.2 | |
make && make install | |
# Ncurses (ncurses-6.1) / for Htop | |
wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.1.tar.gz | |
tar -xf <> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user@host tensorflow-1.10.1]$ source activate tf110 | |
(tf110) [user@host tensorflow-1.10.1]$ ./configure | |
WARNING: An illegal reflective access operation has occurred | |
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/home/user/.cache/bazel/_bazel_user/install/792a28b07894763eaa2bd870f8776b23/_embedded_binaries/A-server.jar) to field java.lang.String.value | |
WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil | |
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations | |
WARNING: All illegal access operations will be denied in a future release | |
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". | |
You have bazel 0.17.2 installed. | |
Please specify the location of python. [Default is /home/user/anaconda3/envs/tf110/bin/python]: <ENTER> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OpenJDK 1.8 setup | |
# Apache Maven setup | |
# Build In-Memory Data Fabric release (without LGPL dependencies) | |
$ mvn clean package -DskipTests | |
# Javadoc generation (optional) | |
$ mvn initialize -Pjavadoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Windows\System32\xcopy.exe /Y \ | |
"C:\Users\<user>\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets\*" \ | |
"C:\Users\<user>\Pictures\Wallpaper" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo /usr/local/bin/ltfs -o /dev/st0 /mnt/lto5/ | |
480f LTFS14000I LTFS starting, HPE StoreOpen Software version 3.4.0, log level 2 | |
480f LTFS14058I LTFS Format Specification version 2.4.0 | |
480f LTFS14104I Launched by "/usr/local/bin/ltfs -o /dev/st0 /mnt/lto5/" | |
480f LTFS14105I This binary is built for Linux (x86_64) | |
480f LTFS14106I GCC version is 4.8.5 20150623 (Red Hat 4.8.5-11) | |
480f LTFS17087I Kernel version: Linux version 3.10.0-862.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Apr 20 16:44:24 UTC 2018 i386 | |
480f LTFS17089I Distribution: CentOS Linux release 7.5.1804 (Core) | |
480f LTFS17089I Distribution: NAME="CentOS Linux" | |
480f LTFS17089I Distribution: CentOS Linux release 7.5.1804 (Core) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 0. import required modules | |
module add gcc/7.2.0 openmpi/3.1.0 htop/2.2.0 | |
# 1. install Miniconda3 (Miniconda3-4.5.4/Python 3.6.5) | |
# refer: https://repo.continuum.io/miniconda/ | |
# add miniconda PATH in ~/.bashrc | |
wget https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh | |
chmod +x Miniconda3-4.5.4-Linux-x86_64.sh |