From 1fef03bfa377de694275d9b725a6ead60a7ce907 Mon Sep 17 00:00:00 2001 From: David Zarruk Valencia Date: Wed, 24 Jan 2018 22:37:39 -0500 Subject: [PATCH] Update --- Makefile | 2 -- Makefile~ | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 062c872..1764f47 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/Makefile~ b/Makefile~ index e364bf7..062c872 100644 --- a/Makefile~ +++ b/Makefile~ @@ -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') @@ -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