Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 2.36 KB

File metadata and controls

41 lines (29 loc) · 2.36 KB

Parallel-Computing-in-C-using-OpenMP

GitHub last commit GitHub code size in bytes


This Repository contains C implementation of various algorithms parallellized for computing using OpenMP. The Repo covers many concepts of OpenMP using C from using clauses and constructs in OpenMP to parallelize algorithms. The parallelized implementations in this repo range from operations on arrays, matrices, sorting algorithms to mathematical constants estimations.


Table of Contents


Instructions to Run

  • OpenMP

    • cd into code directory
    • Run gcc -fopenmp filename.c -o exec to create executable
    • Run execto execute
  • Open MPI

    • cd into code directory
    • Run mpicc filename.c -o exec to create executable
    • Run mpirun -np t ./execto execute (t -> number of threads)