I wonder how to check the version of OpenMP on a Linux remote machine?
I don\'t know where it is installed either.
This is a bit safer version of an answer by user2023370 above. Ancient OpenMP versions are omitted for brevity:
#include
If a new version number or corrupted one is encountered, this statement will not throw exception as opposed to using at()
function member.
Version numbers are from https://github.com/jeffhammond/HPCInfo/blob/master/docs/Preprocessor-Macros.md.