Skip to content

akarazeev/Parallel-5sem-MIPT-2016

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File generator.c generates Matrix (size*size):

  1. gcc generator.c -o generator.out
  2. ./generator.ou2t <size>
  3. And there is "matrix.bin" file with Matrix (size*size) inside it.

Then it is necessary to run main.c:

  1. gcc -pthread main.c -o main.out
  2. ./main.out <num_threads>
  3. Output contains:
    • # MAXIMUM
    • # indexes of MAXIMUM
    • # MINIMUM
    • # indexes of MINIMUM

About

C Program in OpenMP. Find max number of a given matrix

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published