Skip to content

Commit

Permalink
Script to set environment variables to run the system
Browse files Browse the repository at this point in the history
  • Loading branch information
kuz committed Oct 22, 2014
1 parent aea4c3f commit d514c0c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#
# Run this file from the project root to install all required libraries:
# * Compile ALE under ../bin/ale
# * Compile cuda-convnet2 under ../bin/cuda-convnet2
# * Compile ALE under ../libraries/ale
# * Compile cuda-convnet2 under ../libraries/cuda-convnet2
#


Expand Down
7 changes: 5 additions & 2 deletions install_noGUI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#
# Run this file from the project root to install all required libraries:
# * Compile ALE under ../bin/ale
# * Compile cuda-convnet2 under ../bin/cuda-convnet2
# * Compile ALE under ../libraries/ale
# * Compile cuda-convnet2 under ../libraries/cuda-convnet2
#


Expand Down Expand Up @@ -48,6 +48,9 @@ cd "$cwd"
# cuda-convnet2
# -------------

echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/opencv/2.4.5/lib64:$HOME/libjpeg/lib:$HOME/cuda-convnet2/util:$HOME/cuda-convnet2/nvmatrix:$HOME/cuda-convnet2/cudaconv3" >> ~./bash_profile
echo "export PYTHONPATH=$HOME/cuda-convnet2" >> ~./bash_profile

# Go to cuda-convnet directory
cd ./libraries/cuda-convnet2

Expand Down
9 changes: 9 additions & 0 deletions setenv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

#
# Run this file to setup environment variables and run the main.py
#

# Export environment variables
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/opencv/2.4.5/lib64:$HOME/Libraries/libjpeg/lib:$HOME/Deepmind/Replicating-DeepMind/libraries/cuda-convnet2/util:$HOME/Deepmind/Replicating-DeepMind/libraries/cuda-convnet2/nvmatrix:$HOME/Deepmind/Replicating-DeepMind/libraries/cuda-convnet2/cudaconv3
export PYTHONPATH=$HOME/Deepmind/Replicating-DeepMind/libraries/cuda-convnet2/

0 comments on commit d514c0c

Please sign in to comment.