From a5824b49c09517decddb55afec32523b9a7fa70f Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Wed, 9 Nov 2011 11:37:34 -0800 Subject: Back out revision 2 from //depot/gpgpu_sim_research/fermi/distribution/setup_environment removed troublesome whitespaces around '=' [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10868] --- setup_environment | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/setup_environment b/setup_environment index 179a363..2d3e59d 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 the following to point to your installation of the NVIDIA compute SDK -export NVIDIA_COMPUTE_SDK_LOCATION=~/cuda/sdk/3.1/ +# 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 CUDA Toolkit -export CUDA_INSTALL_PATH=~/cuda/toolkit/3.1/ +export CUDA_INSTALL_PATH=$HOME/nvcuda/3.1/cuda # setting LD_LIBRARY_PATH as follows enables GPGPU-Sim to be invoked by # native CUDA and OpenCL applications. GPGPU-Sim is dynamically linked @@ -29,4 +29,9 @@ 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 -# export OPENCL_REMOTE_GPU_HOST=host.domain +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 -- cgit v1.3