Skip to content

Instantly share code, notes, and snippets.

@chao1224
Last active November 18, 2018 21:55
Show Gist options
  • Select an option

  • Save chao1224/d326d12be8b7e6114238b111148a6058 to your computer and use it in GitHub Desktop.

Select an option

Save chao1224/d326d12be8b7e6114238b111148a6058 to your computer and use it in GitHub Desktop.
export HOME=$PWD
export PATH=$PATH:/usr/local/cuda/bin
wget -q –retry-connrefused –waitretry=10 https://repo.continuum.io/archive/Anaconda2-4.3.1-Linux-x86_64.sh
chmod 777 *
./Anaconda2-4.3.1-Linux-x86_64.sh -b -p ./anaconda > /dev/null
export PATH=$PWD/anaconda/bin:$PATH
#keras stuff
conda install --yes pyyaml > /dev/null
conda install --yes HDF5 > /dev/null
conda install --yes h5py > /dev/null
conda install --yes -c rdonnelly libgpuarray > /dev/null
conda install --yes -c rdonnelly pygpu > /dev/null
conda install --yes -c conda-forge theano=0.8* > /dev/null
conda install --yes -c conda-forge keras=1.2* > /dev/null
conda install --yes -c rdkit rdkit-postgresql > /dev/null
conda install --yes -c conda-forge xgboost > /dev/null
conda install -c menpo -p anaconda/lib/python2.7/site-packages/ imageio
echo 'Done installing libraries'
chmod 777 -R ./anaconda
wget -nv http://proxy.chtc.wisc.edu/SQUID/agitter/cudnn/cudnn-8.0-linux-x64-v5.0-ga.tgz
tar -xf cudnn-8.0-linux-x64-v5.0-ga.tgz
export CUDNN_PATH=$(pwd)/cuda
export LD_LIBRARY_PATH=$(pwd)/cuda/lib64:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment