Skip to content
Snippets Groups Projects
Commit c65d73a9 authored by cmaffeo2's avatar cmaffeo2
Browse files

fixed paths to nvcc etc: SKIP THIS COMMIT FOR SVN

parent ffdf082a
No related branches found
No related tags found
No related merge requests found
### Paths, libraries, includes, options
CUDA_PATH ?= /Developer/NVIDIA/CUDA-6.5
# CUDA_PATH ?= /Developer/NVIDIA/CUDA-6.5
CUDA_PATH ?= /software/cuda-toolkit-4.1-x86_64/cuda
#CUDA_PATH ?= /usr/local/encap/cuda-5.5
include ./findcudalib.mk
......
#!/bin/bash
# Usage: source nvcc.sh
module load cuda-toolkit
# /software/cuda-toolkit-4.1-x86_64/cuda/bin/nvcc
# Add CUDA 'bin' folder to PATH
export PATH="/Developer/NVIDIA/CUDA-5.5/bin:$PATH"
# export PATH="/Developer/NVIDIA/CUDA-5.5/bin:$PATH"
# Remove duplicate entries from PATH
PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')
# PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment