summaryrefslogtreecommitdiff
path: root/setup_enviroment
diff options
context:
space:
mode:
authorTim Rogers <[email protected]>2011-07-07 09:35:02 -0800
committerTim Rogers <[email protected]>2011-07-07 09:35:02 -0800
commitfdcbf444e041bee66a121b980559120f07f6fb15 (patch)
tree778fcba257e52bfd5c083462c73c71e3c6190d99 /setup_enviroment
parent2c7786737f1b3137ff199df51c4813826e5f8381 (diff)
Integration change. Bringing in some changes from mem_divergence that allow for multiple configs of the built simulator to exist at one time. Now you no longer have to clean build when changing from debug to release configs it also eliminates the possibility of having a fraken-file where some objects are in debug and some are in release.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9743]
Diffstat (limited to 'setup_enviroment')
-rw-r--r--setup_enviroment4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup_enviroment b/setup_enviroment
index a10a829..7ecff07 100644
--- a/setup_enviroment
+++ b/setup_enviroment
@@ -6,12 +6,14 @@ export QTINC=/usr/include
export BOOST_ROOT=/usr/include/boost
export BOOST_LIB=/usr/lib64
export BOOST_VER=
+export NVOPENCL_LIBDIR=/usr/lib64
+export GPGPUSIM_CONFIG=release
export CUDA_INSTALL_PATH=$HOME/nvcuda/3.1/cuda
export CUDAHOME=$HOME/nvcuda/3.1/cuda
export NVIDIA_COMPUTE_SDK_LOCATION=$HOME/NVIDIA_GPU_Computing_SDK/
export NVIDIA_CUDA_SDK_LOCATION=$NVIDIA_COMPUTE_SDK_LOCATION/
-export LD_LIBRARY_PATH=$GPGPUSIM_ROOT/lib:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH=$GPGPUSIM_ROOT/lib/$GPGPUSIM_CONFIG:$LD_LIBRARY_PATH
export PATH=$GPGPUSIM_ROOT/bin:$CUDA_INSTALL_PATH/bin:$PATH
HF=`hostname -f`
export OPENCL_REMOTE_GPU_HOST=aamodt-pc05.ece.ubc.ca