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
- Host: GitHub
- URL: https://github.com/sameetasadullah/count-threads-openmp
- Owner: SameetAsadullah
- Created: 2022-08-13T13:15:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-13T13:19:59.000Z (over 3 years ago)
- Last Synced: 2025-01-21T17:51:08.004Z (11 months ago)
- Topics: cpp, linux, openmp, parallel-programming, threads, ubuntu
- Language: C++
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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