Skip to content

willbackslash/parallel-and-concurrent-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parallel-and-concurrent-programming

Examples of parallel and concurrent programming in C

Before starting

Each C file in this repo is an example by itself, so you will need to compile and run them separatelly

How to compile and run a program

OpenMP programs openmp_{{example}}.c

MACOS

Compiling

clang -Xpreprocessor -fopenmp -I/usr/local/include -L/usr/local/lib -lomp openmp_{{example}}.c -o openmp_{{example}}.out

Running

./openmp_{{example}}.out

Others

gcc openmp_{{example}}.c -o openmp_{{example}}.out -fopenmp

Running

./openmp_{{example}}.out

About

Examples of parallel and concurrent programming in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages