あると便利

準備

サンプルコード

test.cpp

g++ -Xpreprocessor -fopenmp -lomp -o test test.cpp

コンパイル

./test

実行

OpenMP : Enabled (Max # of threads = 4)

という感じで出力されたら多分問題なし