I wonder how to check the version of OpenMP on a Linux remote machine?
I don\'t know where it is installed either.
You need to check your gcc version using
gcc --version
and then see the (incomplete) table below (whose info is gathered from this Wiki article and from this webpage from the OpenMP official website):
| gcc version | OpenMP version | Languages | Offloading |
|-------------|----------------|-----------------|------------|
| 4.2.0 | 2.5 | C | |
| 4.4.0 | 3.0 | C | |
| 4.7.0 | 3.1 | C | |
| 4.9.0 | 4.0 | C, C++ | |
| 4.9.1 | 4.0 | C, C++, Fortran | |
| 5 | | | Yes |
| 6.1 | 4.5 | C, C++ | |
The blank entries are there because I didn't find the corresponding info.