Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzarruk committed Jan 25, 2018
1 parent d1bdb65 commit 1fef03b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ MPI:
rm main

CUDA:
export PATH=/usr/local/cuda/bin/:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
nvcc CUDA_main.cu -o main
./main
rm main
Expand Down
4 changes: 3 additions & 1 deletion Makefile~
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# Home directory
HOMET=~/Computation/Computation/Parallel_Computing
HOMET=/home/davidza/

# Ask the number of cores to be used in the parallelization:
CORES := $(shell bash -c 'read -p "Enter the number of cores for parallelization: " pwd; echo $$pwd')
Expand Down Expand Up @@ -36,6 +36,8 @@ MPI:
rm main

CUDA:
export PATH=/usr/local/cuda/bin/:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
nvcc CUDA_main.cu -o main
./main
rm main
Expand Down

0 comments on commit 1fef03b

Please sign in to comment.