From ac26c19941d00def17b57caf8ec1db81342b453b Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Wed, 9 Nov 2011 09:43:03 -0800 Subject: Rename/Move: From: //depot/gpgpu_sim_research/fermi/distribution/setup_enviroment To: //depot/gpgpu_sim_research/fermi/distribution/setup_environment [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10864] --- setup_enviroment | 37 ------------------------------------- setup_environment | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 setup_enviroment create mode 100644 setup_environment diff --git a/setup_enviroment b/setup_enviroment deleted file mode 100644 index d3d56f6..0000000 --- a/setup_enviroment +++ /dev/null @@ -1,37 +0,0 @@ -# see README before running this - -# uncomment the line with debug if you want to run GPGPU-Sim in gdb -export GPGPUSIM_CONFIG=release -#export GPGPUSIM_CONFIG=debug - -export GPGPUSIM_ROOT="$( cd "$( dirname "$BASH_SOURCE" )" && pwd )" - -export QTINC=/usr/include -export BOOST_ROOT=/usr/include/boost -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 CUDA Toolkit -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 -# against instead of the CUDA toolkit. This replaces this cumbersome -# static link setup in prior GPGPU-Sim releases. -export LD_LIBRARY_PATH=$GPGPUSIM_ROOT/lib/$GPGPUSIM_CONFIG:$LD_LIBRARY_PATH -export PATH=$GPGPUSIM_ROOT/bin:$CUDA_INSTALL_PATH/bin:$PATH - -# The following sets OPENCL_REMOTE_GPU_HOST which is used by GPGPU-Sim to -# 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 diff --git a/setup_environment b/setup_environment new file mode 100644 index 0000000..d3d56f6 --- /dev/null +++ b/setup_environment @@ -0,0 +1,37 @@ +# see README before running this + +# uncomment the line with debug if you want to run GPGPU-Sim in gdb +export GPGPUSIM_CONFIG=release +#export GPGPUSIM_CONFIG=debug + +export GPGPUSIM_ROOT="$( cd "$( dirname "$BASH_SOURCE" )" && pwd )" + +export QTINC=/usr/include +export BOOST_ROOT=/usr/include/boost +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 CUDA Toolkit +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 +# against instead of the CUDA toolkit. This replaces this cumbersome +# static link setup in prior GPGPU-Sim releases. +export LD_LIBRARY_PATH=$GPGPUSIM_ROOT/lib/$GPGPUSIM_CONFIG:$LD_LIBRARY_PATH +export PATH=$GPGPUSIM_ROOT/bin:$CUDA_INSTALL_PATH/bin:$PATH + +# The following sets OPENCL_REMOTE_GPU_HOST which is used by GPGPU-Sim to +# 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 -- cgit v1.3