diff options
| author | Tor Aamodt <[email protected]> | 2011-06-29 15:06:52 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2011-06-29 15:06:52 -0800 |
| commit | f3a123baa13bf575d46a34d3062dfbd875bb946e (patch) | |
| tree | 91da0cb7e3dcb4891c1ed570427581c471897f3c /setup_enviroment_ptxplus | |
| parent | 9d93c0493361a5c9e6b1027898c57b8e46605811 (diff) | |
moving setup scripts into distribution directory (make it easier for users to setup GPGPU-Sim)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9688]
Diffstat (limited to 'setup_enviroment_ptxplus')
| -rw-r--r-- | setup_enviroment_ptxplus | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/setup_enviroment_ptxplus b/setup_enviroment_ptxplus new file mode 100644 index 0000000..1c92b43 --- /dev/null +++ b/setup_enviroment_ptxplus @@ -0,0 +1,25 @@ +SIMSUBDIR=fermi + +export GPGPUSIM_ROOT=$HOME/gpgpu_sim_research/$SIMSUBDIR/distribution/ +export NVOPENCL_LIBDIR=/usr/lib64/ + +export QTINC=/usr/include +export BOOST_ROOT=/usr/include/boost +export BOOST_LIB=/usr/lib64 +export BOOST_VER= + +export CUDA_INSTALL_PATH=$HOME/nvcuda/2.3/cuda/ +export CUDAHOME=$CUDA_INSTALL_PATH +export NVIDIA_COMPUTE_SDK_LOCATION=$HOME/nvcuda/sdk_2.3/ +export NVIDIA_CUDA_SDK_LOCATION=$NVIDIA_COMPUTE_SDK_LOCATION/ +export LD_LIBRARY_PATH=$GPGPUSIM_ROOT/lib:$LD_LIBRARY_PATH +export PATH=$GPGPUSIM_ROOT/decuda/:$GPGPUSIM_ROOT/bin:$CUDA_INSTALL_PATH/bin:$PATH +HF=`hostname -f` +export OPENCL_REMOTE_GPU_HOST=aamodt-pc08.ece.ubc.ca + +if [ $HF = $OPENCL_REMOTE_GPU_HOST ]; then + unset OPENCL_REMOTE_GPU_HOST +fi + +export DECUDA_INSTALL_PATH=$GPGPUSIM_ROOT/decuda/ +export D2PP_INSTALL_PATH=$GPGPUSIM_ROOT/decuda_to_ptxplus/ |
