An open API service indexing awesome lists of open source software.

https://github.com/sameetasadullah/count-threads-openmp

Program coded in C++ language to count and print total number of threads being used in an OpenMP code
https://github.com/sameetasadullah/count-threads-openmp

cpp linux openmp parallel-programming threads ubuntu

Last synced: 9 months ago
JSON representation

Program coded in C++ language to count and print total number of threads being used in an OpenMP code

Awesome Lists containing this project

README

          

Count Threads in an OpenMP Program

### Description
Program coded in `C++ language` to count and print total number of threads being used in an `OpenMP Code`.

### Manual
1) Use following command to `Compile the Code`:
```
mpic++ -fopenmp main.cpp -o main
```

2) Use following commands to `Execute the Code`:
```
./main
```

### Working Screenshot