diff options
| author | Andrew M. B. Boktor <[email protected]> | 2011-11-09 11:37:34 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:18:24 -0700 |
| commit | a5824b49c09517decddb55afec32523b9a7fa70f (patch) | |
| tree | d51507ccdf4560be7fb80034f5437f19ae44c255 /setup_environment | |
| parent | aa1030f060269d0bd468c445e2778167763af20e (diff) | |
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]
Diffstat (limited to 'setup_environment')
| -rw-r--r-- | setup_environment | 13 |
1 files 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 |
