summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
Diffstat (limited to 'setup_environment')
-rw-r--r--setup_environment13
1 files changed, 4 insertions, 9 deletions
diff --git a/setup_environment b/setup_environment
index d3d56f6..179a363 100644
--- a/setup_environment
+++ b/setup_environment
@@ -12,11 +12,11 @@ export BOOST_LIB=/usr/lib64
export BOOST_VER=
export NVOPENCL_LIBDIR=/usr/lib64
-# change this to point to your installation of the NVIDIA compute SDK
-export NVIDIA_COMPUTE_SDK_LOCATION=~/NVIDIA_GPU_Computing_SDK
+# change the following to point to your installation of the NVIDIA compute SDK
+export NVIDIA_COMPUTE_SDK_LOCATION=~/cuda/sdk/3.1/
# change the following to point to your installation of CUDA Toolkit
-export CUDA_INSTALL_PATH=$HOME/nvcuda/3.1/cuda
+export CUDA_INSTALL_PATH=~/cuda/toolkit/3.1/
# setting LD_LIBRARY_PATH as follows enables GPGPU-Sim to be invoked by
# native CUDA and OpenCL applications. GPGPU-Sim is dynamically linked
@@ -29,9 +29,4 @@ export PATH=$GPGPUSIM_ROOT/bin:$CUDA_INSTALL_PATH/bin:$PATH
# SSH to remote node to generate PTX for OpenCL kernels when running on
# a node that does not have an NVIDIA driver installed.
# The remote node should have GPGPU-Sim installed at the same path
-if [ `hostname -d` = "ece.ubc.ca" ]; then
- export OPENCL_REMOTE_GPU_HOST=aamodt-pc05.ece.ubc.ca
- if [ `hostname -f` = $OPENCL_REMOTE_GPU_HOST ]; then
- unset OPENCL_REMOTE_GPU_HOST
- fi
-fi
+# export OPENCL_REMOTE_GPU_HOST=host.domain