Skip to content

The program multiples a 1000x1000 matrix of integers with a 1000x1 vector of integers to get a resulting 1000x1 vector of integers. It uses OpenMP parallel fors and OpenMP built-in reduction. It also prints the number of processors and threads available on the system (I used the COE systems) and the unique thread id for each thread. Then, it pri…

Notifications You must be signed in to change notification settings

lexispike/openMP_matrix_multiplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Alyxandra Spikerman
Written for a course at Northeastern University: High Performance Computing

Q4.cpp


The program multiples a 1000x1000 matrix of integers with a 1000x1 vector of integers to get a resulting 1000x1 vector of integers. It uses OpenMP parallel fors and OpenMP built-in reduction. It also prints the number of processors and threads available on the system (I used the COE systems) and the unique thread id for each thread. Then, it prints the resulting vector.


--HOW TO COMPILE--
g++ -fopenmp Q4.cpp -o Q4

OR

make Q4

--HOW TO RUN--

make run_Q4

OR

./Q4

About

The program multiples a 1000x1000 matrix of integers with a 1000x1 vector of integers to get a resulting 1000x1 vector of integers. It uses OpenMP parallel fors and OpenMP built-in reduction. It also prints the number of processors and threads available on the system (I used the COE systems) and the unique thread id for each thread. Then, it pri…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published