Skip to content

xDiggy/Parallel-Final-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Antonio Martinez III Ilias Soumayah Josh Mozes Reza Malik

newgen.c

Generates a new c file with an array filled with random ints

gcc newgen.c -o newgen

./newgen 100

bubble sort testing

salloc -N 1 --partition=el8-rpi --gres=gpu:1 -t 30

module load xl_r spectrum-mpi cuda/11.2

clear

rm output.txt

nvcc -g -G bubble.cu -c -o bubblecu

mpicc bubble.c bubblecu -o bubbleout -L/usr/local/cuda-11.2/lib64/ -lcudadevrt -lcudart -lstdc++

mpiexec -np $1 bubbleout > outfile.txt

merge sort testing

salloc -N 1 --partition=el8-rpi --gres=gpu:1 -t 30

module load xl_r spectrum-mpi cuda/11.2

nvcc -g -G merge.cu -c -o mergecu

mpicc merge.c mergecu -o mergeout -L/usr/local/cuda-11.2/lib64/ -lcudadevrt -lcudart -lstdc++

mpiexec mergeout randlist.txt 100

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages